One Amtrak ride: the route or routes it counts for, the stations, and when. Every ride has a record, whether it was added by hand or came from a Travel leg (then travelLeg links to that leg's record and the stations and date are copied here), so the rail map can be rebuilt from these records alone.
tid
Timestamp-based ID
Properties
accommodation
string
Optional
No description available.
maxLength: 30 bytesCoach, Business, Roomette, Bedroom, Family BedroomcreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
destination
ref
#station
Optional
Where the ride ended.
note
string
Optional
The rider's note about this ride.
maxLength: 3000 bytesorigin
ref
#station
Optional
Where the ride started.
rideDate
string
Optional
Date of the ride in YYYY-MM-DD format. Left out when the rider hides dates.
maxLength: 10 bytesroutes
array
of
string
Optional
The routes the ride counts for. Usually one; a ride on shared track counts for each route on it (New York to Washington on the Northeast Corridor counts for the Cardinal, Crescent, Silver Meteor and Palmetto). Absent while a ride between two stations could be several routes and the rider hasn't said which.
maxLength: 13 itemsstatus
string
Optional
ridden: the train ran and was taken. canceled: Amtrak canceled it, so the stretch counts as a freebie. busBridge: a bus ran in place of the train.
maxLength: 20 bytesridden, canceled, busBridgesubstituteLeg
string
at-uri
Optional
For a canceled ride or a bus bridge: the social.passports.travel.leg record of what the rider took instead, when it's published.
trainNumber
string
Optional
The train number, e.g. '48'.
maxLength: 20 bytestravelLeg
string
at-uri
Optional
The social.passports.travel.leg record this ride came from. A plain at-uri, not a strongRef: the leg is edited in place at the same address, and a pinned CID would be out of date after the first edit.
View raw schema
{
"description": "One Amtrak ride: the route or routes it counts for, the stations, and when. Every ride has a record, whether it was added by hand or came from a Travel leg (then travelLeg links to that leg's record and the stations and date are copied here), so the rail map can be rebuilt from these records alone.",
"key": "tid",
"record": {
"properties": {
"accommodation": {
"knownValues": [
"Coach",
"Business",
"Roomette",
"Bedroom",
"Family Bedroom"
],
"maxLength": 30,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"destination": {
"description": "Where the ride ended.",
"ref": "#station",
"type": "ref"
},
"note": {
"description": "The rider's note about this ride.",
"maxLength": 3000,
"type": "string"
},
"origin": {
"description": "Where the ride started.",
"ref": "#station",
"type": "ref"
},
"rideDate": {
"description": "Date of the ride in YYYY-MM-DD format. Left out when the rider hides dates.",
"maxLength": 10,
"type": "string"
},
"routes": {
"description": "The routes the ride counts for. Usually one; a ride on shared track counts for each route on it (New York to Washington on the Northeast Corridor counts for the Cardinal, Crescent, Silver Meteor and Palmetto). Absent while a ride between two stations could be several routes and the rider hasn't said which.",
"items": {
"knownValues": [
"coast_starlight",
"empire_builder",
"california_zephyr",
"southwest_chief",
"sunset_limited",
"texas_eagle",
"city_of_new_orleans",
"lake_shore_limited",
"floridian",
"cardinal",
"crescent",
"silver_meteor",
"palmetto"
],
"maxLength": 50,
"type": "string"
},
"maxLength": 13,
"type": "array"
},
"status": {
"description": "ridden: the train ran and was taken. canceled: Amtrak canceled it, so the stretch counts as a freebie. busBridge: a bus ran in place of the train.",
"knownValues": [
"ridden",
"canceled",
"busBridge"
],
"maxLength": 20,
"type": "string"
},
"substituteLeg": {
"description": "For a canceled ride or a bus bridge: the social.passports.travel.leg record of what the rider took instead, when it's published.",
"format": "at-uri",
"type": "string"
},
"trainNumber": {
"description": "The train number, e.g. '48'.",
"maxLength": 20,
"type": "string"
},
"travelLeg": {
"description": "The social.passports.travel.leg record this ride came from. A plain at-uri, not a strongRef: the leg is edited in place at the same address, and a pinned CID would be out of date after the first edit.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"createdAt"
],
"type": "object"
},
"type": "record"
}