MobilityData / gtfs-validator

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

Modify primary key for fare_leg_rules.txt to include network_id #1889

Closed emmambd closed 1 month ago

emmambd commented 1 month ago

Describe the problem

There are false positives in the validator for duplicate_key (see acceptance tests of new errors), because network_id is not a part of the primary key for fare_leg_rules.txt as it should be according to the spec.

Proposed solution

Make sure that network_id is included as part of the primary key for fare_leg_rules.txt.

Alternatives you've considered

No response

Additional context

No response