AeroDataBox · Schema

AircraftContract

Single aircraft data

AviationFlightsAerospaceFlight DataAirport Data

Properties

Name Type Description
id integer Unique ID of the aircraft record in our database
reg string Tail-number of the aircraft
active boolean Indicator if aircraft is operational under this registration
serial string Serial number
hexIcao string ICAO 24 bit Mode-S hexadecimal transponder address
airlineName string Name of the airline operating the aircraft
iataType string IATA-type of the aircraft
iataCodeShort string Short variant of IATA-code of the aircraft
icaoCode string ICAO-code of the aircraft
model string Model of the aircraft
modelCode string Model code of the aircraft
numSeats integer Number of passenger seats
rolloutDate string Date of roll-out (UTC)
firstFlightDate string First flight date
deliveryDate string Date of delivery to the owner
registrationDate string Date of assigning current registration
typeName string Type name
numEngines integer Number of engines
engineType object
isFreighter boolean Marker if aircraft is cargo or not
productionLine string Production line
ageYears number Age of the aircraft in year
verified boolean
image object
numRegistrations integer An aircraft may have a history of past registrations with other airlines or operators. This field represents a total number of registration records known in our database.
registrations array A history of all registrations with other airlines or operators (if provided by the endpoint).
View JSON Schema on GitHub

JSON Schema

aerodatabox-aircraftcontract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AircraftContract",
  "title": "AircraftContract",
  "required": [
    "active",
    "id",
    "isFreighter",
    "numRegistrations",
    "reg",
    "verified"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique ID of the aircraft record in our database",
      "format": "int64"
    },
    "reg": {
      "minLength": 1,
      "type": "string",
      "description": "Tail-number of the aircraft"
    },
    "active": {
      "type": "boolean",
      "description": "Indicator if aircraft is operational under this registration"
    },
    "serial": {
      "type": "string",
      "description": "Serial number",
      "nullable": true
    },
    "hexIcao": {
      "type": "string",
      "description": "ICAO 24 bit Mode-S hexadecimal transponder address",
      "nullable": true
    },
    "airlineName": {
      "type": "string",
      "description": "Name of the airline operating the aircraft",
      "nullable": true
    },
    "iataType": {
      "type": "string",
      "description": "IATA-type of the aircraft",
      "nullable": true
    },
    "iataCodeShort": {
      "type": "string",
      "description": "Short variant of IATA-code of the aircraft",
      "nullable": true
    },
    "icaoCode": {
      "type": "string",
      "description": "ICAO-code of the aircraft",
      "nullable": true
    },
    "model": {
      "type": "string",
      "description": "Model of the aircraft",
      "nullable": true
    },
    "modelCode": {
      "type": "string",
      "description": "Model code of the aircraft",
      "nullable": true
    },
    "numSeats": {
      "type": "integer",
      "description": "Number of passenger seats",
      "format": "int32",
      "nullable": true
    },
    "rolloutDate": {
      "type": "string",
      "description": "Date of roll-out (UTC)",
      "format": "date-time",
      "nullable": true
    },
    "firstFlightDate": {
      "type": "string",
      "description": "First flight date",
      "format": "date-time",
      "nullable": true
    },
    "deliveryDate": {
      "type": "string",
      "description": "Date of delivery to the owner",
      "format": "date-time",
      "nullable": true
    },
    "registrationDate": {
      "type": "string",
      "description": "Date of assigning current registration",
      "format": "date-time",
      "nullable": true
    },
    "typeName": {
      "type": "string",
      "description": "Type name",
      "nullable": true
    },
    "numEngines": {
      "type": "integer",
      "description": "Number of engines",
      "format": "int32",
      "nullable": true
    },
    "engineType": {
      "$ref": "#/components/schemas/EngineType"
    },
    "isFreighter": {
      "type": "boolean",
      "description": "Marker if aircraft is cargo or not"
    },
    "productionLine": {
      "type": "string",
      "description": "Production line",
      "nullable": true
    },
    "ageYears": {
      "type": "number",
      "description": "Age of the aircraft in year",
      "format": "float",
      "nullable": true
    },
    "verified": {
      "type": "boolean"
    },
    "image": {
      "$ref": "#/components/schemas/ResourceContract"
    },
    "numRegistrations": {
      "type": "integer",
      "description": "An aircraft may have a history of past registrations with other airlines or operators.\r\nThis field represents a total number of registration records known in our database.",
      "format": "int32"
    },
    "registrations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AircraftRegistrationContract"
      },
      "description": "A history of all registrations with other airlines or operators (if provided by the endpoint).",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Single aircraft data"
}