AeroDataBox · JSON Structure

Aerodatabox Airport Contract Structure

Single airport data

Type: object Properties: 14 Required: 7
AviationFlightsAerospaceFlight DataAirport Data

AirportContract is a JSON Structure definition published by AeroDataBox, describing 14 properties, of which 7 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

icao iata localCode shortName fullName municipalityName location elevation country continent timeZone urls runways currentTime

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/aerodatabox/refs/heads/main/json-structure/aerodatabox-airport-contract-structure.json",
  "description": "Single airport data",
  "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 coding system",
      "nullable": true
    },
    "shortName": {
      "type": "string",
      "description": "Shortened name of the airport",
      "nullable": true
    },
    "fullName": {
      "minLength": 1,
      "type": "string",
      "description": "Full name of the airport (derived from own airport name and municipality name)"
    },
    "municipalityName": {
      "type": "string",
      "description": "Name of the municipality this airport belongs to",
      "nullable": true
    },
    "location": {
      "$ref": "#/components/schemas/GeoCoordinatesContract"
    },
    "elevation": {
      "$ref": "#/components/schemas/Distance"
    },
    "country": {
      "$ref": "#/components/schemas/CountryContract"
    },
    "continent": {
      "$ref": "#/components/schemas/ContinentContract"
    },
    "timeZone": {
      "minLength": 1,
      "type": "string",
      "description": "Time zone of the airport in Olson format (e.g. \"Europe/Amsterdam\")"
    },
    "urls": {
      "$ref": "#/components/schemas/AirportUrlsContract"
    },
    "runways": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RunwayContract"
      },
      "description": "List of runway information, if requested",
      "nullable": true
    },
    "currentTime": {
      "$ref": "#/components/schemas/AirportLocalTimeContract"
    }
  },
  "required": [
    "continent",
    "country",
    "elevation",
    "fullName",
    "location",
    "timeZone",
    "urls"
  ],
  "additionalProperties": false,
  "name": "AirportContract"
}