Delayed services require expectedTime. Cancelled services may include reason and passengerAdvice.
RailDeparture.platformChangedboolean
Highlights a new platform and includes the change in the row’s accessible name.
RailDeparture.previousPlatformstring
Optional previous platform shown alongside the changed platform in the service details.
Data and integration
Preview
A scripted East Croydon timetable with delay, cancellation and platform-change examples.
Inputs
Station-local clock, stable departure IDs, destinations, calling points, platforms, times, and service status.
Source options
A station departures feed from an authorized rail data provider, or a timetable export for a schedule-only board.
Actions
Select a service with a pointer, Tab and Enter, or the Up and Down keys. Open its details for the ordered calling points or cancellation advice. When available, the previous and current platforms are shown together.
Integration requirements
Normalize clock, scheduledTime and expectedTime to local HH:mm. Keep service IDs stable, send services in display order and use null for unavailable data or an empty list for no upcoming services.