ERRORGTFS Schedule notice

A same-day booking rule has no minimum notice

missing_prior_notice_duration_min
Severity
ERROR
Files to check
1
Report fields
2
Documentation
Curated

Diagnosis

What this notice means

The rule does not say how far in advance a same-day booking is required.

Operational effect

Why it matters

Passengers may attempt to book too late.

Scope

Files to check and report fields

Report fieldTypeMeaning
bookingRuleIdstringThe `booking_rules.booking_rule_id` of the faulty record.
csvRowNumberintegerThe row number of the faulty record.

Repair

How to fix it

  1. 1

    Check the reported booking rule against the operator's minimum lead time.

  2. 2

    Set prior_notice_duration_min in minutes. If a maximum is supplied, ensure it is not smaller than the minimum.

  3. 3
    Check 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.

Worked example

Example correction

Assume same-day requests must be made at least 30 minutes before travel.

Before

booking_type: 1
prior_notice_duration_min: (empty)

After

booking_type: 1
prior_notice_duration_min: 30

Illustrative excerpt, not a complete GTFS feed. Keep all other required records and fields.

Sources

References