GTFS Express Open GTFS Express

invalid_prior_notice_duration_min: GTFS validation rule (fares) Error

prior_notice_duration_min is not a non-negative integer, or it is greater than prior_notice_duration_max.

Updated on 23 October 2026

What the rule checks

prior_notice_duration_min is not a non-negative integer, or it is greater than prior_notice_duration_max.

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 the fare files: fare_attributes.txt and fare_rules.txt, or the Fares v2 ones such as fare_products.txt, fare_leg_rules.txt and fare_media.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 invalid_prior_notice_duration_min 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, invalid_prior_notice_duration_min. Its documentation describes each rule: MobilityData validator rules.

Rules of the same domain