{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-structure/aerodatabox-aircraft-registration-contract-structure.json",
  "description": "Aircraft registration data",
  "type": "object",
  "properties": {
    "reg": {
      "minLength": 1,
      "type": "string",
      "description": "Tail-number of the aircraft"
    },
    "active": {
      "type": "boolean",
      "description": "Indicator if aircraft is operational under this registration"
    },
    "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
    },
    "registrationDate": {
      "type": "datetime",
      "description": "Date of assigning current registration",
      "nullable": true
    }
  },
  "required": [
    "active",
    "reg"
  ],
  "additionalProperties": false,
  "name": "AircraftRegistrationContract"
}