com.airplaneian.contrail.temp.trip

airplaneian.com

Documentation

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.

main record

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.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

When this record was written, not when the trip happened. Explicit UTC offset, no fractional seconds.

flights array of string at-uri Optional

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.

maxLength: 200 items
name string Optional

Free-text name for the trip. Public as soon as the record is written, and copies may persist after the record is deleted.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
source string Optional

Short identifier for the tool that wrote this record.

maxLength: 64 bytes
sourceId string Optional

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 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 640,
        "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
      },
      "source": {
        "type": "string",
        "maxLength": 64,
        "description": "Short identifier for the tool that wrote this record."
      },
      "flights": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "at-uri"
        },
        "maxLength": 200,
        "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."
      },
      "sourceId": {
        "type": "string",
        "maxLength": 512,
        "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."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this record was written, not when the trip happened. Explicit UTC offset, no fractional seconds."
      }
    }
  },
  "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."
}

Lexicon Garden

@