Skip to content

Commit f40374e

Browse files
avatarneilthekaveman
authored andcommitted
Move stops to top level of trips and status_changes object
1 parent cfee5bf commit f40374e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

provider/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ Unless stated otherwise by the municipality, the trips endpoint must return all
180180
| `route` | GeoJSON `FeatureCollection` | Required | See [Routes](#routes) detail below |
181181
| `accuracy` | Integer | Required | The approximate level of accuracy, in meters, of `Points` within `route` |
182182
| `start_time` | [timestamp][ts] | Required | |
183+
| `start_stop_id` | UUID | Required (*docked*), Optional (*dockless*) | Identifier for a stop see [Stops](LINKTBD). |
183184
| `end_time` | [timestamp][ts] | Required | |
185+
| `end_stop_id` | UUID | Required (*docked*), Optional (*dockless*) | Identifier for a stop see [Stops](LINKTBD). |
184186
| `publication_time` | [timestamp][ts] | Optional | Date/time that trip became available through the trips endpoint |
185187
| `parking_verification_url` | String | Optional | A URL to a photo (or other evidence) of proper vehicle parking |
186188
| `standard_cost` | Integer | Optional | The cost, in the currency defined in `currency`, that it would cost to perform that trip in the standard operation of the System (see [Costs & Currencies][costs-and-currencies]) |
@@ -272,7 +274,8 @@ Unless stated otherwise by the municipality, this endpoint must return only thos
272274
| `event_location` | GeoJSON [Point Feature][geo] | Required | |
273275
| `battery_pct` | Float | Required if Applicable | Percent battery charge of device, expressed between 0 and 1 |
274276
| `trip_id` | UUID | Required if Applicable | Trip UUID (foreign key to Trips API), required if `event_types` contains `trip_start`, `trip_end`, `trip_cancel`, `trip_enter_jurisdiction`, or `trip_leave_jurisdiction` |
275-
| `associated_ticket` | String | Optional | Identifier for an associated ticket inside an Agency-maintained 311 or CRM system |
277+
| `associated_ticket` | String | Optional | Identifier for an associated ticket inside an Agency-maintained 311 or CRM system. |
278+
| `stop_id` | UUID | Conditionally Required (*docked*), N/A (*dockless*) | Identifier for a stop see [Stops](LINKTBD). Required for `trip_start` and `trip_end` events for a *docked* mobility provider. |
276279

277280
### Status Changes Query Parameters
278281

0 commit comments

Comments
 (0)