Transit stop time (p:stoptime)¶
http://profiles.goabout.com/stoptime
The StopTime
resources represents a vehicle that will arrive and depart at the listed time. It will be linked to from within the Location (p:location) resource.
A stop time is a combination of arrival and departure times of transit journeys at a stop. From a Location (p:location) a link to the collection of all stop times for that stop will be given via the Stop times (r:stoptimes) relation.
http://rels.goabout.com/stoptime
Example¶
{
"actualArrivalTime" : "2013-08-20T12:00:00.000Z",
"actualDepartureTime" : "2013-08-20T12:00:30.000Z",
"scheduledArrivalTime" : "2013-08-20T12:00:00.000Z",
"scheduledDepartureTime" : "2013-08-20T12:00:30.000Z",
"actualPlatform": "3b",
"scheduledPlatform": "3",
"cancelled" : false,
"dynamic" : false,
"lineNumber" : "5",
"headsign" : "Voorschoten via Leiden CS",
"modeType" : "subway",
"viaLabel" : "A'dam Sloterdijk, Haarlem, Beverwijk",
"locationType" : "stop",
"locationLabel" : "Halte Amsterdam, Keizersgracht",
"_links" : {
"self" : {
"href" : "ni://goabout.com/sha-256;ZjM2NjlkZDUwMTM5ODQ2MTZkZjdhM2VmZDMzNjFjNzFkMjkyZTkxYTYxODVjMWU0ODI4NjE4Yjk1YjUxMzA5Ng=="
},
"http://rels.goabout.com/journey" : {
"href" : "https://api.goabout.com/journey/ARR/ARR%7CTRIP-ID-1/20101203"
},
"http://rels.goabout.com/location": {
"href": "https://api.goabout.com/location/stop/stop1"
}
}
}
Reference¶
Properties¶
acutalArrivalTime: | |
---|---|
DateTime The arrival time of the vehicle, with known delay. | |
scheduledArrivalTime: | |
DateTime The arrival time of the vehicle, as given by the schedule. | |
actualDepartureTime: | |
DateTime The departure time of the vehicle, with known delay. | |
scheduledDepartureTime: | |
DateTime The departure time of the vehicle, as given by the schedule. | |
actualPlatform: | String The actual platform this mode is departing from. If null there was no change. |
scheduledPlatform: | |
String The platform this mode should be departing from, as stated in the original schedule. If not present, then platform does not have meaning for this stop. | |
cancelled: | Boolean Whether this journey has been cancelled or not. |
lineNumber: | String The route line number. |
headsign: | String The name of the route, as shown on signs. |
modeType: | ModeType
The transit mode as a ModeType object. |
viaLabel: | String A summary of stops that this vehicle stops at. |
locationType: | String The type of the location, see Location (p:location) |
locationLabel: | String A printable label for this location. For more fine-grained control, use the link to the actual location resource. |
Links¶
Location (r:location): The Location (p:location) that this stop time applies to. Journey (r:journey): The Journey (p:journey) that this stop time applies to
Methods¶
URI’s for this profile cannot be dereferenced.