{ "$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" }