Amadeus Reservations · JSON Structure

Hotel Booking Address Structure

Address information

Type: object Properties: 5 Required: 3
BookingFlightsHotelsReservationsTravel

Address is a JSON Structure definition published by Amadeus Reservations, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

lines postalCode countryCode cityName stateCode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-structure/hotel-booking-address-structure.json",
  "name": "Address",
  "description": "Address information",
  "type": "object",
  "properties": {
    "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"
    },
    "countryCode": {
      "type": "string",
      "description": "ISO 3166-1 country code",
      "pattern": "[a-zA-Z]{2}"
    },
    "cityName": {
      "type": "string",
      "description": "Full city name. Example: Dublin",
      "pattern": "[a-zA-Z -]{1,35}"
    },
    "stateCode": {
      "type": "string",
      "description": "State code (two character standard IATA state code)",
      "pattern": "[a-zA-Z0-9]{1,2}"
    }
  },
  "required": [
    "postalCode",
    "countryCode",
    "cityName"
  ]
}