Amadeus · Schema

Phone

phone information

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
deviceType string Type of the device (Landline, Mobile or Fax)
countryCallingCode string Country calling code of the phone number, as defined by the International Communication Union. Examples - "1" for US, "371" for Latvia.
number string Phone number. Composed of digits only. The number of digits depends on the country.
View JSON Schema on GitHub

JSON Schema

flight-order-management-phone-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-order-management-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
    }
  }
}