GTFS Express Open GTFS Express

stop_time_with_only_arrival_or_departure_time: GTFS validation rule Error

Exactly one of arrival_time / departure_time is provided: the spec requires both or neither.

Updated on 23 October 2026

What the rule checks

Exactly one of arrival_time / departure_time is provided: the spec requires both or neither.

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 stop_times.txt. This file gives, for each trip, its stops in order with their times.

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 stop_time_with_only_arrival_or_departure_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, stop_time_with_only_arrival_or_departure_time. Its documentation describes each rule: MobilityData validator rules.

Rules of the same domain