{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Address", "title": "Address", "externalDocs": { "url": "http://developer.xero.com/documentation/api/types" }, "properties": { "AddressType": { "description": "define the type of address", "type": "string", "enum": [ "POBOX", "STREET" ] }, "AddressLine1": { "description": "max length = 500", "maxLength": 500, "type": "string" }, "AddressLine2": { "description": "max length = 500", "maxLength": 500, "type": "string" }, "AddressLine3": { "description": "max length = 500", "maxLength": 500, "type": "string" }, "AddressLine4": { "description": "max length = 500", "maxLength": 500, "type": "string" }, "City": { "description": "max length = 255", "maxLength": 255, "type": "string" }, "Region": { "description": "max length = 255", "maxLength": 255, "type": "string" }, "PostalCode": { "description": "max length = 50", "maxLength": 50, "type": "string" }, "Country": { "description": "max length = 50, [A-Z], [a-z] only", "maxLength": 50, "type": "string" }, "AttentionTo": { "description": "max length = 255", "maxLength": 255, "type": "string" } }, "type": "object" }