From
bafyreiasekzpaqe3gimct7orhddusuyfakjemnhrlmhj3ldc4nomc5q66e
indexed 2026-09-27 17:41 UTC
View this version
To
bafyreid3jfpa6dktyqxupiw5sxo6p62qabc4pxr7f6swwts7j35wf4w2gi
indexed 2026-09-27 20:50 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "One transport segment of a trip — a single origin-to-destination movement. Part of a social.passports.travel.trip.",5
"description": "One transport segment of a trip — a single origin-to-destination movement. Legs of a trip are grouped by a social.passports.folio.",66
"key": "tid",77
"record": {88
"properties": {99
"carrier": {1010
"description": "Carrier name, e.g. 'Japan Airlines' or 'Amtrak'.",1111
"maxLength": 100,1212
"type": "string"1313
},1414
"carrierCode": {1515
"description": "Transport-agnostic carrier code — IATA airline code for flights (e.g. 'JL'), route abbreviation for non-IATA carriers (e.g. 'ACE' for Acela).",1616
"maxLength": 10,1717
"type": "string"1818
},1919
"createdAt": {2020
"format": "datetime",2121
"type": "string"2222
},2323
"destination": {2424
"description": "Inline destination place object. Self-contained — no external fetch required.",2525
"ref": "social.passports.place",2626
"type": "ref"2727
},2828
"destinationTransportCode": {2929
"description": "Terminal code at destination — IATA airport code for flights (e.g. 'CDG'), station code for rail, etc. Overrides the place record's transport_code for this specific leg.",3030
"maxLength": 10,3131
"type": "string"3232
},3333
"endDate": {3434
"description": "Arrival date in YYYY-MM-DD format.",3535
"maxLength": 10,3636
"type": "string"3737
},3838
"note": {3939
"description": "The user's note about this leg.",4040
"maxLength": 3000,4141
"type": "string"4242
},4343
"origin": {4444
"description": "Inline origin place object. Self-contained — no external fetch required.",4545
"ref": "social.passports.place",4646
"type": "ref"4747
},4848
"originTransportCode": {4949
"description": "Terminal code at origin — IATA airport code for flights (e.g. 'JFK'), station code for rail (e.g. 'NYP'), etc. Overrides the place record's transport_code for this specific leg.",5050
"maxLength": 10,5151
"type": "string"5252
},5353
"serviceNumber": {5454
"description": "Flight number, train number, or equivalent service identifier, e.g. 'JL006' or 'Acela 2151'.",5555
"maxLength": 20,5656
"type": "string"5757
},5858
"startDate": {5959
"description": "Departure date in YYYY-MM-DD format. Stored as a date string rather than datetime to avoid timezone ambiguity — travel dates are calendar-day concepts.",6060
"maxLength": 10,6161
"type": "string"6262
},6363
"transportation": {6464
"description": "Mode of transportation.",6565
"knownValues": [6666
"flight",6767
"train",6868
"bus",6969
"car",7070
"ferry",7171
"walking",7272
"cycling",7373
"other"7474
],7575
"type": "string"7676
}7777
},7878
"required": [7979
"origin",8080
"destination",8181
"transportation",8282
"createdAt"8383
],8484
"type": "object"8585
},8686
"type": "record"8787
}8888
},8989
"id": "social.passports.travel.leg",9090
"lexicon": 19191
}