From e41d59a1dc9c4c9bcdecb22bbbf397b5459de8a5 Mon Sep 17 00:00:00 2001 From: Jascha Franklin-Hodge Date: Sun, 3 Jun 2018 15:46:34 -0400 Subject: [PATCH 1/2] Suggested API additions --- provider/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/provider/README.md b/provider/README.md index 8e59ebfc..0a7d0f5f 100644 --- a/provider/README.md +++ b/provider/README.md @@ -36,11 +36,13 @@ Response: | `trip_distance` | Integer | Required | Trip Distance, in Meters | | `start_point` | Point | Required | | | `end_point` | Point | Required | | +| `accuracy` | Integer | Required | The approximate level of accuracy, in meters, represented by start_point and end_point. Accommodates privacy blurring and hardware limitations. | | `route` | Line | Optional | | | `sample_rate` | Integer | Optional | The frequency, in seconds, in which the route is sampled | | `device_id` | UUID | Required | | | `start_time` | Unix Timestamp | Required | | | `end_time` | Unix Timestamp | Required | | +| `parking_verification` | String | Optional | A URL to a photo (or other evidence) of proper vehicle parking | | `standard_cost` | Integer | Optional | The cost, in cents that it would cost to perform that trip in the standard operation of the System. | | `actual_cost` | Integer | Optional | The actual cost paid by the user of the Mobility as a service provider | @@ -60,6 +62,7 @@ Response: | `availability_start_time` | Unix Timestamp | Required | | | `availability_end_time` | Unix Timestamp | Required | If a device is still available, use NaN | | `placement_reason` | Enum | Required | Reason for placement (`user_drop_off`, `rebalancing_drop_off`) | +| `allowed_placement` | Bool | Required | Indicates whether provider believes placement was allowable under service area rules. | | `pickup_reason` | Enum | Required | Reason for removal (`user_pick_up`, `rebalacing_pick_up`, `out_of_service_area_pick_up`, `maintenance_pick_up`) | | `associated_trips` | [UUID] | Optional | list of associated maintenance | From 76c029ce6f9398b6c87786c14753b87c4679cbcb Mon Sep 17 00:00:00 2001 From: Hunter Owens Date: Tue, 5 Jun 2018 15:41:22 -0700 Subject: [PATCH 2/2] Changes to wording. --- provider/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/README.md b/provider/README.md index 0a7d0f5f..7e4f9e90 100644 --- a/provider/README.md +++ b/provider/README.md @@ -36,7 +36,7 @@ Response: | `trip_distance` | Integer | Required | Trip Distance, in Meters | | `start_point` | Point | Required | | | `end_point` | Point | Required | | -| `accuracy` | Integer | Required | The approximate level of accuracy, in meters, represented by start_point and end_point. Accommodates privacy blurring and hardware limitations. | +| `accuracy` | Integer | Required | The approximate level of accuracy, in meters, represented by start_point and end_point. | | `route` | Line | Optional | | | `sample_rate` | Integer | Optional | The frequency, in seconds, in which the route is sampled | | `device_id` | UUID | Required | |