Skip to content

Commit f3561ed

Browse files
Update data-types.md
MDS Events - removed gtfs_route_id, gtfs_trip_id, gtfs_service_id, gtfs_api_url; These can all be found by linking to MDS trips with MDS trip_id. - removed stop_sequence; We can get this information ourselves using the stop_id and timestamp fields for each MDS trip_id so this field doesn't need to be part of the spec MDS Telemetry - removed gtfs_route_id, gtfs_trip_id, gtfs_service_id; These can all be found by linking to MDS trips with MDS trip_id. MDS Trips - remove gtfs_route_id, gtfs_service_id, gtfs_shape_id; These can all be found by linking to GTFS trips with GTFS trip_id and the GTFS API URL. Signed-off-by: Matthew Marwedel <105882144+matthewmarwedel@users.noreply.github.com>
1 parent 9a2d3c4 commit f3561ed

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

data-types.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ Events represent changes in vehicle status.
114114
| `fuel_percent` | Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
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 |
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` 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. |
122117

123118
### Event Times
124119

@@ -145,9 +140,6 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
145140
| `battery_percent` | Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
146141
| `fuel_percent` | Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
147142
| `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` 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. |
151143

152144
### GPS Data
153145

@@ -245,9 +237,6 @@ A Trip is defined by the following structure:
245237
| `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]) |
246238
| `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]) |
247239
| `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` 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. |
251240
| `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.|
252241
| `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. |
253242

0 commit comments

Comments
 (0)