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

Error+Spec OR Warning+Best Practice: Departure times should increase

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

Spec violations should be errors, but the below best practice is an error and not in the spec. Options:

  1. Add this requirement to the GTFS RT Spec definition and remove from GTFS Best Practices.
  2. Change the error to a warning in the validator and make the text consistent between the Best Practices and the error.

Relevant Best Practice text:

StopTimeUpdate.departure: Departure times between sequential stops should increase - they should not be the same or decrease

Relevant Rule

E022 - Sequential stop_time_update times are not increasing stop_time_update arrival/departure times between sequential stops should always increase - they should never be the same or decrease.

References: Stop Time Updates description stop_time_update reference

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

I believe this is covered in: https://github.com/MobilityData/gtfs-realtime-validator/blob/master/RULES.md#e022---sequential-stop_time_update-times-are-not-increasing

barbeau avatar Mar 24 '22 14:03 barbeau

Thx @barbeau : I updated the issue to reflect the inconsistence in spec vs best practice treatment for this check.

e-lo avatar Mar 24 '22 15:03 e-lo