Airlabs · Schema
Airport
Global airport database record
AviationFlightsAirlinesAirportsFlight TrackingFlight StatusReal-time Data
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Airport name |
| iata_code | string | Airport IATA code |
| icao_code | string | Airport ICAO code |
| lat | number | Latitude in decimal degrees |
| lng | number | Longitude in decimal degrees |
| alt | integer | Elevation in meters |
| city | string | City name |
| city_code | string | City IATA code |
| un_locode | string | UN/LOCODE |
| timezone | string | Timezone (tz database name) |
| country_code | string | Country ISO 2 code |
| phone | string | Airport phone number |
| website | string | Airport website URL |
| popularity | integer | Popularity rank |
| is_major | boolean | Whether this is a major airport |
| slug | string | URL-friendly slug |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://airlabs.co/json-schema/airport",
"title": "Airport",
"description": "Global airport database record",
"type": "object",
"properties": {
"name": { "type": "string", "description": "Airport name" },
"iata_code": { "type": "string", "description": "Airport IATA code" },
"icao_code": { "type": "string", "description": "Airport ICAO code" },
"lat": { "type": "number", "description": "Latitude in decimal degrees" },
"lng": { "type": "number", "description": "Longitude in decimal degrees" },
"alt": { "type": "integer", "description": "Elevation in meters" },
"city": { "type": "string", "description": "City name" },
"city_code": { "type": "string", "description": "City IATA code" },
"un_locode": { "type": "string", "description": "UN/LOCODE" },
"timezone": { "type": "string", "description": "Timezone (tz database name)" },
"country_code": { "type": "string", "description": "Country ISO 2 code" },
"phone": { "type": "string", "description": "Airport phone number" },
"website": { "type": "string", "description": "Airport website URL" },
"popularity": { "type": "integer", "description": "Popularity rank" },
"is_major": { "type": "boolean", "description": "Whether this is a major airport" },
"slug": { "type": "string", "description": "URL-friendly slug" }
}
}