Skip to content

Commit 9a2d3c4

Browse files
authored
Added more detailed GTFS references
Signed-off-by: Michael Schnuerle <1285077+schnuerle@users.noreply.github.com>
1 parent 55fdd0f commit 9a2d3c4

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

data-types.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ Events represent changes in vehicle status.
115115
| `trip_ids` | UUID[] | Required if Applicable | Trip UUIDs (foreign key to /trips endpoint), required if `event_types` contains `trip_start`, `trip_end`, `trip_cancel`, `trip_enter_jurisdiction`, or `trip_leave_jurisdiction` |
116116
| `associated_ticket` | String | Optional | Identifier for an associated ticket inside an Agency-maintained 311 or CRM system |
117117
| `stop_sequence` | Integer | Required if Applicable | Order of stops for a particular trip. The values must increase along the trip, but do not need to be consecutive. |
118-
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
119-
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
120-
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` |
121-
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
118+
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` in routes.txt and trips.txt files. |
119+
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` in calendar.txt file. |
120+
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` in the trips.txt and other files.|
121+
| `gtfs_api_url` | String | Required if Applicable | Full URL to the location where the associated [GTFS](https://gtfs.org/documentation/schedule/reference/) dataset zip files are located. |
122122

123123
### Event Times
124124

@@ -145,9 +145,9 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
145145
| `battery_percent` | Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
146146
| `fuel_percent` | Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
147147
| `tipped_over` | Boolean | Required if Known | If detectable and known, is the device tipped over or not? Default is 'false'. |
148-
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
149-
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
150-
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` |
148+
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` in routes.txt and trips.txt files. |
149+
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` in calendar.txt file. |
150+
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` in the trips.txt and other files. |
151151

152152
### GPS Data
153153

@@ -245,11 +245,11 @@ A Trip is defined by the following structure:
245245
| `standard_cost` | Integer | Optional | The cost, in the currency defined in `currency`, to perform that trip in the standard operation of the System (see [Costs & Currencies][costs-and-currencies]) |
246246
| `actual_cost` | Integer | Optional | The actual cost, in the currency defined in `currency`, paid by the customer of the *mobility as a service* provider (see [Costs & Currencies][costs-and-currencies]) |
247247
| `currency` | String | Optional, USD cents is implied if null.| An [ISO 4217 Alphabetic Currency Code][iso4217] representing the currency of the payee (see [Costs & Currencies][costs-and-currencies]) |
248-
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
249-
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
250-
| `gtfs_shape_id` | UUID | Required if Applicable | A unique shape ID describing the shape of an individual trip for mapping purposes. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `shape_id` |
251-
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` |
252-
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
248+
| `gtfs_route_id` | String | Required if Applicable | A unique route ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` in routes.txt and trips.txt files. |
249+
| `gtfs_service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` in calendar.txt file. |
250+
| `gtfs_shape_id` | UUID | Required if Applicable | A unique shape ID describing the shape of an individual trip for mapping purposes. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `shape_id` in the shapes.txt file. |
251+
| `gtfs_trip_id` | UUID | Required if Applicable | A unique trip ID for the associated scheduled GTFS route-trip. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `trip_id` in the trips.txt and other files.|
252+
| `gtfs_api_url` | String | Required if Applicable | Full URL to the location where the associated [GTFS](https://gtfs.org/documentation/schedule/reference/) dataset zip files are located. |
253253

254254
[Top][toc]
255255

0 commit comments

Comments
 (0)