new Agency( name, url, timezone [, optional ] )

Description

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

Parameters
Name Type Attributes Description
name string

Agency Name

url string

Agency URL

timezone string

Agency Timezone

optional Object <optional>

Optional Arguments

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

Details

Members


name :string

Description

Full name of the transit agency

Details
string

url :string

Description

Fully qualified and escaped URL of the transit agency

Details
string

timezone :string

Description

Timezone code where the transit agency is located

Details
string

id :string

Description

Unique ID that identifies the transit agency

Details
string

lang :string

Description

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

Details
string

phone :string

Description

A single voice telephone number for the transit agency

Details
string

fareUrl :string

Description

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

Details
string

email :string

Description

A single valid email address for contacting the transit agency

Details
string