Workflow

The following diagram is a simplified Workflow of the Structure process with the most important steps.

Structure Workflow
Figure 1. Structure Workflow
Step Description

1. Validate request

Check authentication/authorization and JSON format. If invalid, return an error immediately.

2. Determine country

The country code that fits best to the request will be determined.

3. Parse elements

The input is segmented into address elements: country, postalCode, locality, subLocality, street, houseNumber, recipient, organization, organizationAddition. Any tokens not matched are returned in unidentifiedElements.

4. Return result

Combine parsed fields into JSON and return to the client.