Trenitalia Station ids 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: stations — ?view=stations on the items API, or the matching tab in the Console.
7 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 | stationId | stationId | integer, nullable | Trenitalia’s numeric station id (e.g. 830001700 = Milano Centrale). This is the id every other mode’s request body takes. | |
| 3 | name | name | string, nullable | Station name as the API spells it. A city aggregate row is named ‘Milano ( Tutte Le Stazioni )’ and stands for every station in the city. | |
| 4 | isCityAggregate | isCityAggregate | boolean, nullable | True for the ‘( Tutte Le Stazioni )’ rows, which are a city-wide pseudo station rather than a physical one. The reverse’s first station row for ‘Milano’ is one of these. | |
| 5 | bus | bus | boolean, nullable | Whether the station row is served by the bus (autobus) network. | |
| 6 | bdo | bdo | boolean, nullable | The API’s bdo flag on a station row. False on the city aggregate rows; true on physical stations in the sample measured. | |
| 7 | query | query | string, nullable | The station-name text that produced these rows, so a row can be traced back to the input that matched it. |