GTFS Express Open GTFS Express

trip_headsign_matches_intermediate_stop: GTFS validation rule (trips.txt) Info

The trip_headsign of a trip in trips.txt is the stop_name of a stop the trip calls at before its last. Riders boarding after that stop read a destination the vehicle has already passed.

Updated on 13 November 2026

What the rule checks

The trip_headsign of a trip in trips.txt is the stop_name of a stop the trip calls at before its last. Riders boarding after that stop read a destination the vehicle has already passed.

Severity: information

An information notice marks a feature of the GTFS that does not affect its conformity. It helps to understand the data and asks for no correction.

Where it applies

The rule applies to trips.txt. This file describes each route's trips: their service, direction and shape.

Finding and correcting it

Open the GTFS in GTFS Express. Reading is free, and the validation, by the MobilityData validator, lists the occurrences of trip_headsign_matches_intermediate_stop 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

trip_headsign_matches_intermediate_stop is the code of the MobilityData GTFS validator, the one its report carries. Its documentation describes the rule: trip_headsign_matches_intermediate_stop on the MobilityData site.

Rules of the same domain