Properties
| Name | Type | Description |
|---|---|---|
| city | string | The name of the city. |
| country | string | The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. |
| line1 | string | The street address. |
| line2 | string | Second address line. |
| line3 | string | Third address line. |
| postalCode | string | The postal code. |
| stateOrProvince | string | The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada. Required for the following countries: - Australia - Brazil - Ca |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StoreLocation",
"title": "StoreLocation",
"properties": {
"city": {
"description": "The name of the city.",
"type": "string"
},
"country": {
"description": "The two-letter country code in [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.",
"type": "string"
},
"line1": {
"description": "The street address.",
"type": "string"
},
"line2": {
"description": "Second address line.",
"type": "string"
},
"line3": {
"description": "Third address line.",
"type": "string"
},
"postalCode": {
"description": "The postal code.",
"type": "string"
},
"stateOrProvince": {
"description": "The state or province code as defined in [ISO 3166-2](https://www.iso.org/standard/72483.html). For example, **ON** for Ontario, Canada.\n\nRequired for the following countries:\n - Australia\n- Brazil\n- Canada\n- India\n- Mexico\n- New Zealand\n- United States",
"type": "string"
}
},
"required": [
"country"
],
"type": "object"
}