Inconsistency in trip update example vs. reference documentation? #468
Labels
Change: Editorial
Inconsequential changes to the specification such as link updates, grammatical errors, formatting.
GTFS Realtime
Issues and Pull Requests that focus on GTFS Realtime
Support: Needs Help
Needs support to answer outstanding questions and/or feedback.
Introduce yourself
No response
Ask a question
The trip update examples maintained at https://github.com/google/transit/blob/master/gtfs-realtime/spec/en/examples/trip-updates-full.asciipb and shown at https://gtfs.org/realtime/feed-examples/trip-updates/ contain StopTimeUpdate messages with just a stop sequence number in the second and third entities.
Extract taken from the second entity:
The reference documentation for a StopTimeUpdate message however states that the arrival and departure fields are conditionally required, with the following clause:
This suggests the example should specify at least one of the fields, or explicitly set schedule_relationship to NO_DATA. In my understanding, using NO_DATA will effectively reset the delays to zero and stop propagation of any previously specified delay. NO_DATA is however defined as "no realtime timing information available"—which may not be semantically correct when we know the actual delay to be zero.
What are your thoughts?
The text was updated successfully, but these errors were encountered: