Skip to content

Commit d501f2a

Browse files
authored
Merge pull request #532 from schnuerle/ms-links-definitions
Adding Definitions. Updating links, formatting.
2 parents 19a878e + ef06799 commit d501f2a

5 files changed

Lines changed: 25 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ You can also get involved in development by joining an OMF working group. The wo
3030
Working Group | Mailing List | Description
3131
--- | --- | ---
3232
Provider Services | [mds-provider-services](https://groups.google.com/a/groups.openmobilityfoundation.org/forum/#!forum/mds-provider-services) | Manages the [`provider`][provider] API within MDS.
33-
City Services | [mds-city-services](https://groups.google.com/a/groups.openmobilityfoundation.org/forum/#!forum/mds-city-services) | Manages the [`agency`][agency] and [`policy`][policy] APIs within MDS, as well as the [`mds-core`](https://github.com/openmobilityfoundation/mds-core) reference implementation.
33+
City Services | [mds-city-services](https://groups.google.com/a/groups.openmobilityfoundation.org/forum/#!forum/mds-city-services) | Manages the [`agency`][agency] and [`policy`][policy] APIs within MDS, as well as the [`mds-core`](https://github.com/openmobilityfoundation/mds-core) and [`mds-compliance-mobile`](https://github.com/openmobilityfoundation/mds-compliance-mobile) reference implementations.
3434

3535
You can view info about past releases and planning calls in the [wiki](https://github.com/openmobilityfoundation/mobility-data-specification/wiki).
3636

37-
3837
For questions about MDS please contact [info@openmobilityfoundation.org](mailto:info@openmobilityfoundation.org). Media inquiries to [media@openmobilityfoundation.org](mailto:media@openmobilityfoundation.org)
3938

4039
## Versions
@@ -77,7 +76,7 @@ Some examples of how cities are using MDS in practice:
7776

7877
### Open Mobility Foundation
7978
* [`mds-core`](https://github.com/openmobilityfoundation/mds-core) - A reference implementation of an MDS Agency Server, built using PostgresQL, TypeScript, NodeJS.
80-
* [`mds-compliance-mobile`](`https://github.com/openmobilityfoundation/mds-compliance-mobile`) - A mobile app for performing in-the-field data validation and compliance monitoring.
79+
* [`mds-compliance-mobile`](https://github.com/openmobilityfoundation/mds-compliance-mobile) - A mobile app for performing in-the-field data validation and compliance monitoring.
8180

8281
### City of Los Angeles
8382
* [`mds-dev`](https://github.com/cityoflosangeles/mds-dev) - Code to do cap checking, fake data generation and more with provider data.

agency/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ A vehicle record is as follows:
7676
| `model` | String | Vehicle Model |
7777
| `state` | Enum | Current vehicle state. See [Vehicle State][vehicle-states] |
7878
| `prev_event` | Enum | Last [Vehicle Event][vehicle-event] |
79-
| `updated` | Timestamp | Date of last event update |
79+
| `updated` | [timestamp][ts] | Date of last event update |
8080

8181
404 Failure Response:
8282

@@ -166,7 +166,7 @@ Body Params:
166166
| ----------- | ----------------------------- | -------- | -------------------------------------------------------------------------------- |
167167
| `vehicle_state` | Enum | Required | see [Vehicle States][vehicle-states] |
168168
| `event_types` | Enum[] | Required | see [Vehicle Events][vehicle-events] |
169-
| `timestamp` | Timestamp | Required | Date of last event update |
169+
| `timestamp` | [timestamp][ts] | Required | Date of last event update |
170170
| `telemetry` | [Telemetry](#telemetry-data) | Required | Single point of telemetry |
171171
| `trip_id` | UUID | Optional | UUID provided by Operator to uniquely identify the trip. Required for `trip_start`, `trip_end`, `trip_enter`, and `trip_leave` event types |
172172

@@ -220,7 +220,7 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
220220
| Field | Type | Required/Optional | Field Description |
221221
| -------------- | -------------- | --------------------- | ------------------------------------------------------------ |
222222
| `device_id` | UUID | Required | ID used in [Register](#vehicle-register) |
223-
| `timestamp` | Timestamp | Required | Date/time that event occurred. Based on GPS or GNSS clock |
223+
| `timestamp` | [timestamp][ts] | Required | Date/time that event occurred. Based on GPS or GNSS clock |
224224
| `gps` | Object | Required | Telemetry position data |
225225
| `gps.lat` | Double | Required | Latitude of the location |
226226
| `gps.lng` | Double | Required | Longitude of the location |
@@ -234,13 +234,14 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
234234

235235
[Top][toc]
236236

237-
[toc]: #table-of-contents
238237
[general]: /general-information.md
239-
[versioning]: /general-information.md#versioning
240-
[responses]: /general-information.md#responses
241238
[error-messages]: /general-information.md#error-messages
239+
[hdop]: https://support.esri.com/en/other-resources/gis-dictionary/term/358112bd-b61c-4081-9679-4fca9e3eb926
240+
[propulsion-types]: /general-information.md#propulsion-types
241+
[responses]: /general-information.md#responses
242+
[toc]: #table-of-contents
243+
[ts]: /general-information.md#timestamps
242244
[vehicle-types]: /general-information.md#vehicle-types
243245
[vehicle-states]: /general-information.md#vehicle-states
244246
[vehicle-events]: /general-information.md#vehicle-state-events
245-
[propulsion-types]: /general-information.md#propulsion-types
246-
[hdop]: https://support.esri.com/en/other-resources/gis-dictionary/term/358112bd-b61c-4081-9679-4fca9e3eb926
247+
[versioning]: /general-information.md#versioning

general-information.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This document contains specifications that are shared between the various MDS AP
66

77
* [Beta Features](#beta-features)
88
* [Costs and Currencies](#costs-and-currencies)
9+
* [Definitions](#definitions)
910
* [Devices](#devices)
1011
* [Propulsion Types](#propulsion-types)
1112
* [Responses](#responses)
@@ -38,6 +39,17 @@ If the currency field is null, USD cents is implied.
3839

3940
[Top][toc]
4041

42+
## Definitions
43+
44+
Defining terminology and abbreviations used throughout MDS.
45+
46+
- **API** - Application Programming Interface - A function or set of functions that allow one software application to access or communicate with features of a different software application or service.
47+
- **API Endpoint** - A point at which an API connects with a software application or service.
48+
- **DOT** - Department of Transportation, usually a city-run agency.
49+
- **PROW** - Public Right of Way - the physical infrastructure reserved for transportation purposes, examples include sidewalks, curbs, bike lanes, transit lanes and stations, traffic lanes and signals, and public parking.
50+
51+
[Top][toc]
52+
4153
## Devices
4254

4355
MDS defines the *device* as the unit that transmits GPS or GNSS signals for a particular vehicle. A given device must have a UUID (`device_id` below) that is unique within the Provider's fleet.

policy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ The internal mechanics of ordering are up to the Policy editing and hosting soft
277277
[iana]: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
278278
[muni-boundary]: ../provider/README.md#municipality-boundary
279279
[propulsion-types]: /general-information.md#propulsion-types
280-
[timestamps]: /general-information.md#timestamps
280+
[ts]: /general-information.md#timestamps
281281
[toc]: #table-of-contents
282282
[vehicle-events]: /general-information.md#vehicle-state-events
283283
[vehicle-states]: /general-information.md#vehicle-states

provider/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ The schema and datatypes are the same as those defined for [`/status_changes`][s
310310

311311
**Endpoint:** `/events`
312312
**Method:** `GET`
313-
**[Beta feature][beta]:** Yes (as of 0.4.0)
313+
**[Beta feature][beta]:** No (as of 1.0.0)
314314
**Schema:** [`events` schema][events-schema]
315315
**`data` Payload:** `{ "status_changes": [] }`, an array of objects with the same structure as in [`/status_changes`][status]
316316

0 commit comments

Comments
 (0)