Skip to content

Commit 7c58829

Browse files
Update data-types.md
Removed stop_sequence from telemetry, trips Added gtfs_api_url to events, trips Added gtfs_stop_id to events Added shape_id to trips Signed-off-by: Matthew Marwedel <105882144+matthewmarwedel@users.noreply.github.com>
1 parent e829e60 commit 7c58829

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

data-types.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Events represent changes in vehicle status.
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. |
118118
| `route_id` | UUID | Required if Applicable | A unique route ID for the associated route and stops. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
119119
| `service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a route. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
120+
| `gtfs_stop_id` | UUID | Required if Applicable | A unique stop ID to be recorded when a vehicle makes a stop event at a location. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `stop_id` |
121+
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
120122

121123
### Event Times
122124

@@ -143,7 +145,6 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
143145
| `battery_percent` | Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
144146
| `fuel_percent` | Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
145147
| `tipped_over` | Boolean | Required if Known | If detectable and known, is the device tipped over or not? Default is 'false'. |
146-
| `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. |
147148
| `route_id` | UUID | Required if Applicable | A unique route ID for the associated route and stops. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
148149
| `service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a route. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
149150

@@ -243,9 +244,10 @@ A Trip is defined by the following structure:
243244
| `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]) |
244245
| `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]) |
245246
| `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]) |
246-
| `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. |
247247
| `route_id` | UUID | Required if Applicable | A unique route ID for the associated route and stops. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `route_id` |
248248
| `service_id` | UUID | Required if Applicable | A unique service ID for the set of dates when service is available for a route. Matches [GTFS](https://gtfs.org/documentation/schedule/reference/) `service_id` |
249+
| `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` |
250+
| `gtfs_api_url` | String | Required if Applicable | Full https:// URL where associated [GTFS](https://gtfs.org/documentation/schedule/reference/) feeds are located |
249251

250252
[Top][toc]
251253

0 commit comments

Comments
 (0)