forked from ibi-group/datatools-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtfs.yml
742 lines (722 loc) · 36.2 KB
/
gtfs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
---
- id: feedinfo
name: feed_info.txt
helpContent: The file contains information about the feed itself, rather than the services that the feed describes. GTFS currently has an agency.txt file to provide information about the agencies that operate the services described by the feed. However, the publisher of the feed is sometimes a different entity than any of the agencies (in the case of regional aggregators). In addition, there are some fields that are really feed-wide settings, rather than agency-wide.
fields:
- name: "feed_publisher_name"
required: true
inputType: TEXT
columnWidth: 12
helpContent: "The feed_publisher_name field contains the full name of the organization that publishes the feed. (This may be the same as one of the agency_name values in agency.txt.) GTFS-consuming applications can display this name when giving attribution for a particular feed's data."
- name: "feed_publisher_url"
required: true
inputType: URL
columnWidth: 12
helpContent: "The feed_publisher_url field contains the URL of the feed publishing organization's website. (This may be the same as one of the agency_url values in agency.txt.) The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped. See http://www.w3.org/Addressing/URL/4_URI_Recommentations.html for a description of how to create fully qualified URL values."
- name: "feed_lang"
required: true
inputType: LANGUAGE
columnWidth: 12
helpContent: "The feed_lang field contains a IETF BCP 47 language code specifying the default language used for the text in this feed. This setting helps GTFS consumers choose capitalization rules and other language-specific settings for the feed. For an introduction to IETF BCP 47, please refer to http://www.rfc-editor.org/rfc/bcp/bcp47.txt and http://www.w3.org/International/articles/language-tags/."
- name: "feed_start_date"
required: false
inputType: DATE
columnWidth: 12
helpContent: "The feed provides complete and reliable schedule information for service in the period from the beginning of the feed_start_date day to the end of the feed_end_date day. Both days are given as dates in YYYYMMDD format as for calendar.txt, or left empty if unavailable. The feed_end_date date must not precede the feed_start_date date if both are given. Feed providers are encouraged to give schedule data outside this period to advise of likely future service, but feed consumers should treat it mindful of its non-authoritative status. If feed_start_date or feed_end_date extend beyond the active calendar dates defined in calendar.txt and calendar_dates.txt, the feed is making an explicit assertion that there is no service for dates within the feed_start_date or feed_end_date range but not included in the active calendar dates."
- name: "feed_end_date"
required: false
inputType: DATE
columnWidth: 12
helpContent: "The feed provides complete and reliable schedule information for service in the period from the beginning of the feed_start_date day to the end of the feed_end_date day. Both days are given as dates in YYYYMMDD format as for calendar.txt, or left empty if unavailable. The feed_end_date date must not precede the feed_start_date date if both are given. Feed providers are encouraged to give schedule data outside this period to advise of likely future service, but feed consumers should treat it mindful of its non-authoritative status. If feed_start_date or feed_end_date extend beyond the active calendar dates defined in calendar.txt and calendar_dates.txt, the feed is making an explicit assertion that there is no service for dates within the feed_start_date or feed_end_date range but not included in the active calendar dates."
- name: default_route_color
displayName: Default color
datatools: true
required: false
inputType: COLOR
columnWidth: 6
- name: default_route_type
displayName: Default route type
datatools: true
columnWidth: 6
required: false
inputType: DROPDOWN
options:
- value: 3
text: Bus
- value: 0
text: Tram
- value: 1
text: Subway
- value: 2
text: Rail
- value: 4
text: Ferry
- value: 5
text: Cable car
- value: 6
text: Gondola
- value: 7
text: Funicular
- name: "feed_version"
required: false
inputType: TEXT
columnWidth: 12
helpContent: "The feed publisher can specify a string here that indicates the current version of their GTFS feed. GTFS-consuming applications can display this value to help feed publishers determine whether the latest version of their feed has been incorporated."
- id: agency
name: agency.txt
helpContent: One or more transit agencies that provide the data in this feed.
fields:
- name: "agency_id"
required: false
inputType: GTFS_ID
columnWidth: 12
helpContent: "The agency_id field is an ID that uniquely identifies a transit agency. A transit feed may represent data from more than one agency. The agency_id is dataset unique. This field is optional for transit feeds that only contain data for a single agency."
- name: "agency_name"
required: true
inputType: TEXT
columnWidth: 12
helpContent: "The agency_name field contains the full name of the transit agency. Google Maps will display this name."
- name: "agency_url"
required: true
inputType: URL
placeholder: https://agency.org
columnWidth: 12
helpContent: "The agency_url field contains the URL of the transit agency. The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped."
- name: "agency_timezone"
required: true
inputType: TIMEZONE
columnWidth: 12
helpContent: "The agency_timezone field contains the timezone where the transit agency is located. Timezone names never contain the space character but may contain an underscore. If multiple agencies are specified in the feed, each must have the same agency_timezone."
- name: "agency_lang"
required: false
inputType: LANGUAGE
columnWidth: 12
helpContent: "The agency_lang field contains a two-letter ISO 639-1 code for the primary language used by this transit agency. The language code is case-insensitive (both en and EN are accepted). This setting defines capitalization rules and other language-specific settings for all text contained in this transit agency's feed. Please refer to http://www.loc.gov/standards/iso639-2/php/code_list.php for a list of valid values."
- name: "agency_phone"
required: false
inputType: TEXT
columnWidth: 12
helpContent: "The agency_phone field contains a single voice telephone number for the specified agency. This field is a string value that presents the telephone number as typical for the agency's service area. It can and should contain punctuation marks to group the digits of the number. Dialable text (for example, TriMet's \"503-238-RIDE\") is permitted, but the field must not contain any other descriptive text."
- name: "agency_fare_url"
required: false
inputType: URL
placeholder: https://agency.org/fares
columnWidth: 12
helpContent: "The agency_fare_url specifies the URL of a web page that allows a rider to purchase tickets or other fare instruments for that agency online. The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped. Seehttp://www.w3.org/Addressing/URL/4_URI_Recommentations.html for a description of how to create fully qualified URL values."
- name: "agency_email"
required: false
inputType: EMAIL
placeholder: [email protected]
columnWidth: 12
helpContent: "The agency_email field contains a single valid email address actively monitored by the agency’s customer service department. This email address will be considered a direct contact point where transit riders can reach a customer service representative at the agency."
- name: agency_branding_url
required: false
displayName: Agency branding URL
datatools: false
placeholder: https://agency.org/assets/agency/XYZ
inputType: URL
columnWidth: 12
helpContent:
- id: stop
name: stops.txt
helpContent: Individual locations where vehicles pick up or drop off passengers.
fields:
- name: "stop_id"
required: true
inputType: GTFS_ID
columnWidth: 6
helpContent: "The stop_id field contains an ID that uniquely identifies a stop or station. Multiple routes may use the same stop. The stop_id is dataset unique."
- name: "stop_code"
required: false
inputType: GTFS_ID
columnWidth: 6
helpContent: "The stop_code field contains short text or a number that uniquely identifies the stop for passengers. Stop codes are often used in phone-based transit information systems or printed on stop signage to make it easier for riders to get a stop schedule or real-time arrival information for a particular stop."
- name: "stop_name"
required: true
inputType: TEXT
columnWidth: 12
helpContent: "The stop_name field contains the name of a stop or station. Please use a name that people will understand in the local and tourist vernacular."
- name: "stop_desc"
required: false
inputType: TEXT
columnWidth: 12
helpContent: "The stop_desc field contains a description of a stop. Please provide useful, quality information. Do not simply duplicate the name of the stop."
- name: "stop_lat"
required: true
inputType: LATITUDE
columnWidth: 6
helpContent: "The stop_lat field contains the latitude of a stop or station. The field value must be a valid WGS 84 latitude."
- name: "stop_lon"
required: true
inputType: LONGITUDE
columnWidth: 6
helpContent: "The stop_lon field contains the longitude of a stop or station. The field value must be a valid WGS 84 longitude value from -180 to 180."
- name: "zone_id"
required: false
inputType: GTFS_ZONE
columnWidth: 12
helpContent: "The zone_id field defines the fare zone for a stop ID. Zone IDs are required if you want to provide fare information using fare_rules.txt. If this stop ID represents a station, the zone ID is ignored."
- name: "stop_url"
required: false
inputType: URL
columnWidth: 12
helpContent: "The stop_url field contains the URL of a web page about a particular stop. This should be different from the agency_url and the route_url fields."
- name: "location_type"
required: false
inputType: DROPDOWN
options:
- value: '0'
text: Stop (0)
- value: '1'
text: Station (1)
columnWidth: 12
helpContent: "The location_type field identifies whether this stop ID represents a stop or station. If no location type is specified, or the location_type is blank, stop IDs are treated as stops. Stations may have different properties from stops when they are represented on a map or used in trip planning."
- name: "parent_station"
required: false
inputType: GTFS_STOP
columnWidth: 12
helpContent: "For stops that are physically located inside stations, the parent_station field identifies the station associated with the stop. To use this field, stops.txt must also contain a row where this stop ID is assigned location type=1."
- name: "stop_timezone"
required: false
inputType: TIMEZONE
columnWidth: 12
helpContent: "The stop_timezone field contains the timezone in which this stop or station is located. If omitted, the stop should be assumed to be located in the timezone specified byagency_timezone in agency.txt."
- name: "wheelchair_boarding"
required: false
inputType: DROPDOWN
options:
- value: 0
text: No information (0)
- value: 1
text: At least some vehicles (1)
- value: 2
text: Not possible (2)
columnWidth: 12
helpContent: "The wheelchair_boarding field identifies whether wheelchair boardings are possible from the specified stop or station. The field can have the following values:"
- id: route
name: routes.txt
helpContent: This file contains information for a route.
fields:
- name: status
datatools: true
displayName: Status
required: true
inputType: DROPDOWN
options:
- value: 0
text: 'In Progress'
- value: 1
text: 'Pending Approval'
- value: 2
text: 'Approved'
columnWidth: 6
adminOnly: true
# helpContent: The route_id field contains an ID that uniquely identifies a route. The route_id is dataset unique.
- name: publicly_visible
datatools: true
displayName: Public?
required: true
inputType: DROPDOWN
options:
- value: 0
text: 'No'
- value: 1
text: 'Yes'
columnWidth: 6
adminOnly: true
# helpContent: The route_id field contains an ID that uniquely identifies a route. The route_id is dataset unique.
- name: route_id
required: true
inputType: GTFS_ID
columnWidth: 5
helpContent: The route_id field contains an ID that uniquely identifies a route. The route_id is dataset unique.
- name: route_short_name
required: true
inputType: TEXT
columnWidth: 7
helpContent: The route_short_name contains the short name of a route. This will often be a short, abstract identifier like "32", "100X", or "Green" that riders use to identify a route, but which doesn't give any indication of what places the route serves.
- name: route_long_name
required: true
inputType: TEXT
columnWidth: 12
helpContent: The route_long_name contains the full name of a route. This name is generally more descriptive than the route_short_name and will often include the route's destination or stop. At least one of route_short_name or route_long_name must be specified, or potentially both if appropriate. If the route does not have a long name, please specify a route_short_name and use an empty string as the value for this field.
- name: agency_id
required: false
inputType: GTFS_AGENCY
columnWidth: 12
helpContent: The agency_id field defines an agency for the specified route. This value is referenced from the agency.txt file. Use this field when you are providing data for routes from more than one agency.
- name: route_desc
required: false
inputType: TEXT
columnWidth: 12
helpContent: 'Contains a description of a route. Please provide useful, quality information. Do not simply duplicate the name of the route. For example, "A trains operate between Inwood-207 St, Manhattan and Far Rockaway-Mott Avenue, Queens at all times. Also from about 6AM until about midnight, additional A trains operate between Inwood-207 St and Lefferts Boulevard (trains typically alternate between Lefferts Blvd and Far Rockaway)."'
- name: route_type
required: true
inputType: DROPDOWN
options:
- value: 3
text: Bus
- value: 0
text: Tram
- value: 1
text: Subway
- value: 2
text: Rail
- value: 4
text: Ferry
- value: 5
text: Cable car
- value: 6
text: Gondola
- value: 7
text: Funicular
columnWidth: 6
helpContent: The route_type field describes the type of transportation used on a route. Valid values for this field are...
- name: route_sort_order
required: false
inputType: POSITIVE_INT
columnWidth: 6
helpContent: The route_sort_order field can be used to order the routes in a way which is ideal for presentation to customers. It must be a non-negative integer. Routes with smaller route_sort_order values should be displayed before routes with larger route_sort_order values.
- name: route_url
required: false
inputType: URL
placeholder: https://agency.org/route/1234
columnWidth: 12
helpContent: The route_url field contains the URL of a web page about that particular route. This should be different from the agency_url.
- name: route_color
required: false
inputType: COLOR
placeholder: 'FF0000'
columnWidth: 6
helpContent: In systems that have colors assigned to routes, the route_color field defines a color that corresponds to a route. The color must be provided as a six-character hexadecimal number, for example, 00FFFF. If no color is specified, the default route color is white (FFFFFF).
- name: route_text_color
required: false
inputType: DROPDOWN
options:
- value: 'FFFFFF'
text: White
- value: '000000'
text: Black
columnWidth: 6
helpContent: The route_text_color field can be used to specify a legible color to use for text drawn against a background of route_color. The color must be provided as a six-character hexadecimal number, for example, FFD700. If no color is specified, the default text color is black (000000).
- name: wheelchair_accessible
required: false
displayName: Is route wheelchair accessible?
inputType: DROPDOWN
columnWidth: 12
helpContent: Indicates whether vehicles that operate on this route are wheelchair accessible.
options:
- value: 0
text: No information (0)
- value: 1
text: Yes (1)
- value: 2
text: No (2)
- name: route_branding_url
required: false
displayName: Route branding URL
datatools: false
placeholder: https://agency.org/assets/route/1234
inputType: URL
columnWidth: 12
helpContent:
- id: trip
name: trips.txt
helpContent: Trips for each route. A trip is a sequence of two or more stops that occurs at specific time.
fields:
- name: "route_id"
required: true
inputType: GTFS_ROUTE
columnWidth: 6
helpContent: "The route_id field contains an ID that uniquely identifies a route. This value is referenced from the routes.txt file."
- name: "service_id"
required: true
inputType: GTFS_SERVICE
columnWidth: 6
helpContent: "The service_id contains an ID that uniquely identifies a set of dates when service is available for one or more routes. This value is referenced from thecalendar.txt or calendar_dates.txt file."
- name: "trip_id"
required: true
inputType: GTFS_ID
columnWidth: 6
helpContent: "The trip_id field contains an ID that identifies a trip. The trip_id is dataset unique."
- name: "trip_headsign"
required: false
inputType: TEXT
columnWidth: 6
helpContent: "The trip_headsign field contains the text that appears on a sign that identifies the trip's destination to passengers. Use this field to distinguish between different patterns of service in the same route. If the headsign changes during a trip, you can override the trip_headsign by specifying values for the the stop_headsign field in stop_times.txt."
- name: "trip_short_name"
required: false
inputType: TEXT
columnWidth: 6
helpContent: "The trip_short_name field contains the text that appears in schedules and sign boards to identify the trip to passengers, for example, to identify train numbers for commuter rail trips. If riders do not commonly rely on trip names, please leave this field blank."
- name: "direction_id"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The direction_id field contains a binary value that indicates the direction of travel for a trip. Use this field to distinguish between bi-directional trips with the same route_id. This field is not used in routing; it provides a way to separate trips by direction when publishing time tables. You can specify names for each direction with the trip_headsign field."
- name: "block_id"
required: false
inputType: GTFS_BLOCK
columnWidth: 6
helpContent: "The block_id field identifies the block to which the trip belongs. A block consists of two or more sequential trips made using the same vehicle, where a passenger can transfer from one trip to the next just by staying in the vehicle. The block_id must be referenced by two or more trips in trips.txt."
- name: "shape_id"
required: false
inputType: GTFS_SHAPE
columnWidth: 6
helpContent: "The shape_id field contains an ID that defines a shape for the trip. This value is referenced from the shapes.txt file. The shapes.txt file allows you to define how a line should be drawn on the map to represent a trip."
- name: "wheelchair_accessible"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
- value: '2'
columnWidth: 6
helpContent: "0 (or empty) - indicates that there is no accessibility information for the trip"
- name: "bikes_allowed"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
- value: '2'
columnWidth: 6
helpContent: "0 (or empty) - indicates that there is no bike information for the trip"
- id: stop_time
name: stop_times.txt
helpContent: Times that a vehicle arrives at and departs from individual stops for each trip.
fields:
- name: "trip_id"
required: true
inputType: GTFS_TRIP
columnWidth: 6
helpContent: "The trip_id field contains an ID that identifies a trip. This value is referenced from the trips.txt file."
- name: "arrival_time"
required: true
inputType: TIME
columnWidth: 6
helpContent: "The arrival_time specifies the arrival time at a specific stop for a specific trip on a route. The time is measured from "
- name: "departure_time"
required: true
inputType: TIME
columnWidth: 6
helpContent: "The departure_time specifies the departure time from a specific stop for a specific trip on a route. The time is measured from "
- name: "stop_id"
required: true
inputType: GTFS_STOP
columnWidth: 6
helpContent: "The stop_id field contains an ID that uniquely identifies a stop. Multiple routes may use the same stop. The stop_id is referenced from the stops.txt file. If location_type is used in stops.txt, all stops referenced in stop_times.txt must have location_type of 0."
- name: "stop_sequence"
required: true
inputType: POSITIVE_INT
columnWidth: 6
helpContent: "The stop_sequence field identifies the order of the stops for a particular trip. The values for stop_sequence must be non-negative integers, and they must increase along the trip."
- name: "stop_headsign"
required: false
inputType: TEXT
columnWidth: 6
helpContent: "The stop_headsign field contains the text that appears on a sign that identifies the trip's destination to passengers. Use this field to override the defaulttrip_headsign when the headsign changes between stops. If this headsign is associated with an entire trip, use trip_headsign instead."
- name: "pickup_type"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
- value: '2'
- value: '3'
columnWidth: 6
helpContent: "The pickup_type field indicates whether passengers are picked up at a stop as part of the normal schedule or whether a pickup at the stop is not available. This field also allows the transit agency to indicate that passengers must call the agency or notify the driver to arrange a pickup at a particular stop. Valid values for this field are:"
- name: "drop_off_type"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
- value: '2'
- value: '3'
columnWidth: 6
helpContent: "The drop_off_type field indicates whether passengers are dropped off at a stop as part of the normal schedule or whether a drop off at the stop is not available. This field also allows the transit agency to indicate that passengers must call the agency or notify the driver to arrange a drop off at a particular stop. Valid values for this field are:"
- name: "shape_dist_traveled"
required: false
inputType: POSITIVE_NUM
columnWidth: 6
helpContent: "When used in the stop_times.txt file, the shape_dist_traveled field positions a stop as a distance from the first shape point. The shape_dist_traveled field represents a real distance traveled along the route in units such as feet or kilometers. For example, if a bus travels a distance of 5.25 kilometers from the start of the shape to the stop, the shape_dist_traveled for the stop ID would be entered as "
- name: "timepoint"
required: false
inputType: DROPDOWN
options:
- value: ''
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The timepoint field can be used to indicate if the specified arrival and departure times for a stop are strictly adhered to by the transit vehicle or if they are instead approximate and/or interpolated times. The field allows a GTFS producer to provide interpolated stop times that potentially incorporate local knowledge, but still indicate if the times are approximate. For stop-time entries with specified arrival and departure times, valid values for this field are:"
- id: calendar
name: calendar.txt
helpContent: Dates for service IDs using a weekly schedule. Specify when service starts and ends, as well as days of the week where service is available.
fields:
- name: "service_id"
required: true
inputType: GTFS_ID
columnWidth: 6
helpContent: "The service_id contains an ID that uniquely identifies a set of dates when service is available for one or more routes. Each service_id value can appear at most once in a calendar.txt file. This value is dataset unique. It is referenced by the trips.txt file."
- name: "description"
required: false
datatools: true
inputType: TEXT
columnWidth: 6
helpContent:
- name: "monday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The monday field contains a binary value that indicates whether the service is valid for all Mondays."
- name: "tuesday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The tuesday field contains a binary value that indicates whether the service is valid for all Tuesdays."
- name: "wednesday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The wednesday field contains a binary value that indicates whether the service is valid for all Wednesdays."
- name: "thursday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The thursday field contains a binary value that indicates whether the service is valid for all Thursdays."
- name: "friday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The friday field contains a binary value that indicates whether the service is valid for all Fridays."
- name: "saturday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The saturday field contains a binary value that indicates whether the service is valid for all Saturdays."
- name: "sunday"
required: true
inputType: DAY_OF_WEEK_BOOLEAN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The sunday field contains a binary value that indicates whether the service is valid for all Sundays."
- name: "start_date"
required: true
inputType: DATE
columnWidth: 12
helpContent: "The start_date field contains the start date for the service."
- name: "end_date"
required: true
inputType: DATE
columnWidth: 12
helpContent: "The end_date field contains the end date for the service. This date is included in the service interval."
- id: calendar_dates
name: calendar_dates.txt
helpContent: Exceptions for the service IDs defined in the calendar.txt file. If calendar_dates.txt includes ALL dates of service, this file may be specified instead of calendar.txt.
fields:
- name: "service_id"
required: true
inputType: GTFS_SERVICE
columnWidth: 6
helpContent: "The service_id contains an ID that uniquely identifies a set of dates when a service exception is available for one or more routes. Each (service_id, date) pair can only appear once in calendar_dates.txt. If the a service_id value appears in both the calendar.txt and calendar_dates.txt files, the information in calendar_dates.txt modifies the service information specified in calendar.txt. This field is referenced by the trips.txt file."
- name: "date"
required: true
inputType: DATE
columnWidth: 12
helpContent: "The date field specifies a particular date when service availability is different than the norm. You can use the exception_type field to indicate whether service is available on the specified date."
- name: "exception_type"
required: true
inputType: DROPDOWN
options:
- value: '1'
- value: '2'
columnWidth: 6
helpContent: "The exception_type indicates whether service is available on the date specified in thedate field."
- id: fare_attributes
name: fare_attributes.txt
helpContent: Fare information for a transit organization's routes.
fields:
- name: "fare_id"
required: true
inputType: GTFS_ID
columnWidth: 6
helpContent: "The fare_id field contains an ID that uniquely identifies a fare class. The fare_id is dataset unique."
- name: "price"
required: true
inputType: NUMBER
columnWidth: 6
helpContent: "The price field contains the fare price, in the unit specified by currency_type."
- name: "currency_type"
required: true
inputType: DROPDOWN
options:
- value: 'USD'
- value: 'EUR'
- value: 'GBP'
columnWidth: 12
helpContent: "The currency_type field defines the currency used to pay the fare. Please use the ISO 4217 alphabetical currency codes which can be found at the following URL:http://en.wikipedia.org/wiki/ISO_4217."
- name: "payment_method"
required: true
inputType: DROPDOWN
options:
- value: '0'
text: Paid on board (0)
- value: '1'
text: Paid before boarding (1)
columnWidth: 12
helpContent: "The payment_method field indicates when the fare must be paid. Valid values for this field are:"
- name: "transfers"
required: true
inputType: DROPDOWN
options:
- value: '0'
text: No transfers permitted (0)
- value: '1'
text: One transfers permitted (1)
- value: '2'
text: Two transfers permitted (2)
- value: ''
text: Unlimited transfers (empty)
columnWidth: 6
helpContent: "The transfers field specifies the number of transfers permitted on this fare. Valid values for this field are:"
- name: "transfer_duration"
required: false
inputType: POSITIVE_INT
columnWidth: 6
helpContent: "The transfer_duration field specifies the length of time in seconds before a transfer expires."
- name: agency_id
required: false
inputType: GTFS_AGENCY
columnWidth: 12
helpContent: "Required for feeds with multiple agencies defined in the agency.txt file. Each fare attribute must specify an agency_id value to indicate which agency the fare applies to."
- id: fare_rules
name: fare_rules.txt
helpContent: Rules for applying fare information for a transit organization's routes.
fields:
- name: "fare_id"
required: true
inputType: GTFS_FARE
columnWidth: 6
helpContent: "The fare_id field contains an ID that uniquely identifies a fare class. This value is referenced from the fare_attributes.txt file."
- name: "route_id"
required: false
inputType: GTFS_ROUTE
columnWidth: 12
helpContent: "The route_id field associates the fare ID with a route. Route IDs are referenced from the routes.txt file. If you have several routes with the same fare attributes, create a row in fare_rules.txt for each route."
- name: "origin_id"
required: false
inputType: GTFS_ZONE
columnWidth: 6
helpContent: "The origin_id field associates the fare ID with an origin zone ID. Zone IDs are referenced from the stops.txt file. If you have several origin IDs with the same fare attributes, create a row in fare_rules.txt for each origin ID."
- name: "destination_id"
required: false
inputType: GTFS_ZONE
columnWidth: 6
helpContent: "The destination_id field associates the fare ID with a destination zone ID. Zone IDs are referenced from the stops.txt file. If you have several destination IDs with the same fare attributes, create a row in fare_rules.txt for each destination ID."
- name: "contains_id"
required: false
inputType: GTFS_ZONE
columnWidth: 6
helpContent: "The contains_id field associates the fare ID with a zone ID, referenced from thestops.txt file. The fare ID is then associated with itineraries that pass through every contains_id zone."
- id: frequencies
name: frequencies.txt
helpContent: Headway (time between trips) for routes with variable frequency of service.
fields:
- name: "trip_id"
required: true
inputType: GTFS_TRIP
columnWidth: 6
helpContent: "The trip_id contains an ID that identifies a trip on which the specified frequency of service applies. Trip IDs are referenced from the trips.txt file."
- name: "start_time"
required: true
inputType: TIME
columnWidth: 6
helpContent: "The start_time field specifies the time at which service begins with the specified frequency. The time is measured from "
- name: "end_time"
required: true
inputType: TIME
columnWidth: 6
helpContent: "The end_time field indicates the time at which service changes to a different frequency (or ceases) at the first stop in the trip. The time is measured from "
- name: "headway_secs"
required: true
inputType: POSITIVE_INT
columnWidth: 6
helpContent: "The headway_secs field indicates the time between departures from the same stop (headway) for this trip type, during the time interval specified by start_time andend_time. The headway value must be entered in seconds."
- name: "exact_times"
required: false
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
columnWidth: 6
helpContent: "The exact_times field determines if frequency-based trips should be exactly scheduled based on the specified headway information. Valid values for this field are:"
- id: transfers
name: transfers.txt
helpContent: Rules for making connections at transfer points between routes.
fields:
- name: "from_stop_id"
required: true
inputType: GTFS_STOP
columnWidth: 12
helpContent: "The from_stop_id field contains a stop ID that identifies a stop or station where a connection between routes begins. Stop IDs are referenced from the stops.txt file. If the stop ID refers to a station that contains multiple stops, this transfer rule applies to all stops in that station."
- name: "to_stop_id"
required: true
inputType: GTFS_STOP
columnWidth: 12
helpContent: "The to_stop_id field contains a stop ID that identifies a stop or station where a connection between routes ends. Stop IDs are referenced from the stops.txt file. If the stop ID refers to a station that contains multiple stops, this transfer rule applies to all stops in that station."
- name: "transfer_type"
required: true
inputType: DROPDOWN
options:
- value: '0'
- value: '1'
- value: '2'
- value: '3'
columnWidth: 6
helpContent: "The transfer_type field specifies the type of connection for the specified (from_stop_id, to_stop_id) pair. Valid values for this field are:"
- name: "min_transfer_time"
required: false
inputType: POSITIVE_INT
columnWidth: 6
helpContent: "When a connection between routes requires an amount of time between arrival and departure (transfer_type=2), the min_transfer_time field defines the amount of time that must be available in an itinerary to permit a transfer between routes at these stops. The min_transfer_time must be sufficient to permit a typical rider to move between the two stops, including buffer time to allow for schedule variance on each route."
- id: scheduleexception
name: (none)
helpContent: Conveyal-specific table for classifying schedule exceptions.
fields:
- name: name
required: true
- name: dates
required: true
inputType: EXCEPTION_DATE
- name: exemplar
required: true
- name: custom_schedule
required: false
- name: removed_service
required: false
- name: added_service
required: false