Skip to content

Commit 9502912

Browse files
committed
adapt GTFS links/references to its latest website 📝
1 parent dca0968 commit 9502912

File tree

16 files changed

+23
-23
lines changed

16 files changed

+23
-23
lines changed

lib/agency.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
// https://gtfs.org/schedule/reference/#agencytxt
3+
// https://gtfs.org/documentation/schedule/reference/#agencytxt
44
const beforeAll = (opt) => `\
55
CREATE TABLE "${opt.schema}".agency (
66
agency_id TEXT PRIMARY KEY,

lib/calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
// https://gtfs.org/schedule/reference/#calendartxt
3+
// https://gtfs.org/documentation/schedule/reference/#calendartxt
44
const beforeAll = (opt) => `\
55
CREATE TYPE "${opt.schema}".availability AS ENUM (
66
'not_available' -- 0 – Service is not available for Mondays in the date range.

lib/calendar_dates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
// https://gtfs.org/schedule/reference/#calendar_datestxt
3+
// https://gtfs.org/documentation/schedule/reference/#calendar_datestxt
44
const beforeAll = (opt) => `\
55
CREATE TYPE "${opt.schema}".exception_type_v AS ENUM (
66
'added' -- 1 – Service has been added for the specified date.

lib/deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const getDependencies = (opt, files) => {
5656
// > pathways
5757
// > levels
5858
// > attributions
59-
// https://gtfs.org/schedule/reference/#translationstxt
59+
// https://gtfs.org/documentation/schedule/reference/#translationstxt
6060
// todo: respect opt.*!
6161
// these are soft dependencies, they are not depended upon, they must only be imported first
6262
// todo: only specify dependencies here if the files are not in use

lib/feed_info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
// https://gtfs.org/schedule/reference/#feed_infotxt
3+
// https://gtfs.org/documentation/schedule/reference/#feed_infotxt
44
const beforeAll = (opt) => `\
55
-- The MobilityData GTFS Validator just uses Java's Locale#toLanguageTag() to validate *_lang.
66
-- https://github.com/MobilityData/gtfs-validator/blob/31ff374800f7d7883fd9de91b71049c2a4de4e45/main/src/main/java/org/mobilitydata/gtfsvalidator/validator/MatchingFeedAndAgencyLangValidator.java#L82

lib/frequencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const {formatTime} = require('./util')
44

5-
// https://gtfs.org/schedule/reference/#frequenciestxt
5+
// https://gtfs.org/documentation/schedule/reference/#frequenciestxt
66
const beforeAll = (opt) => `\
77
CREATE TYPE "${opt.schema}".exact_times_v AS ENUM (
88
'frequency_based' -- 0 or empty - Frequency-based trips.

lib/levels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const {formatTime} = require('./util')
44

5-
// https://gtfs.org/schedule/reference/#levelstxt
5+
// https://gtfs.org/documentation/schedule/reference/#levelstxt
66
const beforeAll = (opt) => `\
77
CREATE TABLE "${opt.schema}".levels (
88
level_id TEXT PRIMARY KEY,

lib/pathways.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const {formatTime} = require('./util')
44

5-
// https://gtfs.org/schedule/reference/#pathwaystxt
5+
// https://gtfs.org/documentation/schedule/reference/#pathwaystxt
66
const beforeAll = (opt) => `\
77
CREATE TYPE "${opt.schema}".pathway_mode_v AS ENUM (
88
'walkway' -- 1

lib/routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ const routeTypesSchemes = Object.assign(Object.create(null), {
231231
'tpeg-pti': tpegPtiExtendedRouteTypes,
232232
})
233233

234-
// https://gtfs.org/schedule/reference/#routestxt
234+
// https://gtfs.org/documentation/schedule/reference/#routestxt
235235
const beforeAll = (opt) => {
236236
if (!(opt.routeTypesScheme in routeTypesSchemes)) {
237237
throw new Error(`invalid opt.routeTypesScheme, must be one of these: ${Object.keys(routeTypesSchemes).join(', ')}.`)

lib/shapes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
// https://gtfs.org/schedule/reference/#shapestxt
3+
// https://gtfs.org/documentation/schedule/reference/#shapestxt
44
const beforeAll = (opt) => `\
55
CREATE TABLE "${opt.schema}".shapes (
66
id SERIAL PRIMARY KEY,

0 commit comments

Comments
 (0)