Public Transit API Developer's Guide

Fare

Fare type contains information about a single fare needed for one or more sections of this connection.

Table 1. Fare Type Attributes
Attribute Always Included Type Description
name Yes String Name of the fare.
currency Yes String Local currency of the price compliant to ISO 4217.
price Yes RPrice Price of the fare.
Note: If the fare type is range this attribute includes minimum and maximum price separated with the minus ('-') sign.
sec_ids Yes IDREFS Whitespace-separated list of section ids of a Connection covered by the given Fare.
estimated - Boolean Attribute value is 1 if the fare price is estimated, 0 if it's an exact value.

The default is 0.

reason - FareReason Reason for the cost described in this Fare element.

The default is ride.

Table 2. Fare Type Elements
Element Always Included Type Description
Link - List of Link Specifies a link to a web resource.