Skip to content

Commit

Permalink
Merge pull request #699 from openmobilityfoundation/ms-1.1.0-fixes
Browse files Browse the repository at this point in the history
Support: Schema fixes for MDS 1.1.0
  • Loading branch information
schnuerle committed Sep 24, 2021
2 parents 7dca90a + 5271fa8 commit 349e9c0
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 22 deletions.
11 changes: 11 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 1.1.1

> Released: 2021-09-24
The 1.1.1 support release fixes the version validation for 1.1.0 in the JSON schema, and adds comms_restored to removed state.

### CHANGES

- ["removed" missing "comms_restored" option in provider schemas](https://github.com/openmobilityfoundation/mobility-data-specification/issues/690)
- [Version number is 1.0.x for 1.1.0 release](https://github.com/openmobilityfoundation/mobility-data-specification/issues/669)

## 1.1.0

> Released: 2021-03-30
Expand Down
8 changes: 4 additions & 4 deletions policy/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"days": {
"$id": "#/definitions/days",
Expand Down Expand Up @@ -545,7 +545,7 @@
],
"description": "Integer milliseconds since Unix epoch",
"multipleOf": 1.0,
"minimum": 0
"minimum": 1514764800000
},
"null_uuid_array": {
"$id": "#/definitions/null_uuid_array",
Expand Down Expand Up @@ -616,4 +616,4 @@
}
},
"additionalProperties": false
}
}
6 changes: 3 additions & 3 deletions provider/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"Point": {
"$id": "#/definitions/Point",
Expand Down Expand Up @@ -571,4 +571,4 @@
}
},
"additionalProperties": false
}
}
7 changes: 4 additions & 3 deletions provider/status_changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"Point": {
"$id": "#/definitions/Point",
Expand Down Expand Up @@ -423,6 +423,7 @@
"contains": {
"enum": [
"agency_pick_up",
"comms_restored",
"compliance_pick_up",
"decommissioned",
"located",
Expand Down Expand Up @@ -508,4 +509,4 @@
}
},
"additionalProperties": false
}
}
6 changes: 3 additions & 3 deletions provider/stops.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"Point": {
"$id": "#/definitions/Point",
Expand Down Expand Up @@ -350,4 +350,4 @@
}
},
"additionalProperties": false
}
}
6 changes: 3 additions & 3 deletions provider/trips.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"Point": {
"$id": "#/definitions/Point",
Expand Down Expand Up @@ -375,4 +375,4 @@
}
},
"additionalProperties": false
}
}
6 changes: 3 additions & 3 deletions provider/vehicles.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
},
"Point": {
"$id": "#/definitions/Point",
Expand Down Expand Up @@ -562,4 +562,4 @@
}
},
"additionalProperties": false
}
}
6 changes: 3 additions & 3 deletions schema/templates/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,9 @@
"type": "string",
"description": "The version of MDS this data represents",
"examples": [
"1.0.0"
"1.1.0"
],
"pattern": "^1\\.0\\.[0-9]+$"
"pattern": "^1\\.1\\.[0-9]+$"
}
}
}
}

0 comments on commit 349e9c0

Please sign in to comment.