FlightLabs · Schema

AirlineData

Schema for airline reference data from the FlightLabs API

AviationFlightsAirlinesAirportsFlight TrackingTravelReal-Time Data

Properties

Name Type Description
airlineId string Internal airline identifier
nameAirline string Full name of the airline
codeIataAirline string Airline IATA code (2 letters)
iataPrefixAccounting string IATA numeric prefix for accounting
codeIcaoAirline string Airline ICAO code (3 letters)
callsign string Radio telephony callsign
type string Type of airline operation
statusAirline string Operational status of the airline
sizeAirline integer Fleet size (number of aircraft)
ageFleet number Average fleet age in years
founding integer Year the airline was founded
codeHub string Primary hub airport IATA code
nameCountry string Country name where airline is based
codeIso2Country string Country ISO 2-letter code
websiteAirline string Airline website URL
View JSON Schema on GitHub

JSON Schema

airline.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flightlabs/refs/heads/main/json-schema/airline.json",
  "title": "AirlineData",
  "description": "Schema for airline reference data from the FlightLabs API",
  "type": "object",
  "properties": {
    "airlineId": {
      "type": "string",
      "description": "Internal airline identifier",
      "example": "24"
    },
    "nameAirline": {
      "type": "string",
      "description": "Full name of the airline",
      "example": "American Airlines"
    },
    "codeIataAirline": {
      "type": "string",
      "description": "Airline IATA code (2 letters)",
      "pattern": "^[A-Z0-9]{2}$",
      "example": "AA"
    },
    "iataPrefixAccounting": {
      "type": "string",
      "description": "IATA numeric prefix for accounting",
      "example": "001"
    },
    "codeIcaoAirline": {
      "type": "string",
      "description": "Airline ICAO code (3 letters)",
      "pattern": "^[A-Z]{3}$",
      "example": "AAL"
    },
    "callsign": {
      "type": "string",
      "description": "Radio telephony callsign",
      "example": "AMERICAN"
    },
    "type": {
      "type": "string",
      "description": "Type of airline operation",
      "enum": ["scheduled", "charter", "cargo", "private"],
      "example": "scheduled"
    },
    "statusAirline": {
      "type": "string",
      "description": "Operational status of the airline",
      "enum": ["active", "inactive"],
      "example": "active"
    },
    "sizeAirline": {
      "type": "integer",
      "description": "Fleet size (number of aircraft)",
      "example": 956
    },
    "ageFleet": {
      "type": "number",
      "description": "Average fleet age in years",
      "example": 11.5
    },
    "founding": {
      "type": "integer",
      "description": "Year the airline was founded",
      "example": 1930
    },
    "codeHub": {
      "type": "string",
      "description": "Primary hub airport IATA code",
      "example": "DFW"
    },
    "nameCountry": {
      "type": "string",
      "description": "Country name where airline is based",
      "example": "United States"
    },
    "codeIso2Country": {
      "type": "string",
      "description": "Country ISO 2-letter code",
      "pattern": "^[A-Z]{2}$",
      "example": "US"
    },
    "websiteAirline": {
      "type": "string",
      "format": "uri",
      "description": "Airline website URL",
      "example": "https://www.aa.com"
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/airline"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.