Request
POST https://opendata.zilina.sk/api/datasets/v2/public-transport/schedule?outputType=csv
Parameters
{
"date": "2022-05-16T08:13:07.973Z"
}
date (string, required) – Date for which the daily public transport schedule should be returned. The value must be provided in ISO 8601 date-time format.
Answer
stops (array) – List of public transport stops.
stops.stopId (string) – Stop identifier.
stops.name (string) – Stop name.
stops.locationType (string) – Type of location, for example stop.
stops.position (object) – Geographic position of the stop.
stops.position.type (string) – Geometry type, for example "Point".
stops.position.coordinates (array of numbers) – Stop coordinates in format [longitude, latitude].
stops.zone (string) – Tariff or transport zone.
routes (array) – List of public transport routes.
routes.agency (string) – Transport agency operating the route.
routes.color (string) – Route color in hexadecimal format.
routes.longName (string) – Full route name or route description.
routes.routeId (string) – Route identifier.
routes.shortName (string) – Short route name, usually the line number.
routes.vehicleType (string) – Type of vehicle used on the route.
routes.trips (array) – List of trips for the selected date.
routes.trips.tripId (string) – Trip identifier.
routes.trips.departures (array) – Scheduled departures within the trip.
routes.trips.departures.stopId (string) – Stop identifier where the departure takes place.
routes.trips.departures.scheduleTime (string) – Scheduled departure time in ISO 8601 date-time format.
routes.trips.notes (array) – Additional notes related to the trip.
Note
The schedule is returned for the whole selected day according to the date parameter.
Departures are ordered by scheduled departure time.
Trips are grouped under their corresponding public transport routes.