{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An aircraft identified by its ICAO 24-bit address.",
      "key": "tid",
      "record": {
        "properties": {
          "category": {
            "description": "ADS-B emitter category (e.g. 'A3' for large aircraft).",
            "maxLength": 4,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "icaoHex": {
            "description": "ICAO 24-bit aircraft address in hexadecimal (e.g. 'A1B2C3').",
            "maxLength": 6,
            "minLength": 6,
            "type": "string"
          },
          "icaoTypeDesignator": {
            "description": "ICAO aircraft type designator (e.g. 'B738', 'A320').",
            "maxLength": 4,
            "type": "string"
          },
          "operator": {
            "description": "Aircraft operator name (e.g. 'United Airlines').",
            "maxGraphemes": 128,
            "maxLength": 1280,
            "type": "string"
          },
          "operatorIcao": {
            "description": "ICAO airline/operator code (e.g. 'UAL').",
            "maxLength": 3,
            "type": "string"
          },
          "registration": {
            "description": "Aircraft registration or tail number (e.g. 'N12345').",
            "maxLength": 20,
            "type": "string"
          },
          "typeName": {
            "description": "Human-readable aircraft type (e.g. 'Boeing 737-800').",
            "maxGraphemes": 128,
            "maxLength": 1280,
            "type": "string"
          }
        },
        "required": [
          "icaoHex",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An aircraft identified by its ICAO 24-bit address. Stores static identity and registration information. Created on first sighting by a receiver.",
  "id": "at.adsb.aircraft.identity",
  "lexicon": 1
}
