Public Transit API Developer's Guide

Transport

Transport specifies a list of attributes related to a transport.

Table 1. Transport Type Attributes
Attribute Always Included Type Description
name - String Name of the line for public transit modes or of the veicle for some other mode of transport. Walk mode don't include this attribute.
mode Yes Integer Numerical code of the transport mode. See Transit Modes.
dir - String Direction of the line, usually specified as the destination station.
Table 2. Transport Type Elements
Element Always Included Type Description
At - List of At At is an attribute within an list of attributes. Each of these individual attributes contains an id and a value. The id specifies the type of information related to the value.
Link - List of Link Specifies a link to a web resource.