Properties
| Name | Type | Description |
|---|---|---|
| id | string | Address identifier |
| firstName | string | First name |
| lastName | string | Last name |
| titleCode | string | Title code |
| line1 | string | Address line 1 |
| line2 | string | Address line 2 |
| town | string | City or town |
| region | object | |
| district | string | District |
| postalCode | string | Postal or ZIP code |
| country | object | |
| phone | string | Phone number |
| string | Email address | |
| defaultAddress | boolean | Whether this is the default address |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Address",
"title": "Address",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Address identifier"
},
"firstName": {
"type": "string",
"description": "First name"
},
"lastName": {
"type": "string",
"description": "Last name"
},
"titleCode": {
"type": "string",
"description": "Title code"
},
"line1": {
"type": "string",
"description": "Address line 1"
},
"line2": {
"type": "string",
"description": "Address line 2"
},
"town": {
"type": "string",
"description": "City or town"
},
"region": {
"$ref": "#/components/schemas/Region"
},
"district": {
"type": "string",
"description": "District"
},
"postalCode": {
"type": "string",
"description": "Postal or ZIP code"
},
"country": {
"$ref": "#/components/schemas/Country"
},
"phone": {
"type": "string",
"description": "Phone number"
},
"email": {
"type": "string",
"description": "Email address"
},
"defaultAddress": {
"type": "boolean",
"description": "Whether this is the default address"
}
}
}