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
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,23 +203,24 @@ A Trip is defined by the following structure:
203
203
|`data_provider_id`| UUID | Optional | If different than `provider_id`, a UUID for the data solution provider managing this data endpoint. See MDS [provider list](/providers.csv) which includes both service operators and data solution providers. |
204
204
|`device_id`| UUID | Required | A unique device ID in UUID format. Cross reference with `/vehicles` for more device details. |
205
205
|`journey_id`| UUID | Optional | A unique [journey ID](/modes#journey-id) for associating collections of trips for its [mode][modes]|
206
-
|`journey_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Journey attributes](/modes#journey-attributes) given as unordered key-value pairs |
207
-
|`trip_id`| UUID | Required | A unique ID for each trip |
208
-
|`trip_type`| Enum | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. The [trip type](/modes#trip-type) describing the purpose of a trip segment |
209
-
|`trip_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Trip attributes](/modes#trip-attributes) given as unordered key-value pairs |
210
-
|`fare_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Fare attributes](/modes#fare-attributes) given as unordered key-value pairs |
211
-
|`start_time`|[Timestamp][ts]| Required | Start of the passenger/driver trip |
212
-
|`end_time`|[Timestamp][ts]| Required | End of the passenger/driver trip |
213
-
|`start_location`|[GPS](gps)| Required | Location of the start of the trip. |
214
-
|`end_location`|[GPS](gps)| Required | Location of the end of the trip. |
215
-
|`duration`| Integer | Required | Time, in Seconds |
216
-
|`distance`| Integer | Required | Trip Distance, in Meters |
217
-
|`publication_time`|[Timestamp][ts]| Optional | Date/time that trip became available through the trips endpoint |
218
-
|`accessibility_options`| Enum[]| Required |**[Mode](/modes#list-of-supported-modes) Specific**. [Accessibility options](/modes#accessibility-options) given as an array of enumerated values. List of any accessibility options **used during the trip**. |
219
-
|`parking_verification_url`| URL | Optional | A URL to a photo (or other evidence) of proper vehicle parking |
220
-
|`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]) |
221
-
|`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]) |
222
-
|`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]) |
206
+
|`journey_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Journey attributes](/modes#journey-attributes) given as unordered key-value pairs |
207
+
|`trip_id`| UUID | Required | A unique ID for each trip |
208
+
|`trip_type`| Enum | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. The [trip type](/modes#trip-type) describing the purpose of a trip segment |
209
+
|`trip_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Trip attributes](/modes#trip-attributes) given as unordered key-value pairs |
210
+
|`fare_attributes`| Map | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Fare attributes](/modes#fare-attributes) given as unordered key-value pairs |
211
+
|`start_time`|[Timestamp][ts]| Required | Start of the passenger/driver trip |
212
+
|`end_time`|[Timestamp][ts]| Required | End of the passenger/driver trip |
213
+
|`start_location`|[GPS](gps)| Required | Location of the start of the trip. |
214
+
|`end_location`|[GPS](gps)| Required | Location of the end of the trip. |
215
+
|`duration`| Integer | Required | Time, in Seconds |
216
+
|`distance`| Integer | Required | Trip Distance, in Meters |
217
+
|`publication_time`|[Timestamp][ts]| Optional | Date/time that trip became available through the trips endpoint |
218
+
|`accessibility_options`| Enum[]| Required |**[Mode](/modes#list-of-supported-modes) Specific**. [Accessibility options](/modes#accessibility-options) given as an array of enumerated values. List of any accessibility options **used during the trip**. |
219
+
|`parking_verification_url`| URL | Optional | A URL to a photo (or other evidence) of proper vehicle parking at the end of a trip, provided by customer or operator. |
220
+
| `parking_category` | Enum | Optional | The type of parking location detected or provided and the end of a trip. One of `corral`, `curb`, `rack`, `invalid`, `other`.
221
+
|`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]) |
222
+
|`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]) |
223
+
|`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]) |
0 commit comments