{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-structure/seat-map-display-phone-structure.json", "name": "Phone", "description": "phone information", "type": "object", "properties": { "category": { "description": "Category of the contact element", "type": "string", "enum": [ "BUSINESS", "PERSONAL", "OTHER" ] }, "addresseeName": { "type": "string", "description": "Adressee name (e.g. in case of emergency purpose it corresponds to name of the person to be contacted).", "pattern": "[a-zA-Z -]" }, "deviceType": { "$ref": "#/definitions/PhoneDeviceType" }, "countryCode": { "type": "string", "description": "Country code of the country (ISO3166-1). E.g. \"US\" for the United States", "pattern": "[A-Z]{2}" }, "countryCallingCode": { "type": "string", "description": "Country calling code of the phone number, as defined by the International Communication Union. Examples - \"1\" for US, \"371\" for Latvia.", "pattern": "[0-9+]{2,5}" }, "areaCode": { "type": "string", "description": "Corresponds to a regional code or a city code. The length of the field varies depending on the area.", "pattern": "[0-9]{1,4}" }, "number": { "type": "string", "description": "Phone number. Composed of digits only. The number of digits depends on the country.", "pattern": "[0-9]{1,15}" }, "extension": { "type": "string", "description": "Extension of the phone" }, "text": { "type": "string", "description": "String containing the full phone number - applicable only when a structured phone (i.e. countryCallingCode + number) is not provided" } } }