# at.adsb.flight.record

> Published by [adsb.at](https://lexicon.garden/identity/did:plc:32thk4eifx4ou6mxevswgjhg)

✓ This is the authoritative definition for this NSID.

## Description

A receiver-authored record of an aircraft's transit through the receiver's coverage area. Created on departure. References all contributing batch sightings and the aircraft identity via strongRef for provenance verification.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:32thk4eifx4ou6mxevswgjhg/at.adsb.flight.record)
- [Documentation](https://lexicon.garden/lexicon/did:plc:32thk4eifx4ou6mxevswgjhg/at.adsb.flight.record/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:32thk4eifx4ou6mxevswgjhg/at.adsb.flight.record/examples)

## Definitions

### `at.adsb.flight.record`

**Type**: `record`

A receiver's record of one aircraft's complete observed flight.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `squawk` | `string` | No | Transponder squawk code (e.g. '2636'). |
| `batches` | `array` | Yes | Strong references to all at.adsb.receiver.sighting batch records where this aircraft appeared. |
| `aircraft` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the at.adsb.aircraft.identity record for this aircraft. |
| `callsign` | `string` | No | Flight callsign as broadcast (e.g. 'UAL123'). |
| `lastSeen` | `string` (datetime) | Yes | When this receiver last detected the aircraft. |
| `createdAt` | `string` (datetime) | Yes |  |
| `firstSeen` | `string` (datetime) | Yes | When this receiver first detected the aircraft. |
| `maxRangeNm` | `string` | No | Furthest distance to this aircraft during the sighting, in nautical miles. |
| `messageCount` | `integer` | No | Total messages received from this aircraft by this receiver. |
| `positionCount` | `integer` | No | Number of position reports received by this receiver. |
| `finalAltitudeFt` | `integer` | No | Barometric altitude in feet at last detection. |
| `finalHeadingDeg` | `string` | No | Ground track in degrees at last detection. |
| `initialAltitudeFt` | `integer` | No | Barometric altitude in feet at first detection. |
| `initialHeadingDeg` | `string` | No | Ground track in degrees at first detection. |
| `finalGroundSpeedKts` | `string` | No | Ground speed in knots at last detection. |
| `finalVerticalRateFpm` | `integer` | No | Vertical rate in feet per minute at last detection. Negative is descending. |
| `initialGroundSpeedKts` | `string` | No | Ground speed in knots at first detection. |
| `initialVerticalRateFpm` | `integer` | No | Vertical rate in feet per minute at first detection. Negative is descending. |

## Raw Schema

```json
{
  "id": "at.adsb.flight.record",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "aircraft",
          "firstSeen",
          "lastSeen",
          "batches",
          "createdAt"
        ],
        "properties": {
          "squawk": {
            "type": "string",
            "maxLength": 4,
            "minLength": 4,
            "description": "Transponder squawk code (e.g. '2636')."
          },
          "batches": {
            "type": "array",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 5760,
            "minLength": 1,
            "description": "Strong references to all at.adsb.receiver.sighting batch records where this aircraft appeared."
          },
          "aircraft": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the at.adsb.aircraft.identity record for this aircraft."
          },
          "callsign": {
            "type": "string",
            "maxLength": 8,
            "description": "Flight callsign as broadcast (e.g. 'UAL123')."
          },
          "lastSeen": {
            "type": "string",
            "format": "datetime",
            "description": "When this receiver last detected the aircraft."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "firstSeen": {
            "type": "string",
            "format": "datetime",
            "description": "When this receiver first detected the aircraft."
          },
          "maxRangeNm": {
            "type": "string",
            "maxLength": 20,
            "description": "Furthest distance to this aircraft during the sighting, in nautical miles."
          },
          "messageCount": {
            "type": "integer",
            "minimum": 0,
            "description": "Total messages received from this aircraft by this receiver."
          },
          "positionCount": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of position reports received by this receiver."
          },
          "finalAltitudeFt": {
            "type": "integer",
            "description": "Barometric altitude in feet at last detection."
          },
          "finalHeadingDeg": {
            "type": "string",
            "maxLength": 10,
            "description": "Ground track in degrees at last detection."
          },
          "initialAltitudeFt": {
            "type": "integer",
            "description": "Barometric altitude in feet at first detection."
          },
          "initialHeadingDeg": {
            "type": "string",
            "maxLength": 10,
            "description": "Ground track in degrees at first detection."
          },
          "finalGroundSpeedKts": {
            "type": "string",
            "maxLength": 10,
            "description": "Ground speed in knots at last detection."
          },
          "finalVerticalRateFpm": {
            "type": "integer",
            "description": "Vertical rate in feet per minute at last detection. Negative is descending."
          },
          "initialGroundSpeedKts": {
            "type": "string",
            "maxLength": 10,
            "description": "Ground speed in knots at first detection."
          },
          "initialVerticalRateFpm": {
            "type": "integer",
            "description": "Vertical rate in feet per minute at first detection. Negative is descending."
          }
        }
      },
      "description": "A receiver's record of one aircraft's complete observed flight."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A receiver-authored record of an aircraft's transit through the receiver's coverage area. Created on departure. References all contributing batch sightings and the aircraft identity via strongRef for provenance verification."
}
```
