This table defines the validity constraints for fares within the Swiss public transport system. It specifies the duration of validity using time units, values, and hours after midnight, as well as the number of travel days and the type of validity. The data is provided in the Open Sales and Distribution Model (OSDM) format.
This table is useful for developers and analysts implementing fare calculation or ticket validation for Swiss public transport. It does not contain pricing information or a complete set of conditions required for third-party ticket sales.
1 rows · 6 columns · published by opentransportdata.swiss · licence: Open use, source must be named
Source file: https://data.opentransportdata.swiss/dataset/75399276-72f9-4542-a781-8901326befb2/resourc… · the dataset
| Column | Type | Description |
|---|---|---|
| Validity ID | TEXT | Unique identifier for the travel validity constraint. |
| Time Unit | TEXT | The unit of time used for the validity range, such as DAYS. |
| Validity Value | INTEGER | The numerical value associated with the time unit. |
| Hours After Midnight | INTEGER | The specific hour after midnight that defines the validity boundary. |
| Number of Travel Days | INTEGER | The total number of days the ticket is valid for travel. |
| Validity Type | STRING | The category of validity, such as SINGLE_TRIP. |
Query it in SQL · API · Use it from an AI agent (MCP) · More tables
Cleaned and typed by Data Cleaner: open this file in Data Cleaner or clean your own file.