gtfs_engine

A RESTful interface for GTFS data.

View the Project on GitHub sangster/gtfs_engine

FareAttribute

Fare information for a transit organization’s routes.

Fields

fare_id (required; unique)

The fare_id field contains an ID that uniquely identifies a fare class.

The fare_id is dataset unique.

price (required)

The price field contains the fare price, in the unit specified by currency_type.

currency_type (required)

The currency_type field defines the currency used to pay the fare. Please use the ISO 4217 alphabetical currency codes which can be found at the following URL: ISO.org: Currency Codes.

payment_method (required)

The payment_method field indicates when the fare must be paid. Valid values for this field are:

transfers (required)

The transfers field specifies the number of transfers permitted on this fare. Valid values for this field are:

transfer_duration

The transfer_duration field specifies the length of time in seconds before a transfer expires.

When used with a transfers value of 0, the transfer_duration field indicates how long a ticket is valid for a fare where no transfers are allowed. Unless you intend to use this field to indicate ticket validity, transfer_duration should be omitted or empty when transfers is set to 0.