Skip to content

from_stop_id and to_stop_id not required for transfer_type 4 & 5 #1621

@brodyFlannigan

Description

@brodyFlannigan

Describe the bug

Hi!

The GTFS specification does not explicitly require that from_stop_id and to_stop_id be provided for records in transfers.txt with a transfer_type of 4 or 5. However, the validator reports a missing_required_field error if these two fields are not provided.

Steps/Code to Reproduce

Using the online GTFS validator, validate this file:
transcollines-qc-ca-fares-transfers.zip

(Ignore the other errors about translations and shape distances, those are known and being worked on)

Expected Results

Validator should not report a missing_required_field error if from_stop_id and to_stop_id are not provided in transfers.txt if transfer_type = 4 or 5

Actual Results

Validator returns a missing_required_field error if from_stop_id and to_stop_id are not provided in transfers.txt if transfer_type = 4 or 5

Screenshots

No response

Files used

transcollines-qc-ca-fares-transfers.zip

(Ignore other errors about translations and shape distances, those are known and are being worked on)

Validator version

4.2.1-SNAPSHOT

Operating system

(Web version of validator)

Java version

No response

Additional notes

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working (crash, a rule has a problem)status: ReadyAn issue that is ready to be worked on.

Type

No type

Projects

Status

Done

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions