MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
288 stars 101 forks source link

Flex: forbidden_ continuous_pickup_or_drop_off #1814

Open emmambd opened 2 months ago

emmambd commented 2 months ago

Describe the problem

Validation rule to add to support Flex.

Describe the new validation rule

File name Spec language Notice to update or add Validator logic Notice table columns
routes.txt arrival_time, departure_timeroutes.continuous_pickup, routes.continuous_drop_off [Conditionally Forbidden: Forbidden if `stop_times.start_pickup_drop_off_window` or `stop_times.end_pickup_drop_off_window` are defined for any trip of this route.
- Optional otherwise](https://github.com/google/transit/pull/433/files#diff-3ecf0760eb54b4953728042a1e30586705dc2335807be94faae0de5829cd12a1R298)
forbidden_ continuous_pickup_or_drop_off ERROR: Generate if routes.continuous_pickup OR routes.continuous_drop_off are included AND stop_times.start_pickup_drop_off_window OR stop_times.end_pickup_drop_off_window are defined for any trip of this route. • routeCsvRowNumber • trip_idA with stop_times records with start_pickup_drop_off_window • trip_idB with stop_times records with end_pickup_drop_off_window (there can be several trip_ids associated)

Sample GTFS datasets

No response

Severity

ERROR

Additional context

No response