Skip to content

Commit bc331ef

Browse files
committed
Added gtfs_ to new fixed route reference fields
1 parent 451a6f9 commit bc331ef

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

data-types.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ 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-
| `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-
| `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` |
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` |
120120
| `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` |
121121
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
122122

@@ -145,8 +145,8 @@ 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-
| `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-
| `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` |
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` |
150150
| `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` |
151151

152152
### GPS Data
@@ -245,9 +245,9 @@ 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-
| `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-
| `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-
| `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` |
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` |
251251
| `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` |
252252
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
253253

0 commit comments

Comments
 (0)