Amadeus · Schema

Address

address information

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
category string Category of the contact element
lines array Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc
postalCode string Example: 74130
countryCode string country code [ISO 3166-1 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
cityName string Full city name. Example: Dublin
stateCode string State code - two character standard [ISO 3166-2 state code](https://en.wikipedia.org/wiki/ISO_3166-2)
stateName string Full state name
postalBox string E.g. BP 220
text string Field containing a full unformatted address. Only applicable when the fields lines, postalCode, countryCode, cityName are not filled.
View JSON Schema on GitHub

JSON Schema

seatmap-display-address-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/seatmap-display-address-schema.json",
  "title": "Address",
  "description": "address information",
  "type": "object",
  "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"
    }
  }
}