This repository has been archived by the owner on May 27, 2024. It is now read-only.
Frequency-based exact_times = 1 trips must contain trip_id, start_time, and start_date #163
Labels
Milestone
Summary:
TripDescriptor field must contain trip_id, start_time, and start_date if the trip is defined in GTFS frequencies.txt with
exact_times=1
. If the TripDescriptor doesn't contain trip_id, start_time, and start_date, this is an error. See https://developers.google.com/transit/gtfs-realtime/reference/TripDescriptor.Note we have
E006
for frequency-based exact_times = 0 trips implemented inFrequencyTypeZeroValidator
which is this same concept but forexact_times=0
trips, but I'd prefer to separate these into two different errors to draw out the distinctions for the two types of trips. So, this new rule would be implemented inFrequencyTypeOneValidator
, with the unit tests being implemented inFrequencyTypeOneValidatorTest
.The text was updated successfully, but these errors were encountered: