cal-itp / operational-data-standard

The Transit Operational Data Standard is an open standard for representing the transit schedules used by drivers, dispatchers, and planners to carry out transit operations.
https://ods.calitp.org
Apache License 2.0
26 stars 6 forks source link

Summary of ODS 2.0 changes #49

Closed safrazier17 closed 2 months ago

safrazier17 commented 9 months ago

Updated July 1, 2024

This issue contains only the two pull requests which were determined to be appropriate for inclusion in TODS 2.0. Other issues will be moved into a new summary issue for tracking the next quarterly round of spec updates.

File Proposal (Issue No.)
deadheads.txt
  • Deprecate and replace with trips_supplement.txt (#55)
ops_locations.txt
  • Deprecate and replace with stops_supplement.txt (#55)
deadhead_times.txt
  • Deprecate and replace with stop_times_supplement.txt (#55)
runs_pieces.txt
  • Deprecate and with key information moving to run_events.txt (#60)
run_events.txt Proposals in #60:
  • Add service_id to allow for service-unique run composition.
  • Add run_id as there will no longer be runs_pieces.txt from which to retrieve run_id.
  • Change piece_id from Required to Optional.
  • Add block_id to allow simple definition of links between runs and blocks; currently, making this connection requires going through a trip_id.
  • Add job_type field to allow for attaching multiple personnel responsibilities to a single run_id.
  • Convert event_type field from enum to text.
  • Deprecate event_name field.
  • Adds trip_id field to allow for describing the trips that compose a run.
  • Rename event_from_location_id to start_location and change it from Optional to Required.
  • Deprecate event_from_location_type field.
  • Rename event_time to start_time.
  • Add start_mid_route field.
  • Deprecate event_to_location_type field.
  • Rename event_to_location_id to end_location and change it from Optional to Required.
  • Rename event_duration field end_time and convert from Non-negative Integer to Time.
  • Add end_mid_route field.

Major Breaking Changes

There are two primary changes under discussion. As of February 13, 2024 they are largely contained in two main proposals:

Superseded and deprecated issues

safrazier17 commented 8 months ago

Updated with all currently active issues. I am in the process of working out where the various proposals may be in conflict / need to be made consistent