LocationValue

LocationValue schema

BookingFlightsHotelsReservationsTravel

Properties

Name Type Description
cityCode string City code associated to the airport
countryCode string Country code of the airport
View JSON Schema on GitHub

JSON Schema

flight-create-orders-location-value-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-schema/flight-create-orders-location-value-schema.json",
  "title": "LocationValue",
  "description": "LocationValue schema",
  "properties": {
    "cityCode": {
      "type": "string",
      "description": "City code associated to the airport",
      "example": "PAR"
    },
    "countryCode": {
      "type": "string",
      "description": "Country code of the airport",
      "example": "FR"
    }
  },
  "type": "object"
}