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
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ A vehicle record is as follows:
26
26
|`device_id`| UUID | Required | A unique device ID in UUID format, should match this device in Provider |
27
27
|`provider_id`| UUID | Required | A UUID for the Provider, unique within MDS. See MDS [provider list](/providers.csv). |
28
28
|`data_provider_id`| UUID | Optional | If different than `provider_id`, a UUID for the data solution provider managing the data feed in this endpoint. See MDS [provider list](/providers.csv) which includes both service operators and data solution providers. |
29
-
|`vehicle_id`| String | Required | A unique vehicle identifier (visible code, license plate, etc), visible on the vehicle itself |
29
+
|`vehicle_id`| String | Required| A unique vehicle identifier (visible code, license plate, etc), visible on the vehicle itself |
30
30
|`vehicle_type`| Enum | Required | The [vehicle type][vehicle-types]|
31
-
|`vehicle_attributes`| Array | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Vehicle attributes](/modes#vehicle-attributes) given as mode-specific unordered key-value pairs |
31
+
|`vehicle_attributes`| Array | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Vehicle attributes](/modes#vehicle-attributes) given as mode-specific unordered key-value pairs |
|`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 **available on the vehicle**. |
34
34
|`battery_capacity`| Integer | Required if Available | Capacity of battery expressed as milliamp hours (mAh) |
@@ -135,7 +135,7 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
135
135
|`heading`| Double | Required if Available | Degrees - clockwise starting at 0 degrees at true North |
136
136
|`speed`| Float | Required if Available | Estimated speed in meters / sec as reported by the GPS chipset |
137
137
|`horizontal_accuracy`| Float | Required if Available | Horizontal accuracy, in meters |
138
-
|`vertical_accuracy`| Float | Required if Available |Horizontal accuracy, in meters |
138
+
|`vertical_accuracy`| Float | Required if Available |Vertical accuracy, in meters |
139
139
|`satellites`| Integer | Required if Available | Number of GPS or GNSS satellites |
140
140
141
141
[Top][toc]
@@ -286,6 +286,7 @@ Other special group types may be added in future MDS releases as relevant agency
|`device_id`| UUID | Optional | If provided, retrieve the specified vehicle |
194
+
195
+
200 Success Response:
196
+
197
+
If `device_id` is specified, `GET` will return an array with a single vehicle record, otherwise it will be a list of vehicle records with pagination details per the [JSON API](https://jsonapi.org/format/#fetching-pagination) spec:
0 commit comments