the parsed GTFS CSV data
Required
Matches the pre-transfer leg’s route network (routes.network_id or networks.network_id).
Must be specified alongside toNetworkId.
OptionalfromConditionally Required
Matches the pre-transfer leg’s ending stop/station (stops.stop_id).
Required if toStopId is defined; optional otherwise.
Required
Matches the post-transfer leg’s route network (routes.network_id or networks.network_id).
Must be specified alongside fromNetworkId.
OptionaltoConditionally Required
Matches the post-transfer leg’s starting stop/station (stops.stop_id).
Required if fromStopId is defined; optional otherwise.
Fare Leg Join Rules
Optional Defines when two consecutive legs with a transfer should be considered as a single “effective fare leg” for the purpose of matching rules in
fare_leg_rules.txt.Primary Key: (
from_network_id,to_network_id,from_stop_id,to_stop_id)Matching Logic:
from_network_idandto_network_idmatch consecutive legs’ networks, andfrom_stop_id/to_stop_idmatch station or stop IDs for the transfer, those two legs merge into one effective leg.