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
-18Lines changed: 0 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@
12
12
-[Stop Status](#stop-status)
13
13
-[Trips](#trips)
14
14
-[Trip Attributes](#trip-attributes)
15
-
-[Fares](#fares)
16
15
-[Reservation Data](#reservation-data)
17
16
-[Reservation Type](#reservation-type)
18
17
-[Reservation Method](#reservation-method)
@@ -219,16 +218,13 @@ A Trip is defined by the following structure:
219
218
|`end_location`|[Point](point)| Required | Location of the end of the trip. See also [Stop-based Geographic Data][stop-based-geo]. |
220
219
|`publication_time`|[Timestamp][ts]| Optional | Date/time that trip became available through the trips endpoint |
221
220
| `reservation_attributes` | [Reservation](#reservation-data) | Required if available | Reservation details, if a reservation initiated this trip
222
-
|`fare`|[Fare](#fare)| Conditionally Required | Fare for the trip (required if trip was completed) |
223
221
|`dispatch_time`|[Timestamp][ts]| Conditionally Required | Time the vehicle was dispatched to the customer (required if trip was dispatched) |
224
222
|`parking_verification_url`| String | Optional | A URL to a photo (or other evidence) of proper vehicle parking |
225
223
|`cancellation_reason`| Enum | Conditionally Required | The reason why a *driver* cancelled a reservation. (required if a driver cancelled a trip, and a `driver_cancellation` event_type was part of the trip) |
226
224
|`accessibility_options`| Enum[]| Optional | The **union** of any accessibility options requested, and used. E.g. if the passenger requests a vehicle with `wheelchair_accessible`, but doesn’t utilize the features during the trip, the trip payload will include `accessibility_options: ['wheelchair_accessible']`. See [accessibility-options][accessibility-options]|
227
225
228
226
(?) Reconcile inconsistent use of `trip_`
229
227
230
-
(?) Does anyone use `publication_time`?
231
-
232
228
[Top][toc]
233
229
234
230
### Trip Attributes
@@ -249,20 +245,6 @@ Examples of mode-specific `trip_attributes`:
249
245
250
246
[Top][toc]
251
247
252
-
### Fares
253
-
254
-
The Fare object describes a fare for a Trip.
255
-
256
-
| Field | Type | Required/Optional | Field Description |
0 commit comments