The collection of /layouts endpoints provides functionality to list your available layouts as well as to create a custom layout that suits your solution.
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Timeout-Seconds (Optional) |
integer | Maximum time you are prepared to wait for a response, expressed in seconds. Acceptable values: 2-15. If a timeout occurs, an HTTP status code of 408 - Request Timeout will be returned. The default value of this setting is 15. |
In the request body you can specify the country and dataset you want layout availability information on.
Name | Type | Description |
---|---|---|
country_iso | string | This is the Country ISO3 code. |
datasets | string | The dataset that the response layouts are available for. |
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Name | Type | Description | |
---|---|---|---|
id | string | The layout ID. | name | string | The layout name. This should be between 1-100 characters in length. | comment | string | The layout comment giving a short description of what the layout is. |
applies_to | collection | A collection of settings that define which datasets the layout applies to. |
|
country_iso | string | The Country ISO3 code. | |
datasets | collection | A collection of dataset names you want the layout to be available for. | |
language | string | The language that the address should be returned in. | |
script | string | The script that the address should be returned in. | |
options | object | An object containing various settings for the layout. See Options object for detailed information on all available settings. | |
lines | collection | A collection defining the number of lines in your layout as well as any elements you want to fix on specific lines. | |
line_name | string | Indicates the name of the address line. | |
max_width | integer | The maximum number of characters that fit on the line. | |
elements | collection | A collection of element names that will be fixed on the address line. Find details on the available address elements. |
Name | Type | Description |
---|---|---|
variations | integer | Defines which form of address to use when automatically fitting address element into the returned address. This is for datasets which include more than one Form of address, such as the Netherlands, Belgium and Finland datasets. |
flatten_diacritics | boolean | When set to true , it will replace all diacritic characters, such as accents and umlauts, with their non-diacritic equivalents. For example, the Danish address "Degnsgårdvej 1, 7840 Højslev" would be returned as "Degnsgardvej 1, 7840 Hojslev". |
enable_enhanced_layout | boolean | When set to true , it will prepend unmatched leading information to address lines. |
display_enhanced_info_on_picklist | boolean | When set to true , it will define whether any leading unmatched text before the actual address elements are retained in the picklist. This setting will only take effect if the enable_enhanced_layout setting is set to true . |
enable_intelligent_layout | boolean | When set to true , the intelligent layout will be enabled for the created layout. If the intelligent layout is enabled, the PAF or G-NAF address which most closely matches the entered address will be returned, regardless of the default layout. |
capitalise_unused | boolean | When set to true , this will change the case of unmatched leading information. |
separate_elements / element_separator |
boolean / object | When separate_elements set to true , the address elements on a single line are separated, usually by commas. The element_separator setting defines which address elements should be separated by additional characters. This setting will only take effect if the separate_elements setting is set to true.Element separators take precedence right over left. The caret character (^) denotes the position of the address element. The below configuration uses a comma followed by a space as the default separator between address elements. However, there will be no comma before the subbuilding name, no comma after the town name and no commas either before or after the postal code.
|
retention_element_separator | object | This defines which retention address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
prepend_element_separator | object | This defines which prepend address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
separate_element_separator | object | This defines which separate address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
terminate_lines / line_terminator |
boolean / object | When terminate_lines set to true , the address lines are ended with an additional character. The additional characters to use are defined by line_terminator . For example, using a comma as the default line terminator and setting terminate_lines to true .
6 Cedar Grove, Bisley, WOKING, Surrey, GU24 9EF When terminate_lines set to false , the comma at the end of the lines would not appear. |
conditional_format | string | This setting has a different function depending on the dataset being used.
For the GBR with additional Business dataset this setting allows the user to specify whether to display the PAF or Experian organisation data, or a combination of both. There are four possible values for this settings:
|
pad_lines / padding_character |
boolean / string | If pad_lines set to true , it populates the line to the maximum width with the single character defined in the padding_character setting. The default padding character is a space. |
multiple_dataplus_delimiter | string | This defines the delimiter used to separate returned multiple DataPlus values. The default padding character is a pipe. |
abbreviate_item | collection | This defines which address elements should be abbreviated in the formatted address. The value is a list of element names, which differ from dataset to dataset. |
capitalise_item | collection | This defines which address elements should appear in upper case in the formatted address. The value is a list of element names. |
element_extras | object | This adds specified characters around an address element. The caret character (^) denotes the position of the address element. The below configuration adds dashes before and after the country name.
|
exclude_item | collection | This will exclude an address element from appearing in a formatted address, but only if that element wasn't fixed via the lines[x].elements collection.For example, adding organisation to the exclude_item collection is going to exclude the organisation name from a formatted address.However, the organisation name will still be returned, if it's fixed to a line like in the partial example below. If an organisation exists, it will always appear on the first line, called "BusinessName" with other non-fixed address information on "AutoLine1".
|
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Timeout-Seconds (Optional) |
integer | Maximum time you are prepared to wait for a response, expressed in seconds. Acceptable values: 2-15. If a timeout occurs, an HTTP status code of 408 - Request Timeout will be returned. The default value of this setting is 15. |
Name | Type | Description |
---|---|---|
country_iso (Optional) |
string | Filters the response by country ISO code. For example, "GBR". |
datasets (Optional) |
collection | Filters the response by datasets. For example, "gb-additional-multipleresidence". |
name_contains (Optional) |
string | Filters the response to layouts whose name contains the supplied value. For example, "web" would return all layouts whose name contains "web". |
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Timeout-Seconds (Optional) |
integer | Maximum time you are prepared to wait for a response, expressed in seconds. Acceptable values: 2-15. If a timeout occurs, an HTTP status code of 408 - Request Timeout will be returned. The default value of this setting is 15. |
Name | Type | Description | name | string | The name of the layout to retrieve. |
---|
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Name | Type | Description | name | string | The name of the layout to be deleted. |
---|
Name | Type | Description |
---|---|---|
Auth-Token | string | Input your unique token here. This is required to submit an API request. |
x-app-key (Optional) |
string | Alternative authentication header. Auth-Token takes precedence. |
Reference-Id (Optional) |
string | Identifier that will be returned to the response to help you track the request. |
Name | Type | Description | name | string | The name of the layout to be updated. |
---|
Name | Type | Description | |
---|---|---|---|
id | string | The layout ID. | name | string | The layout name. This should be between 1-100 characters in length. | comment | string | The layout comment giving a short description of what the layout is. |
applies_to | collection | A collection of settings that define which datasets the layout applies to. |
|
country_iso | string | The Country ISO3 code. | |
datasets | collection | A collection of dataset names you want the layout to be available for. | |
language | string | The language that the address should be returned in. | |
script | string | The script that the address should be returned in. | |
options | object | An object containing various settings for the layout. See Options object for detailed information on all available settings. | |
lines | collection | A collection defining the number of lines in your layout as well as any elements you want to fix on specific lines. | |
line_name | string | Indicates the name of the address line. | |
max_width | integer | The maximum number of characters that fit on the line. | |
elements | collection | A collection of element names that will be fixed on the address line. Find details on the available address elements. |
Name | Type | Description |
---|---|---|
variations | integer | Defines which form of address to use when automatically fitting address element into the returned address. This is for datasets which include more than one Form of address, such as the Netherlands, Belgium and Finland datasets. |
flatten_diacritics | boolean | When set to true , it will replace all diacritic characters, such as accents and umlauts, with their non-diacritic equivalents. For example, the Danish address "Degnsgårdvej 1, 7840 Højslev" would be returned as "Degnsgardvej 1, 7840 Hojslev". |
enable_enhanced_layout | boolean | When set to true , it will prepend unmatched leading information to address lines. |
display_enhanced_info_on_picklist | boolean | When set to true , it will define whether any leading unmatched text before the actual address elements are retained in the picklist. This setting will only take effect if the enable_enhanced_layout setting is set to true . |
enable_intelligent_layout | boolean | When set to true , the intelligent layout will be enabled for the created layout. If the intelligent layout is enabled, the PAF or G-NAF address which most closely matches the entered address will be returned, regardless of the default layout. |
capitalise_unused | boolean | When set to true , this will change the case of unmatched leading information. |
separate_elements / element_separator |
boolean / object | When separate_elements set to true , the address elements on a single line are separated, usually by commas. The element_separator setting defines which address elements should be separated by additional characters. This setting will only take effect if the separate_elements setting is set to true.Element separators take precedence right over left. The caret character (^) denotes the position of the address element. The below configuration uses a comma followed by a space as the default separator between address elements. However, there will be no comma before the subbuilding name, no comma after the town name and no commas either before or after the postal code.
|
retention_element_separator | object | This defines which retention address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
prepend_element_separator | object | This defines which prepend address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
separate_element_separator | object | This defines which separate address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
terminate_lines / line_terminator |
boolean / object | When terminate_lines set to true , the address lines are ended with an additional character. The additional characters to use are defined by line_terminator . For example, using a comma as the default line terminator and setting terminate_lines to true .
6 Cedar Grove, Bisley, WOKING, Surrey, GU24 9EF When terminate_lines set to false , the comma at the end of the lines would not appear. |
conditional_format | string | This setting has a different function depending on the dataset being used.
For the GBR with additional Business dataset this setting allows the user to specify whether to display the PAF or Experian organisation data, or a combination of both. There are four possible values for this settings:
|
pad_lines / padding_character |
boolean / string | If pad_lines set to true , it populates the line to the maximum width with the single character defined in the padding_character setting. The default padding character is a space. |
multiple_dataplus_delimiter | string | This defines the delimiter used to separate returned multiple DataPlus values. The default padding character is a pipe. |
abbreviate_item | collection | This defines which address elements should be abbreviated in the formatted address. The value is a list of element names, which differ from dataset to dataset. |
capitalise_item | collection | This defines which address elements should appear in upper case in the formatted address. The value is a list of element names. |
element_extras | object | This adds specified characters around an address element. The caret character (^) denotes the position of the address element. The below configuration adds dashes before and after the country name.
|
exclude_item | collection | This will exclude an address element from appearing in a formatted address, but only if that element wasn't fixed via the lines[x].elements collection.For example, adding organisation to the exclude_item collection is going to exclude the organisation name from a formatted address.However, the organisation name will still be returned, if it's fixed to a line like in the partial example below. If an organisation exists, it will always appear on the first line, called "BusinessName" with other non-fixed address information on "AutoLine1".
|
Name | Type | Description |
---|---|---|
Reference-Id (Optional) |
string | Identifier that was supplied by you in the request header to help you track the request. |
The response from the API returns the below fields within a result
object. Should an error occur, an error
object is returned instead.
Name | Type | Description |
---|---|---|
name | string | The name of the address layout. |
country_iso_3 | string | This is the Country ISO3 code. |
datasets | string | The dataset that the response layouts are available for. |
Name | Type | Description | |
---|---|---|---|
id | string | The layout ID. | name | string | The layout name. This should be between 1-100 characters in length. |
applies_to | collection | A collection of settings that define which datasets the layout applies to. |
|
country_iso | string | The Country ISO3 code. | |
datasets | collection | A collection of dataset names you want the layout to be available for. | |
language | string | The language that the address should be returned in. | |
script | string | The script that the address should be returned in. | |
status | string | The current status of the layout creation. Available values:
|
The result
object contains a layout
object whose properties are listed below:
Name | Type | Description | |
---|---|---|---|
id | string | The layout ID. | |
name | string | The layout name. This should be between 1-100 characters in length. | |
comment | string | The layout comment giving a short description of what the layout is. | |
applies_to | collection | A collection of settings that define which datasets the layout applies to. |
|
country_iso | string | The Country ISO3 code. | |
datasets | collection | A collection of dataset names you want the layout to be available for. | |
language | string | The language that the address should be returned in. | |
script | string | The script that the address should be returned in. | |
options | object | An object containing various settings for the layout. See Options object for detailed information on all available settings. | |
lines | collection | A collection defining the number of lines in your layout as well as any elements you want to fix on specific lines. | |
line_name | string | Indicates the name of the address line. | |
max_width | integer | The maximum number of characters that fit on the line. | |
elements | collection | A collection of element names that will be fixed on the address line. Find details on the available address elements. | |
status | string | The current status of the layout creation. Available values:
|
Name | Type | Description |
---|---|---|
variations | integer | Defines which form of address to use when automatically fitting address element into the returned address. This is for datasets which include more than one Form of address, such as the Netherlands, Belgium and Finland datasets. |
flatten_diacritics | boolean | When set to true , it will replace all diacritic characters, such as accents and umlauts, with their non-diacritic equivalents. For example, the Danish address "Degnsgårdvej 1, 7840 Højslev" would be returned as "Degnsgardvej 1, 7840 Hojslev". |
enable_enhanced_layout | boolean | When set to true , it will prepend unmatched leading information to address lines. |
display_enhanced_info_on_picklist | boolean | When set to true , it will define whether any leading unmatched text before the actual address elements are retained in the picklist. This setting will only take effect if the enable_enhanced_layout setting is set to true . |
enable_intelligent_layout | boolean | When set to true , the intelligent layout will be enabled for the created layout. If the intelligent layout is enabled, the PAF or G-NAF address which most closely matches the entered address will be returned, regardless of the default layout. |
capitalise_unused | boolean | When set to true , this will change the case of unmatched leading information. |
separate_elements / element_separator |
boolean / object | When separate_elements set to true , the address elements on a single line are separated, usually by commas. The element_separator setting defines which address elements should be separated by additional characters. This setting will only take effect if the separate_elements setting is set to true.Element separators take precedence right over left. The caret character (^) denotes the position of the address element. The below configuration uses a comma followed by a space as the default separator between address elements. However, there will be no comma before the subbuilding name, no comma after the town name and no commas either before or after the postal code.
|
retention_element_separator | object | This defines which retention address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
prepend_element_separator | object | This defines which prepend address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
separate_element_separator | object | This defines which separate address elements should be separated by additional characters in the formatted address. This setting will only take effect if the separate_elements and use_extended_retention settings are set to true . |
terminate_lines / line_terminator |
boolean / object | When terminate_lines set to true , the address lines are ended with an additional character. The additional characters to use are defined by line_terminator . For example, using a comma as the default line terminator and setting terminate_lines to true .
6 Cedar Grove, Bisley, WOKING, Surrey, GU24 9EF When terminate_lines set to false , the comma at the end of the lines would not appear. |
conditional_format | string | This setting has a different function depending on the dataset being used.
For the GBR with additional Business dataset this setting allows the user to specify whether to display the PAF or Experian organisation data, or a combination of both. There are four possible values for this settings:
|
pad_lines / padding_character |
boolean / string | If pad_lines set to true , it populates the line to the maximum width with the single character defined in the padding_character setting. The default padding character is a space. |
multiple_dataplus_delimiter | string | This defines the delimiter used to separate returned multiple DataPlus values. The default padding character is a pipe. |
abbreviate_item | collection | This defines which address elements should be abbreviated in the formatted address. The value is a list of element names, which differ from dataset to dataset. |
capitalise_item | collection | This defines which address elements should appear in upper case in the formatted address. The value is a list of element names. |
element_extras | object | This adds specified characters around an address element. The caret character (^) denotes the position of the address element. The below configuration adds dashes before and after the country name.
|
exclude_item | collection | This will exclude an address element from appearing in a formatted address, but only if that element wasn't fixed via the lines[x].elements collection.For example, adding organisation to the exclude_item collection is going to exclude the organisation name from a formatted address.However, the organisation name will still be returned, if it's fixed to a line like in the partial example below. If an organisation exists, it will always appear on the first line, called "BusinessName" with other non-fixed address information on "AutoLine1".
|
The following response codes can be returned by the API:
Status Code | Reason phrase | Description |
---|---|---|
200 | Success | Request processed successfully. |
204 | No Content | Request processed successfully, but there is no content to be returned. |
400 | Bad Request | Request failed due to malformed syntax. |
401 | Unauthorized | Auth-Token provided is incorrect. Sign in to the Self Service Portal to find the right token. |
403 | Forbidden | Request is not authorized to use this service. |
404 | Not Found | Request is not found. |
406 | Not Acceptable | Request is not in an acceptable format. |
408 | Request Timeout | Your request has timed out (the web server failed to respond in the specified time frame). Try submitting another request. If the issue persists, contact us. |
415 | Unsupported Media Type | You've specified an invalid Content-Type header. Try submitting another call and make sure you specify a valid Content-Type value. |
429 | Too many requests | Too many requests were sent. To protect all customers, your account has been temporarily throttled. Check our rate limiting for more details. |
500 | Internal Server Error | An unexpected server error was encountered. Try submitting another request. If the issue persists, contact us. |
503 | Service Unavailable | Service unavailable. Check service status for up-to-date information. |
{
"country_iso": "AUS",
"datasets": [
"au-address-gnaf"
]
}
{
"result": [
{
"name": "Default",
"country_iso_3": "AUS",
"datasets": [
"au-address-gnaf"
]
},
{
"name": "address short",
"country_iso_3": "AUS",
"datasets": [
"au-address-gnaf"
]
},
{
"name": "address long",
"country_iso_3": "AUS",
"datasets": [
"au-address-gnaf"
]
}
]
}
{
"country_iso": "GBR",
"datasets": [
"gb-additional-multipleresidence"
]
}
{
"result": [
{
"name": "Default",
"country_iso_3": "GBR",
"datasets": [
"gb-additional-multipleresidence"
]
},
{
"name": "crm form 1",
"country_iso_3": "GBR",
"datasets": [
"gb-additional-multipleresidence"
]
},
{
"name": "crm form 2",
"country_iso_3": "GBR",
"datasets": [
"gb-additional-multipleresidence"
]
}
]
}
{
"layout": {
"name": "United Kingdom with DataPlus",
"comment": "United Kingdom with DataPlus",
"applies_to": [
{
"country_iso": "GBR",
"datasets": [
"gb-address"
]
}
],
"options": {
"variation": 1,
"flatten_diacritics": false,
"enable_enhanced_layout": false,
"display_enhanced_info_on_picklist": false,
"enable_intelligent_layout": false,
"capitalise_unused": false,
"separate_elements": true,
"element_separator": {
"default": ", ",
"configuration_by_element": {
"buildingNumber": ", ^ ",
"subBuildingNumber": ", ^ ",
"postcode": " ^ ",
"deliveryPointSuffix": " ^ ",
"country": " ^ ",
"pafAddressKey": "^",
"pafOrganisationKey": "^"
}
},
"terminate_lines": false,
"line_terminator": {
"default": ", ",
"configuration_by_element": {
"postcode": "^",
"deliveryPointSuffix": "^",
"country": ".^."
}
},
"pad_lines": false,
"multiple_dataplus_delimiter": "|",
"abbreviate_item": [
"thoroughfareName",
"county"
],
"capitalise_item": [
"postcode",
"country"
]
},
"lines": [
{
"line_name": "Line 1",
"max_width": 255
},
{
"line_name": "Line 2",
"max_width": 255
},
{
"line_name": "Line 3",
"max_width": 255
},
{
"line_name": "Locality",
"max_width": 255,
"elements": [
{
"element_name": "town"
}
]
},
{
"line_name": "Region",
"max_width": 255
},
{
"line_name": "Postal Code",
"max_width": 255,
"elements": [
{
"element_name": "postcode"
}
]
},
{
"line_name": "Country",
"max_width": 255,
"elements": [
{
"element_name": "country"
}
]
},
{
"line_name": "MOSAIC Household Type Code",
"max_width": 255,
"elements": [
{
"element_name": "mosaicHouseholdTypeCode"
}
]
},
{
"line_name": "UDPRN",
"max_width": 255,
"elements": [
{
"element_name": "udprnKey"
}
]
}
]
}
}
{
"result": {
"id": "f98ecf74-de87-4ee8-b732-87d474c9d2b0"
}
}
{
"layout": {
"name": "United Kingdom without DataPlus",
"comment": "United Kingdom without DataPlus",
"applies_to": [
{
"country_iso": "GBR",
"datasets": [
"gb-address"
]
}
],
"options": {
"variation": 1,
"flatten_diacritics": false,
"enable_enhanced_layout": false,
"display_enhanced_info_on_picklist": false,
"enable_intelligent_layout": false,
"capitalise_unused": false,
"separate_elements": true,
"element_separator": {
"default": ", ",
"configuration_by_element": {
"buildingNumber": ", ^ ",
"subBuildingNumber": ", ^ ",
"postcode": " ^ ",
"deliveryPointSuffix": " ^ ",
"country": " ^ ",
"pafAddressKey": "^",
"pafOrganisationKey": "^"
}
},
"terminate_lines": false,
"line_terminator": {
"default": ", ",
"configuration_by_element": {
"postcode": "^",
"deliveryPointSuffix": "^",
"country": ".^."
}
},
"pad_lines": false,
"multiple_dataplus_delimiter": "|",
"abbreviate_item": [
"thoroughfareName",
"county"
],
"capitalise_item": [
"postcode",
"country"
]
},
"lines": [
{
"line_name": "Line 1",
"max_width": 255
},
{
"line_name": "Line 2",
"max_width": 255
},
{
"line_name": "Line 3",
"max_width": 255
},
{
"line_name": "Locality",
"max_width": 255,
"elements": [
{
"element_name": "town"
}
]
},
{
"line_name": "Region",
"max_width": 255
},
{
"line_name": "Postal Code",
"max_width": 255,
"elements": [
{
"element_name": "postcode"
}
]
},
{
"line_name": "Country",
"max_width": 255,
"elements": [
{
"element_name": "country"
}
]
}
]
}
}
{
"result": {
"id": "f98ecf74-de87-4ee8-b732-87d474c9d2b0"
}
}
{
"layout": {
"id": "11111111-1111-1111-1111-111111111111",
"name": "United Kingdom with DataPlus",
"comment": "Updated United Kingdom with DataPlus",
"applies_to": [
{
"country_iso": "GBR",
"datasets": [
"gb-address"
]
}
],
"options": {
"variation": 1,
"flatten_diacritics": false,
"enable_enhanced_layout": false,
"display_enhanced_info_on_picklist": false,
"enable_intelligent_layout": false,
"capitalise_unused": false,
"separate_elements": true,
"element_separator": {
"default": ", ",
"configuration_by_element": {
"buildingNumber": ", ^ ",
"subBuildingNumber": ", ^ ",
"postcode": " ^ ",
"deliveryPointSuffix": " ^ ",
"country": " ^ ",
"pafAddressKey": "^",
"pafOrganisationKey": "^"
}
},
"terminate_lines": false,
"line_terminator": {
"default": ", ",
"configuration_by_element": {
"postcode": "^",
"deliveryPointSuffix": "^",
"country": ".^."
}
},
"pad_lines": false,
"multiple_dataplus_delimiter": "|",
"abbreviate_item": [
"thoroughfareName",
"county"
],
"capitalise_item": [
"postcode",
"country"
]
},
"lines": [
{
"line_name": "Line 1",
"max_width": 255
},
{
"line_name": "Line 2",
"max_width": 255
},
{
"line_name": "Line 3",
"max_width": 255
},
{
"line_name": "Locality",
"max_width": 255,
"elements": [
{
"element_name": "town"
}
]
},
{
"line_name": "Region",
"max_width": 255
},
{
"line_name": "Postal Code",
"max_width": 255,
"elements": [
{
"element_name": "postcode"
}
]
},
{
"line_name": "Country",
"max_width": 255,
"elements": [
{
"element_name": "country"
}
]
}
]
}
}
{
"country_iso": "USA",
"datasets": [
"us-address"
]
}
{
"result": [
{
"name": "Default",
"country_iso_3": "USA",
"datasets": [
"us-address"
]
},
{
"name": "website",
"country_iso_3": "USA",
"datasets": [
"us-address"
]
},
{
"name": "website - all elements",
"country_iso_3": "USA",
"datasets": [
"us-address"
]
}
]
}