Diagnosis
What this notice means
forbidden_real_time_booking_field_value is an error in a GTFS Schedule validation report: a real-time booking rule contains advance-notice fields. Start with booking_rules.txt.
A real-time booking rule has fields that are forbidden for that booking type.
Operational effect
Why it matters
Passengers may receive contradictory instructions about how early they must book.
Scope
Files to check and report fields
| Report field | Type | Meaning |
|---|---|---|
bookingRuleId | string | The booking_rules.booking_rule_id of the faulty record. |
csvRowNumber | integer | The row number of the faulty record. |
fieldNames | string | The names of the forbidden fields comma-separated. |
Repair
How to fix it
- 1
Inspect the reported
fieldNamesfor the rule inbooking_rules.txt. - 2
Clear advance-notice fields if booking is genuinely real time. If advance booking is required, correct the booking type and populate its required fields.
- 3Check the result
After a repair, rebuild the archive and validate it again. Confirm that the affected records are correct and that no new related notices appeared. A reviewed warning or informational notice may remain when it describes intentional, supported data.
Re-check your feed in the browserFree, no upload for a file you pick.
Sources