{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AddressAddParameters",
"title": "Account address parameters",
"required": [
"AccountId"
],
"type": "object",
"properties": {
"AccountId": {
"type": "string",
"description": "Unique identifier of a Company or a Customer within the enterprise.",
"format": "uuid"
},
"Line1": {
"maxLength": 255,
"type": "string",
"description": "First line of the address.",
"nullable": true
},
"Line2": {
"maxLength": 255,
"type": "string",
"description": "Second line of the address.",
"nullable": true
},
"City": {
"maxLength": 255,
"type": "string",
"description": "The city.",
"nullable": true
},
"PostalCode": {
"maxLength": 255,
"type": "string",
"description": "Postal code.",
"format": "postal-code",
"nullable": true
},
"CountryCode": {
"type": "string",
"description": "ISO 3166-1 alpha-2 code of the Country.",
"nullable": true
},
"CountrySubdivisionCode": {
"type": "string",
"description": "ISO 3166-2 code of the administrative division, e.g. `DE-BW`.",
"nullable": true
},
"Latitude": {
"maximum": 90,
"minimum": -90,
"type": "number",
"description": "The latitude in range of -90 to 90.",
"format": "double",
"nullable": true
},
"Longitude": {
"maximum": 180,
"minimum": -180,
"type": "number",
"description": "The longitude in range of -180 to 180.",
"format": "double",
"nullable": true
}
},
"additionalProperties": false,
"x-schema-id": "AddressAddParameters"
}