gtfs-realtime-validator icon indicating copy to clipboard operation
gtfs-realtime-validator copied to clipboard

Use v2

Open e-lo opened this issue 3 years ago • 2 comments

Relevant Best Practice text:

All GTFS Realtime feeds should be "2.0" or higher, as early version of GTFS Realtime did not require all fields needed to represent various transit situations adequately.

e-lo avatar Mar 17 '22 23:03 e-lo

Right now we have two errors that are only applied to v2.0 feeds, E048 and E049:

  • https://github.com/MobilityData/gtfs-realtime-validator/blob/master/RULES.md#e048---header-timestamp-not-populated-gtfs-rt-v20-and-higher
  • https://github.com/MobilityData/gtfs-realtime-validator/blob/master/RULES.md#e049---header-incrementality-not-populated-gtfs-rt-v20-and-higher

...but we don't have any rules that target < v2.0 feeds, which is what this issue is focused on.

I supposed this would be a new rule that would be a warning that flags v1 feeds (as opposed to an error)?

barbeau avatar Mar 18 '22 22:03 barbeau

I supposed this would be a new rule that would be a warning that flags v1 feeds (as opposed to an error)?

Exactly.

e-lo avatar Mar 22 '22 18:03 e-lo