forbidden_prior_notice_start_time: GTFS validation rule (booking_rules.txt) Error
A booking_rules.txt row carries prior_notice_start_time on a booking_type that does not allow it.
What the rule checks
A booking_rules.txt row carries prior_notice_start_time on a booking_type that does not allow it.
Severity: error
An error marks data that breaks the GTFS specification. A journey planner or a rider app may refuse the file, or show a wrong version of it. Correct it before publishing the GTFS.
Where it applies
The rule applies to booking_rules.txt.
Finding and correcting it
Open the GTFS in GTFS Express. Reading is free, and the validation, by the MobilityData validator and the rules of GTFS Express itself, lists the occurrences of forbidden_prior_notice_start_time with the file and rows involved. The correction is made in a draft, by hand or from a brief, with the licence: the corrected GTFS is validated again before it is delivered, and the change can be undone.
In the MobilityData validator
The MobilityData GTFS validator uses the same code, forbidden_prior_notice_start_time. Its documentation describes each rule: MobilityData validator rules.
Rules of the same domain
- duplicate_fare_media
- fare_product_with_multiple_default_rider_categories
- fare_transfer_rule_duration_limit_type_without_duration_limit
- fare_transfer_rule_duration_limit_without_type
- fare_transfer_rule_invalid_transfer_count
- fare_transfer_rule_missing_transfer_count
- fare_transfer_rule_with_forbidden_transfer_count
- forbidden_geography_id
- forbidden_prior_day_booking_field_value
- forbidden_prior_notice_start_day
- forbidden_real_time_booking_field_value
- forbidden_same_day_booking_field_value
- All the validation rules