{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/airport-city-search-address-schema.json",
  "title": "Address",
  "description": "Address schema from Airport & City Search",
  "properties": {
    "cityName": {
      "description": "name of the city of the location; equal to name if the location is a city",
      "type": "string",
      "example": "Paris"
    },
    "cityCode": {
      "description": "IATA code of the city of the location; equal to IATAcode if the location is a city",
      "type": "string",
      "example": "PAR"
    },
    "countryName": {
      "description": "name of the country of the location",
      "type": "string",
      "example": "France"
    },
    "countryCode": {
      "description": "code of the country of the location in ISO standard",
      "type": "string",
      "example": "FR"
    },
    "stateCode": {
      "description": "code of the state of the location if any",
      "type": "string",
      "example": "TO"
    },
    "regionCode": {
      "description": "code of the region of the location in ISO standard",
      "type": "string",
      "example": "EUROP"
    }
  },
  "type": "object"
}