Skip to content

Commit

Permalink
Merge pull request #720 from openmobilityfoundation/release-1.2.0
Browse files Browse the repository at this point in the history
Release 1.2.0 to dev
  • Loading branch information
schnuerle authored Nov 4, 2021
2 parents e9c1a03 + b687433 commit 15482e1
Show file tree
Hide file tree
Showing 62 changed files with 1,636 additions and 1,682 deletions.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/add-agency-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Add Agency ID
about: Create Agency ID for use in MDS
title: 'Add Agency ID: [Agency Name]'
labels: admin
assignees: ''

---

**Note:** See the [Adding an MDS Agency ID](https://github.com/openmobilityfoundation/mobility-data-specification/wiki/Adding-an-MDS-Agency-ID) page for more help.

Opening this issue will allow you as a city or governmental agency get an official agency ID for use across MDS globally, and include in your Requirements URL.

**Fields needed from you for the [agencies.csv file](https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/agencies.csv).**

_All fields are required._

1. **agency_country_iso_code** - Two letter ISO country code where your agency is located.
- ...
1. **agency_state** - Geographic abbreviation or name of the state where your agency is located.
- ...
1. **agency_city** - Geographic name of the city where your agency is located.
- ...
1. **agency_name** - Full name of your governmental city/agency.
- ...
1. **agency_id** - A random UUID version 4. There are lots of way to generate a unique UUID, like using this website.
- ...
1. **department_url** - URL to the home page of your agency's department.
- ...
1. **requirement_url** - Full https:// URL where your current Policy Requirements endpoint is located.
- ...

Additionally, please provide your name and role within your agency to help with verification.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/add-provider-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Add Provider ID
about: Create Provider ID for use in MDS
title: 'Add Provider ID: [Provider Name]'
labels: admin
assignees: ''

---

**Note:** See the [Adding an MDS Provider ID](https://github.com/openmobilityfoundation/mobility-data-specification/wiki/Adding-an-MDS-Provider-ID) page for more help.

Opening this issue will allow you as a mobility service provider get an official provider ID for use across MDS globally.

**Fields needed from you for the [providers.csv file](https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/providers.csv).**

_All fields are required._

1. **provider_name** - Short name of your company.
- ...
1. **provider_id** - A random UUID version 4. There are lots of way to generate a unique UUID, like using this [website](https://www.uuidgenerator.net/version4).
- ...
1. **url** - URL to the home page of your company.
- ...
1. **mds_api_url** - Full https:// URL where your root MDS feeds are located.
- ...
1. **gbfs_api_url** - Full https:// URL where your public GBFS feeds are located.
- ...

Additionally, please provide your name and role within your agency to help with verification.
11 changes: 2 additions & 9 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,5 @@
## All MDS approvals
* @openmobilityfoundation/omf-admin

## Provider Services Working Group
/provider/* @openmobilityfoundation/provider-maintainers @openmobilityfoundation/omf-admin

## City Services Working Group Specific, also JSON Schema
/agency/* @openmobilityfoundation/city-services-maintainers @openmobilityfoundation/omf-admin
/policy/* @openmobilityfoundation/city-services-maintainers @openmobilityfoundation/omf-admin

## schema is changed by provider and city services working group
/schema/* @openmobilityfoundation/provider-maintainers @openmobilityfoundation/city-services-maintainers @openmobilityfoundation/omf-admin
## MDS Working Group
* @openmobilityfoundation/mds-maintainers @openmobilityfoundation/omf-admin
67 changes: 42 additions & 25 deletions README.md

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
## 1.2.0

> Released: 2021-11-04
> [Release Plan](https://github.com/openmobilityfoundation/governance/wiki/Release-1.2.0)
The 1.2.0 minor release adds digital program Requirements, new options for policies, better GPS telemetry data, and moves Provider Vehicles out of beta.

### CHANGES

See the closed PRs tagged with [Milestone 1.2.0](https://github.com/openmobilityfoundation/mobility-data-specification/pulls?q=is%3Apr+is%3Aclosed+milestone%3A1.2.0) and [Issues](https://github.com/openmobilityfoundation/mobility-data-specification/issues?q=is%3Aissue+milestone%3A1.2.0+is%3Aclosed) for a full list of changes.

**_General MDS_**

- [Richer telemetry data](https://github.com/openmobilityfoundation/mobility-data-specification/issues/589), including [616](https://github.com/openmobilityfoundation/mobility-data-specification/issues/616), [73](https://github.com/openmobilityfoundation/mobility-data-specification/pull/73), [51](https://github.com/openmobilityfoundation/mobility-data-specification/pull/51)
- [Add cargo_bicycle vehicle type](https://github.com/openmobilityfoundation/mobility-data-specification/pull/698)

**_Policy_**

- [Program Requirements](https://github.com/openmobilityfoundation/mobility-data-specification/issues/646) - For agencies to describe program requirements digitally to allow providers and the public to see what MDS and GBFS versions, APIs, endpoints, and fields are required, and communicate available MDS agency information to providers.
- [Ability to express data sharing requirements in Policy](https://github.com/openmobilityfoundation/mobility-data-specification/issues/608)
- [Method to Exclude some Provider Fields from Response](https://github.com/openmobilityfoundation/mobility-data-specification/issues/507)
- [Retrieve operational zones from operators](https://github.com/openmobilityfoundation/mobility-data-specification/issues/639)
- [Make Trip 'route' field optional for privacy](https://github.com/openmobilityfoundation/mobility-data-specification/issues/504)

- [Multiple options added to Policy](https://github.com/openmobilityfoundation/mobility-data-specification/pull/658)
- [Add rate options to other rules types](https://github.com/openmobilityfoundation/mobility-data-specification/issues/633)
- [Support parking fees by duration](https://github.com/openmobilityfoundation/mobility-data-specification/issues/631)
- [Min and max clarity on Rules](https://github.com/openmobilityfoundation/mobility-data-specification/issues/689)
- [Add a "rate applies when" field to Rules](https://github.com/openmobilityfoundation/mobility-data-specification/issues/666)

**_Provider_**

- [Vehicles out of beta](https://github.com/openmobilityfoundation/mobility-data-specification/issues/637)
- [Clarify use cases between MDS Vehicles and GBFS](https://github.com/openmobilityfoundation/mobility-data-specification/issues/641)

_Minor Updates_

- [Clarify single object response on policy/geography](https://github.com/openmobilityfoundation/mobility-data-specification/issues/599)
- [Schema updates](https://github.com/openmobilityfoundation/mobility-data-specification/issues/693), including [645](https://github.com/openmobilityfoundation/mobility-data-specification/issues/645), [687](https://github.com/openmobilityfoundation/mobility-data-specification/issues/687), [683](https://github.com/openmobilityfoundation/mobility-data-specification/issues/683)
- Add VeoRide, Boaz Bikes, and update Superpedestrian provider IDs

## 1.1.1

> Released: 2021-09-24
Expand Down
14 changes: 7 additions & 7 deletions agency/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ Body Params:
| ----------- | ----------------------------- | -------- | -------------------------------------------------------------------------------- |
| `vehicle_state` | Enum | Required | see [Vehicle States][vehicle-states] |
| `event_types` | Enum[] | Required | see [Vehicle Events][vehicle-events] |
| `timestamp` | [timestamp][ts] | Required | Date of last event update |
| `timestamp` | [timestamp][ts] | Required | Date of last event update |
| `telemetry` | [Telemetry](#telemetry-data) | Required | Single point of telemetry. |
| `event_geographies` | UUID[] | Optional | **[Beta feature](/general-information.md#beta-features):** *Yes (as of 1.1.0)*. Array of Geography UUIDs consisting of every Geography that contains the location of the event. See [Geography Driven Events][geography-driven-events]. Required if `telemetry` is not present. |
| `event_geographies` | UUID[] | Optional | **[Beta feature](/general-information.md#beta-features):** *Yes (as of 1.1.0)*. Array of Geography UUIDs consisting of every Geography that contains the location of the event. See [Geography Driven Events][geography-driven-events]. Required if `telemetry` is not present. |
| `trip_id` | UUID | Optional | UUID provided by Operator to uniquely identify the trip. Required if `event_types` contains `trip_start`, `trip_end`, `trip_cancel`, `trip_enter_jurisdiction`, or `trip_leave_jurisdiction` |

201 Success Response:
Expand Down Expand Up @@ -223,7 +223,7 @@ Body Params:
| Field | Type | Field Description |
| ---------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- |
| `success` | Integer | Number of successfully written telemetry data points. |
| `total` | Integer | Ttotal number of provided points. |
| `total` | Integer | Total number of provided points. |
| `failures` | [Telemetry](#telemetry-data)[] | Array of failed telemetry for zero or more vehicles (empty if all successful). |

400 Failure Response:
Expand All @@ -244,7 +244,7 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
| Field | Type | Required/Optional | Field Description |
| -------------- | -------------- | --------------------- | ------------------------------------------------------------ |
| `device_id` | UUID | Required | ID used in [Register](#vehicle---register) |
| `timestamp` | [timestamp][ts] | Required | Date/time that event occurred. Based on GPS or GNSS clock |
| `timestamp` | [timestamp][ts]| Required | Date/time that event occurred. Based on GPS or GNSS clock |
| `gps` | Object | Required | Telemetry position data |
| `gps.lat` | Double | Required | Latitude of the location |
| `gps.lng` | Double | Required | Longitude of the location |
Expand All @@ -265,7 +265,7 @@ The `/stops` endpoint allows an agency to register city-managed Stops, or a prov

**Endpoint:** `/stops`
**Method:** `POST`
**[Beta feature][beta]:** Yes (as of 1.0.0)
**[Beta feature][beta]:** Yes (as of 1.0.0). [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/638)
**Request Body**: An array of [Stops][stops]

201 Success Response:
Expand All @@ -287,7 +287,7 @@ _No content returned on success._

**Endpoint:** `/stops`
**Method:** `PUT`
**[Beta feature][beta]:** Yes (as of 1.0.0)
**[Beta feature][beta]:** Yes (as of 1.0.0). [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/638)
**Request Body**: An array of subsets of [Stop][stops] information, where the permitted subset fields are defined as:

| Field | Required/Optional | Description |
Expand All @@ -313,7 +313,7 @@ _No content returned if no vehicle matching `stop_id` is found._

**Endpoint:** `/stops/:stop_id`
**Method:** `GET`
**[Beta feature][beta]:** Yes (as of 1.0.0)
**[Beta feature][beta]:** Yes (as of 1.0.0). [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/638)
**Payload:** `{ "stops": [] }`, an array of [Stops][stops]

Path Params:
Expand Down
39 changes: 39 additions & 0 deletions agency/get_stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@
"type": "integer",
"minimum": 0
},
"cargo_bicycle": {
"$id": "#/definitions/vehicle_type_counts/properties/cargo_bicycle",
"type": "integer",
"minimum": 0
},
"car": {
"$id": "#/definitions/vehicle_type_counts/properties/car",
"type": "integer",
Expand Down Expand Up @@ -225,6 +230,16 @@
"Feature"
]
},
"id": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"properties": {
"type": "object",
"required": [
Expand All @@ -236,6 +251,30 @@
},
"stop_id": {
"$ref": "#/definitions/uuid"
},
"altitude": {
"type": "number",
"description": "Altitude above mean sea level in meters"
},
"heading": {
"type": "number",
"description": "Degrees - clockwise starting at 0 degrees at true North"
},
"speed": {
"type": "number",
"description": "Estimated speed in meters / sec as reported by the GPS chipset"
},
"accuracy": {
"type": "number",
"description": "Horizontal accuracy, in meters"
},
"hdop": {
"type": "number",
"description": "Horizontal GPS or GNSS accuracy value"
},
"satellites": {
"type": "integer",
"description": "Number of GPS or GNSS satellites"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions agency/get_vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"description": "The type of vehicle",
"enum": [
"bicycle",
"cargo_bicycle",
"car",
"scooter",
"moped",
Expand Down Expand Up @@ -280,6 +281,7 @@
"contains": {
"enum": [
"agency_pick_up",
"comms_restored",
"compliance_pick_up",
"decommissioned",
"located",
Expand Down
39 changes: 39 additions & 0 deletions agency/post_stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@
"type": "integer",
"minimum": 0
},
"cargo_bicycle": {
"$id": "#/definitions/vehicle_type_counts/properties/cargo_bicycle",
"type": "integer",
"minimum": 0
},
"car": {
"$id": "#/definitions/vehicle_type_counts/properties/car",
"type": "integer",
Expand Down Expand Up @@ -225,6 +230,16 @@
"Feature"
]
},
"id": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"properties": {
"type": "object",
"required": [
Expand All @@ -236,6 +251,30 @@
},
"stop_id": {
"$ref": "#/definitions/uuid"
},
"altitude": {
"type": "number",
"description": "Altitude above mean sea level in meters"
},
"heading": {
"type": "number",
"description": "Degrees - clockwise starting at 0 degrees at true North"
},
"speed": {
"type": "number",
"description": "Estimated speed in meters / sec as reported by the GPS chipset"
},
"accuracy": {
"type": "number",
"description": "Horizontal accuracy, in meters"
},
"hdop": {
"type": "number",
"description": "Horizontal GPS or GNSS accuracy value"
},
"satellites": {
"type": "integer",
"description": "Number of GPS or GNSS satellites"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions agency/post_vehicle.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"description": "The type of vehicle",
"enum": [
"bicycle",
"cargo_bicycle",
"car",
"scooter",
"moped",
Expand Down
Loading

0 comments on commit 15482e1

Please sign in to comment.