You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-types.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,10 +115,10 @@ Events represent changes in vehicle status.
115
115
|`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`|
116
116
|`associated_ticket`| String | Optional | Identifier for an associated ticket inside an Agency-maintained 311 or CRM system |
117
117
|`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.|
122
122
123
123
### Event Times
124
124
@@ -145,9 +145,9 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
145
145
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
146
146
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
147
147
|`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. |
151
151
152
152
### GPS Data
153
153
@@ -245,11 +245,11 @@ A Trip is defined by the following structure:
245
245
|`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]) |
246
246
|`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]) |
247
247
|`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.|
0 commit comments