Agency

Agency

GTFS Agency

Representation of the GTFS Agency definition.

GTFS Required Fields:

  • Agency Name
  • Agency URL
  • Agency Timezone

GTFS Optional Fields:

  • Agency ID
  • Agency Language Code
  • Agency Phone Number
  • Agency Fare URL
  • Agency Email

Module: gtfs/Agency

Constructor

new Agency(name, url, timezone, optionalopt)

Source:
See:

Agency Constructor

Parameters:
Name Type Attributes Description
name string

Agency Name

url string

Agency URL

timezone string

Agency Timezone

optional Object <optional>

Optional Arguments

Properties
Name Type Attributes Description
id string <optional>

Agency ID

lang string <optional>

Agency Language Code (two-letter ISO 639-1 code)

phone string <optional>

Agency Phone Number

fareUrl string <optional>

Agency fare website URL

email string <optional>

Agency contact email

Members

email :string

Source:

A single valid email address for contacting the transit agency

Type:
  • string

fareUrl :string

Source:

The URL of a web page that can be used to purchase tickets for the transit agency

Type:
  • string

id :string

Source:

Unique ID that identifies the transit agency

Type:
  • string

lang :string

Source:

The two-letter (ISO 639-1) language code for the primary language used by the transit agency

Type:
  • string

name :string

Source:

Full name of the transit agency

Type:
  • string

phone :string

Source:

A single voice telephone number for the transit agency

Type:
  • string

timezone :string

Source:
See:

Timezone code where the transit agency is located

Type:
  • string

url :string

Source:

Fully qualified and escaped URL of the transit agency

Type:
  • string