Skip navigation

Unofficial/Proposed GTFS Data Elements

TriMet's GTFS includes a few unofficial GTFS data elements. These elements are documented below:

agency.txt

Field Name Required Details
bike_policy_url Optional The bike_policy_url specifies the URL of a web page where you can read the details about the agency's bike policy.

linked_datasets.txt

Field Name Required Details
url Required The url field contains the URL of a GTFS-realtime service.
trip_updates Required The trip_updates field contains a binary value that indicates URL contains GTFS-realtime trip updates.

Valid options are:
  • 0 - The dataset at this URL doesn't contain TripUpdate entities.
  • 1 - The dataset at this URL may contain TripUpdate entities.
vehicle_positions Required The vehicle_positions field contains a binary value that indicates URL contains GTFS-realtime vehicle positions.

Valid options are:
  • 0 - The dataset at this URL doesn't contain VehiclePosition entities.
  • 1 - The dataset at this URL may contain VehiclePosition entities.
service_alerts Required The service_alerts field contains a binary value that indicates URL contains GTFS-realtime service alerts.

Valid options are:
  • 0 - The dataset at this URL doesn't contain Alert entities.
  • 1 - The dataset at this URL may contain Alert entities.
authentication_type Required The authentication_type field defines the type of authentication required to access the URL.

Valid options are:
  • 0 - No authentication required
  • 2 - The authentication requires an API key, which should be passed as value of the parameter api_key_parameter_name in the URL. Please visit URL in authentication_info_url for more information.
authentication_info_url Optional The authentication_info_url field contains a URL to a human-readable page describing how the authentication should be performed and how credentials can be created.
api_key_parameter_name Optional The api_key_parameter_name field defines the name of the parameter to pass in the URL to provide the API key.

route_directions.txt

Field Name Required Details
route_id Required ID referencing route.route_id
direction_id Required Indicates the direction of travel for a trip. This field is not used in routing; it provides a way to separate trips by direction when publishing time tables.

Valid options are:
  • 0 - Travel in one direction (e.g. outbound travel)
  • 1 - Travel in the opposite direction (e.g. inbound travel)
direction_name Required The generalized agency direction name used to idenitify route in a specific direction of travel.