action tfl_stop_point_arrivals { label: "Gets the list of arrival predictions for the given stop point id" provider: tfl method: GET path: "/StopPoint/{id}/Arrivals" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "array" items: { type: "object" description: "DTO to capture the prediction details" properties: { bearing: { type: "string" description: "Bearing (between 0 to 359)" } currentLocation: { type: "string" description: "The current location of the vehicle." } destinationName: { type: "string" description: "Name of the destination" } destinationNaptanId: { type: "string" description: "Naptan Identifier for the prediction's destination" } direction: { type: "string" description: "Direction (unified to inbound/outbound)" } expectedArrival: { type: "string" format: "date-time" description: "The expected arrival time of the vehicle at the stop/station" } id: { type: "string" description: "The identitier for the prediction" } lineId: { type: "string" description: "Unique identifier for the Line" } lineName: { type: "string" description: "Line Name" } modeName: { type: "string" description: "The mode name of the station/line the prediction relates to" } naptanId: { type: "string" description: "Identifier for the prediction" } operationType: { type: "integer" format: "int32" description: "The type of the operation (1: is new or has been updated, 2: should be deleted from any client cache)" } platformName: { type: "string" description: "Platform name (for bus, this is the stop letter)" } stationName: { type: "string" description: "Station name" } timeToLive: { type: "string" format: "date-time" description: "The expiry time for the prediction" } timeToStation: { type: "integer" format: "int32" description: "Prediction of the Time to station in seconds" } timestamp: { type: "string" format: "date-time" description: "Timestamp for when the prediction was inserted/modified (source column drives what objects are broadcast on each iteration)" } timing: { type: "object" properties: { countdownServerAdjustment: { type: "string" } insert: { type: "string" format: "date-time" } read: { type: "string" format: "date-time" } received: { type: "string" format: "date-time" } sent: { type: "string" format: "date-time" } source: { type: "string" format: "date-time" } } } towards: { type: "string" description: "Routing information or other descriptive text about the path of the vehicle towards the destination" } vehicleId: { type: "string" description: "The actual vehicle in transit (for train modes, the leading car of the rolling set)" } } } } }