AeroDataBox · Schema

ListingAirportContract

Flight's airport reference contract

AviationFlightsAerospaceFlight DataAirport Data

Properties

Name Type Description
icao string ICAO code of the airport
iata string IATA code of the airport
localCode string Code of the airport within the local or national codification system
name string Name of the airport
shortName string Shortened name of the airport
municipalityName string Name of the municipality this airport belongs to
location object
countryCode string Two-letter country code of the airport
timeZone string Time zone of the airport in Olson format (e.g. "Europe/Amsterdam")
View JSON Schema on GitHub

JSON Schema

aerodatabox-listingairportcontract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ListingAirportContract",
  "title": "ListingAirportContract",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "icao": {
      "type": "string",
      "description": "ICAO code of the airport",
      "nullable": true
    },
    "iata": {
      "type": "string",
      "description": "IATA code of the airport",
      "nullable": true
    },
    "localCode": {
      "type": "string",
      "description": "Code of the airport within the local or national codification system",
      "nullable": true
    },
    "name": {
      "minLength": 1,
      "type": "string",
      "description": "Name of the airport"
    },
    "shortName": {
      "type": "string",
      "description": "Shortened name of the airport",
      "nullable": true
    },
    "municipalityName": {
      "type": "string",
      "description": "Name of the municipality this airport belongs to",
      "nullable": true
    },
    "location": {
      "$ref": "#/components/schemas/GeoCoordinatesContract"
    },
    "countryCode": {
      "type": "string",
      "description": "Two-letter country code of the airport",
      "nullable": true
    },
    "timeZone": {
      "type": "string",
      "description": "Time zone of the airport in Olson format (e.g. \"Europe/Amsterdam\")",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Flight's airport reference contract"
}