Aviation Weather Center · JSON Structure

Aviationweather Airport Structure

Airport metadata as returned by GET /api/data/airport?format=json.

Type: object Properties: 15 Required: 1
AviationWeatherGovernmentNOAANWSMETARTAFPIREPSIGMETAIRMETOpen DataPublic APIs

AviationWeather Airport Info is a JSON Structure definition published by Aviation Weather Center, describing 15 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id icaoId iataId name state country source type lat lon elev magdec owner runways freqs

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/aviationweather/refs/heads/main/json-structure/aviationweather-airport-structure.json",
  "name": "AviationWeather Airport Info",
  "description": "Airport metadata as returned by GET /api/data/airport?format=json.",
  "type": "object",
  "required": [
    "icaoId"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Primary identifier (often same as ICAO)."
    },
    "icaoId": {
      "type": "string",
      "description": "ICAO identifier."
    },
    "iataId": {
      "type": [
        "string",
        "null"
      ],
      "description": "IATA identifier."
    },
    "name": {
      "type": "string"
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": "string"
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "Data source (e.g. FAA, ICAO)."
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Airport type/size classification."
    },
    "lat": {
      "type": "double"
    },
    "lon": {
      "type": "double"
    },
    "elev": {
      "type": "int32",
      "description": "Elevation (meters)."
    },
    "magdec": {
      "type": [
        "string",
        "null"
      ],
      "description": "Magnetic declination (e.g. \"3E\")."
    },
    "owner": {
      "type": [
        "string",
        "null"
      ],
      "description": "Ownership (PUBLIC, PRIVATE, MILITARY)."
    },
    "runways": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Runway identifier (e.g. 01L/19R)."
          },
          "dimension": {
            "type": "string",
            "description": "Length x width in feet."
          },
          "surface": {
            "type": "string",
            "description": "Surface code (CON, ASP, GVL, TURF, WATER, ...)."
          }
        }
      }
    },
    "freqs": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tower/ground/ATIS frequencies as space-delimited string."
    }
  }
}