Skip to content

TIDES Tables Schema

Schemas for TIDES suite.

Files in Specification

TIDES consists of a package of files as defined in the following table.

The following table is automatically generated from [tides.spec.json]

name title description profile required
vehicle-locations Vehicle Locations Timestamped vehicle locations and speeds. tabular-data-resource False
device-events Device Events Timestamped device-recorded events, including boardings, alightings, fare gate passages, and mobile validator events. tabular-data-resource False
fare-transactions Fare Transactions Timestamped fare transaction, associated with devices. tabular-data-resource False
stop-visits Stop Visits Summarized boarding, alighting, arrival, departure, and other events (kneel engaged, ramp deployed, etc.) by trip and stop for each service date. tabular-data-resource False
trips-performed Trips Performed Trips performed for each service date. tabular-data-resource False
station-activities Station Activities Summarized transactions, entries, and exits by stop or station and time period for each service date (for events not associated with a trip). tabular-data-resource False
devices Devices Measurement devices, such as AVL, APC, and AFC devices, associated with vehicles or stops or stations. tabular-data-resource False
train-cars Train Cars Assets that comprise vehicles, such as train cars, with descriptive information. tabular-data-resource False
vehicle-train-cars Vehicle Train Cars Relationships between assets and vehicles. tabular-data-resource False
vehicles Vehicles Vehicles, including buses and train consists, with descriptive information. tabular-data-resource False
crew Crew Transit personnel who serve as vehicle or station crew, including operators, conductors, and fare inspectors. tabular-data-resource False
vehicle-crew Vehicle Crew Crew member assignments to vehicles and trips, supporting multiple crew members and mid-trip reliefs. tabular-data-resource False

File components for TIDES are specified in [tides.spec.json] in a format compatible with the frictionless data data package standard.

Relationships

Files in the TIDES suite are related to each other and other open standards as follows:

graph LR; avl(((AVL))) --> vehicle_locations[/vehicle_locations/] APC --> device_events[/device_events/] AFC --> fare_transactions[/fare_transactions/] vehicle_locations --> summary[Summary Process] fare_transactions --> summary device_events --> summary summary --> |stop_id,trip_id,vehicle_id|stop_visits[/stop_visits/] summary -->|stop_id| station_activities[/station_activities/] summary --> trips_performed[/trips_performed/] trips.txt[/trips.txt/] --> |trip_id| stop_times.txt[/stop_times.txt/] stops.txt[/stops.txt/] --> |stop_id|stop_times.txt calendar.txt[/calendar.txt/] --> |service_id|stop_times.txt vehicle_train_cars[/vehicle_train_cars/] -.vehicle_id.- vehicles[/vehicles/] vehicle_train_cars -.- |train_car_id| train_cars[/train_cars/] train_cars -.- |train_car_id| devices[/devices/] vehicles --- |vehicle_id| devices vehicles --> |vehicle_id|trips_performed crew[/crew/] -.-> |operator_id| trips_performed stop_times.txt --> |" stop_times.txt: stop_id,stop_sequence stop_visits: stop_id,scheduled_stop_sequence "| stop_visits stop_times.txt --> |trips.txt| trips_performed stops.txt --> |stop_id|station_activities stop_times.txt --> |" stop_times.txt: stop_id,stop_sequence vehicle_locations: stop_id,scheduled_stop_sequence "| vehicle_locations stop_times.txt --> |" stop_times.txt: stop_id,stop_sequence device_events: stop_id,scheduled_stop_sequence "| device_events stop_times.txt --> |" stop_times.txt: stop_id,stop_sequence fare_transactions: stop_id,scheduled_stop_sequence "| fare_transactions subgraph eventf [Event Data] vehicle_locations device_events fare_transactions end subgraph summaryf [Summary Files] station_activities stop_visits trips_performed end subgraph gtfs [ GTFS ] stop_times.txt stops.txt trips.txt calendar.txt end subgraph proposedGTFS [ Proposed GTFS ] train_cars vehicle_train_cars vehicles end subgraph additional [ Additional Data ] devices crew end click stops.txt "https://gtfs.org/schedule/reference/#stopstxt" click stop_times.txt "https://gtfs.org/schedule/reference/#stop_timestxt" click calendar.txt "https://gtfs.org/schedule/reference/#calendartxt" click trips.txt "https://gtfs.org/schedule/reference/#tripstxt" click station_activities "../tables/#station-activities" click stop_visits "../tables/#stop-visits" click train_cars "../tables/#train-cars" click vehicle_train_cars "../tables/#vehicle-train-cars" click vehicles "../tables/#vehicles" click devices "../tables/#devices" click vehicle_locations "../tables/#vehicle-locations" click device_events "../tables/#device-events" click fare_transactions "../tables/#fare-transactions"

Relationship of trip_id_scheduled to GTFS Schedule trip_id

trip_id_scheduled in TIDES and trip_id in GTFS Schedule should be consistent when a performed trip exists in the published GTFS Schedule.

If a trip does not exist in the published GTFS Schedule, trip_id_scheduled values in TIDES do not have any assumed relationship with GTFS.