Amadeus · Schema
Contact
contact information
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/seatmap-display-contact-schema.json",
"title": "Contact",
"description": "contact information",
"allOf": [
{
"description": "represents a contact",
"type": "object",
"properties": {
"addresseeName": {
"title": "name",
"description": "name",
"allOf": [
{
"$ref": "#/definitions/BaseName"
},
{
"type": "object",
"properties": {
"secondLastName": {
"description": "second last name",
"type": "string"
}
}
}
]
},
"address": {
"type": "object",
"description": "address information",
"properties": {
"category": {
"description": "Category of the contact element",
"type": "string",
"enum": [
"BUSINESS",
"PERSONAL",
"OTHER"
],
"example": "BUSINESS"
},
"lines": {
"type": "array",
"description": "Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc",
"items": {
"type": "string"
}
},
"postalCode": {
"type": "string",
"description": "Example: 74130",
"example": "string-value"
},
"countryCode": {
"type": "string",
"description": "country code [ISO 3166-1 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)",
"pattern": "[a-zA-Z]{2}",
"example": "FR"
},
"cityName": {
"type": "string",
"description": "Full city name. Example: Dublin",
"pattern": "[a-zA-Z -]{1,35}",
"example": "Paris"
},
"stateCode": {
"type": "string",
"description": "State code - two character standard [ISO 3166-2 state code](https://en.wikipedia.org/wiki/ISO_3166-2)",
"pattern": "[a-zA-Z0-9]{1,2}",
"example": "string-value"
},
"stateName": {
"type": "string",
"description": "Full state name",
"example": "Sample Name"
},
"postalBox": {
"type": "string",
"description": "E.g. BP 220",
"example": "string-value"
},
"text": {
"type": "string",
"description": "Field containing a full unformatted address. Only applicable when the fields lines, postalCode, countryCode, cityName are not filled.",
"example": "string-value"
}
}
},
"purpose": {
"description": "the purpose for which this contact is to be used",
"type": "string",
"enum": [
"STANDARD",
"INVOICE",
"STANDARD_WITHOUT_TRANSMISSION"
]
}
}
},
{
"type": "object",
"properties": {
"phones": {
"description": "Phone numbers",
"type": "array",
"maxItems": 3,
"items": {
"type": "object",
"description": "phone information",
"properties": {
"category": {
"description": "Category of the contact element",
"type": "string",
"enum": [
"BUSINESS",
"PERSONAL",
"OTHER"
],
"example": "BUSINESS"
},
"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 -]",
"example": "Sample Name"
},
"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}",
"example": "FR"
},
"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
},
"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}",
"example": "string-value"
},
"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
},
"extension": {
"type": "string",
"description": "Extension of the phone",
"example": "string-value"
},
"text": {
"type": "string",
"description": "String containing the full phone number - applicable only when a structured phone (i.e. countryCallingCode + number) is not provided",
"example": "string-value"
}
}
}
},
"companyName": {
"description": "Name of the company",
"type": "string",
"example": "AMADEUS"
},
"emailAddress": {
"type": "string",
"description": "Email address (e.g. [email protected])",
"example": "[email protected]"
}
}
}
]
}