gis-tools-ts - v0.6.0
    Preparing search index...

    Class GTFSFareAttribute

    Fare Attributes (GTFS-Fares V1)

    Optional - But required if using GTFS-Fares V1 approach. Defines basic fare information such as price, currency, and transfer limits.

    Index

    Constructors

    Properties

    agencyId?: string

    Conditionally Required Agency for the specified fare. Required if multiple agencies exist in agency.txt.

    currencyType: string

    Required Currency code (e.g., "USD", "EUR").

    id: string

    Required Identifies a fare class.

    paymentMethod: GTFSPaymentMethod

    Required When the fare must be paid.

    • 0 = Paid on board
    • 1 = Must be paid before boarding
    price: number

    Required Fare price in the currency specified by currencyType.

    transferDuration?: number

    Optional Length of time in seconds before a transfer (or this fare) expires. When transfers=0, may indicate ticket validity duration or be empty.

    Required Number of transfers permitted on this fare.

    • 0 = No transfers
    • 1 = One transfer
    • 2 = Two transfers
    • '' (empty) = Unlimited transfers