action tfl_stop_point_arrival_departures { label: "Gets the list of arrival and departure predictions for the given stop point id (overground, Elizabeth line and thameslink only)" provider: tfl method: GET path: "/StopPoint/{id}/ArrivalDepartures" encoding: json input: { type: "object" properties: { id: { type: "string" } lineIds: { type: "array" items: { type: "string" } } } required: ["id", "lineIds"] additionalProperties: false } output: { type: "array" items: { type: "object" description: "DTO to capture the prediction details" properties: { cause: { type: "string" description: "Reason for cancellation or delay" } departureStatus: { type: "string" description: "Status of departure" enum: ["OnTime", "Delayed", "Cancelled", "NotStoppingAtStation"] } destinationName: { type: "string" description: "Name of the destination" } destinationNaptanId: { type: "string" description: "Naptan Identifier for the prediction's destination" } estimatedTimeOfArrival: { type: "string" format: "date-time" description: "Estimated time of arrival" } estimatedTimeOfDeparture: { type: "string" format: "date-time" description: "Estimated time of arrival" } minutesAndSecondsToArrival: { type: "string" description: "Estimated time of arrival" } minutesAndSecondsToDeparture: { type: "string" description: "Estimated time of arrival" } naptanId: { type: "string" description: "Identifier for the prediction" } platformName: { type: "string" description: "Platform name (for bus, this is the stop letter)" } scheduledTimeOfArrival: { type: "string" format: "date-time" description: "Estimated time of arrival" } scheduledTimeOfDeparture: { type: "string" format: "date-time" description: "Estimated time of arrival" } stationName: { type: "string" description: "Station name" } 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" } } } } } } }