{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-create-orders-phone-schema.json", "title": "Phone", "description": "phone information", "type": "object", "properties": { "deviceType": { "type": "string", "description": "Type of the device (Landline, Mobile or Fax)", "enum": [ "MOBILE", "LANDLINE", "FAX" ] }, "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}", "example": 1 }, "number": { "type": "string", "description": "Phone number. Composed of digits only. The number of digits depends on the country.", "pattern": "[0-9]{1,15}", "example": 1 } } }