Trenitalia Train stops columns, generated from the actor dataset schema.
Describes build 0.1.5 of rl1987/trenitalia-timetable-scraper, deployed 2026-11-22. The column set last changed 2026-11-22. Earlier builds can return a different one.
Dataset view: stops — ?view=stops on the items API, or the matching tab in the Console.
15 columns, in the order the view shows them.
| # | Column | Label | Type | Description | Example |
|---|---|---|---|---|---|
| 1 | recordType | recordType | string | Which kind of row this is: solution, fare, trainStatus, stop, board or station. Each kind has its own dataset view; a column another kind does not fill is absent from these rows rather than null. | |
| 2 | rideKey | rideKey | string, nullable | The run’s ride key, e.g. ‘09611A’ - train number plus a run suffix. This identifies one dated run, and with departureDate it is the de-duplication key for trainStatus and board rows. | |
| 3 | trainNumber | trainNumber | string, nullable | Train number as a string (‘9611’). Present on every row kind except station, and the input for trainStatus mode. | |
| 4 | departureDate | departureDate | string, nullable | The run’s departure date in the format its endpoint returned it in: ‘21/11/2026’ from info/mobility/status, ‘2026-11-19T06:50:00’ from a trainKey, or the board entry’s own ‘2026-11-19 19:35:00.0’ when it has one - and date-only-with-midnight when it does not, which is 4 in every 47 arrivals rows measured. Not normalised; time carries the time shown on the board. | |
| 5 | sequence | sequence | integer, nullable | 1-based position of the stop in the run’s stop list, in travel order. With rideKey and departureDate it identifies the stop. | |
| 6 | location | location | string, nullable | Station name of this stop, as the API spells it. | |
| 7 | locationId | locationId | string, nullable | The stop’s own station id, e.g. ‘830001700’ for Milano Centrale - a string here, an integer on station rows. On a board row the payload’s locationId is NOT the counterpart station’s id and is deliberately not mapped. | |
| 8 | platform | platform | string, nullable | Platform (‘binario’) at this stop as the API sends it, e.g. ‘17’. A string because it can carry a suffix; null when not yet assigned. | |
| 9 | trainOrientation | trainOrientation | string, nullable | Which end of the platform the train’s Executive/first carriage is at, as a localised string (‘Executive in testa’). Null when the API does not say. | |
| 10 | stopStatus | stopStatus | string, nullable | Per-stop state: ‘NOT_YET_ARRIVED’, ‘STATION_EXCEEDED’, etc. Tells you whether the times on this stop have happened. | |
| 11 | reached | reached | boolean, nullable | Whether the train had actually reached this stop at scrape time (the API’s real flag). False on every stop of a run that has not left. | |
| 12 | scheduledDeparture | scheduledDeparture | string, nullable | Scheduled departure time at this stop, HH:MM as the API sends it with no date. Null at a terminus that has no departure. | |
| 13 | actualDeparture | actualDeparture | string, nullable | Estimated or actual departure time at this stop, HH:MM. The API labels it ‘Stimata’ (estimated) or ‘Effettiva’ (actual); both are mapped here and reached says which one it was. | |
| 14 | scheduledArrival | scheduledArrival | string, nullable | Scheduled arrival time at this stop, HH:MM. Null at the first stop of the run. | |
| 15 | actualArrival | actualArrival | string, nullable | Estimated or actual arrival time at this stop, HH:MM, from the API’s ‘Arrivo Stimato’/‘Arrivo Effettivo’ label. |