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

Record

record · key tid

Properties

createdAt

requiredstring · datetime

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

flights

array

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
itemsstring · at-uri

name

string

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
  • maxGraphemes: 64

source

string

Short identifier for the tool that wrote this record.

  • maxLength: 64

sourceId

string

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

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • An assertion that a particular flight existed, rather than a personal log entry about the author. Only 'createdAt' is required. Every other field is optional, and absent means unknown or not applicable rather than empty or zero. The exception is 'relationship', where absent means no claim is being made. Records of the same flight written by different people are expected, so write the identifying fields consistently. Any kind of flying is in scope, and origin may equal destination.

  • social.passports.travel.leg

    record not from the namespace authority

    One transport segment of a trip — a single origin-to-destination movement. Legs of a trip are grouped by a social.passports.folio.