com.airplaneian.contrail.temp.trip

An assertion that a set of flights belonged to one journey. Only 'createdAt' is required, and absent means unknown or not applicable. The reference points one way only, from trip to flight, and a trip references only flight records the author wrote.

Repository @airplaneian.com did:plc:5jsivedaksbcc4n2epiegflk namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritytemp.contrail.airplaneian.com
Indexed
cid bafyreigxlkq7qlejpen2wuk66jbvdjc3arbh7lreena2zqsdyr7mwwz7ni

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An assertion that a set of flights belonged to one journey. Only 'createdAt' is required, and absent means unknown or not applicable. The reference points one way only, from trip to flight, and a trip references only flight records the author wrote.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When this record was written, not when the trip happened. Explicit UTC offset, no fractional seconds.",
            "format": "datetime",
            "type": "string"
          },
          "flights": {
            "description": "The flights in this trip, in the order flown, as AT-URIs to flight records. Plain AT-URIs rather than strong references, so a reference stays valid when a flight record is corrected in place. A reference may dangle if a flight is later deleted.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 200,
            "type": "array"
          },
          "name": {
            "description": "Free-text name for the trip. Public as soon as the record is written, and copies may persist after the record is deleted.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "source": {
            "description": "Short identifier for the tool that wrote this record.",
            "maxLength": 64,
            "type": "string"
          },
          "sourceId": {
            "description": "That tool's own identifier for this trip. A grouping key may be sensitive even when the grouping is not: never write a booking reference here.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.airplaneian.contrail.temp.trip",
  "lexicon": 1
}