Skip to content

Commit 349e9c0

Browse files
authored
Merge pull request #699 from openmobilityfoundation/ms-1.1.0-fixes
Support: Schema fixes for MDS 1.1.0
2 parents 7dca90a + 5271fa8 commit 349e9c0

8 files changed

Lines changed: 34 additions & 22 deletions

File tree

ReleaseNotes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 1.1.1
2+
3+
> Released: 2021-09-24
4+
5+
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.
6+
7+
### CHANGES
8+
9+
- ["removed" missing "comms_restored" option in provider schemas](https://github.com/openmobilityfoundation/mobility-data-specification/issues/690)
10+
- [Version number is 1.0.x for 1.1.0 release](https://github.com/openmobilityfoundation/mobility-data-specification/issues/669)
11+
112
## 1.1.0
213

314
> Released: 2021-03-30

policy/policy.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@
462462
"type": "string",
463463
"description": "The version of MDS this data represents",
464464
"examples": [
465-
"1.0.0"
465+
"1.1.0"
466466
],
467-
"pattern": "^1\\.0\\.[0-9]+$"
467+
"pattern": "^1\\.1\\.[0-9]+$"
468468
},
469469
"days": {
470470
"$id": "#/definitions/days",
@@ -545,7 +545,7 @@
545545
],
546546
"description": "Integer milliseconds since Unix epoch",
547547
"multipleOf": 1.0,
548-
"minimum": 0
548+
"minimum": 1514764800000
549549
},
550550
"null_uuid_array": {
551551
"$id": "#/definitions/null_uuid_array",
@@ -616,4 +616,4 @@
616616
}
617617
},
618618
"additionalProperties": false
619-
}
619+
}

provider/events.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"type": "string",
3838
"description": "The version of MDS this data represents",
3939
"examples": [
40-
"1.0.0"
40+
"1.1.0"
4141
],
42-
"pattern": "^1\\.0\\.[0-9]+$"
42+
"pattern": "^1\\.1\\.[0-9]+$"
4343
},
4444
"Point": {
4545
"$id": "#/definitions/Point",
@@ -571,4 +571,4 @@
571571
}
572572
},
573573
"additionalProperties": false
574-
}
574+
}

provider/status_changes.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"type": "string",
3838
"description": "The version of MDS this data represents",
3939
"examples": [
40-
"1.0.0"
40+
"1.1.0"
4141
],
42-
"pattern": "^1\\.0\\.[0-9]+$"
42+
"pattern": "^1\\.1\\.[0-9]+$"
4343
},
4444
"Point": {
4545
"$id": "#/definitions/Point",
@@ -423,6 +423,7 @@
423423
"contains": {
424424
"enum": [
425425
"agency_pick_up",
426+
"comms_restored",
426427
"compliance_pick_up",
427428
"decommissioned",
428429
"located",
@@ -508,4 +509,4 @@
508509
}
509510
},
510511
"additionalProperties": false
511-
}
512+
}

provider/stops.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"type": "string",
3838
"description": "The version of MDS this data represents",
3939
"examples": [
40-
"1.0.0"
40+
"1.1.0"
4141
],
42-
"pattern": "^1\\.0\\.[0-9]+$"
42+
"pattern": "^1\\.1\\.[0-9]+$"
4343
},
4444
"Point": {
4545
"$id": "#/definitions/Point",
@@ -350,4 +350,4 @@
350350
}
351351
},
352352
"additionalProperties": false
353-
}
353+
}

provider/trips.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"type": "string",
3838
"description": "The version of MDS this data represents",
3939
"examples": [
40-
"1.0.0"
40+
"1.1.0"
4141
],
42-
"pattern": "^1\\.0\\.[0-9]+$"
42+
"pattern": "^1\\.1\\.[0-9]+$"
4343
},
4444
"Point": {
4545
"$id": "#/definitions/Point",
@@ -375,4 +375,4 @@
375375
}
376376
},
377377
"additionalProperties": false
378-
}
378+
}

provider/vehicles.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"type": "string",
3838
"description": "The version of MDS this data represents",
3939
"examples": [
40-
"1.0.0"
40+
"1.1.0"
4141
],
42-
"pattern": "^1\\.0\\.[0-9]+$"
42+
"pattern": "^1\\.1\\.[0-9]+$"
4343
},
4444
"Point": {
4545
"$id": "#/definitions/Point",
@@ -562,4 +562,4 @@
562562
}
563563
},
564564
"additionalProperties": false
565-
}
565+
}

schema/templates/common.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,9 @@
704704
"type": "string",
705705
"description": "The version of MDS this data represents",
706706
"examples": [
707-
"1.0.0"
707+
"1.1.0"
708708
],
709-
"pattern": "^1\\.0\\.[0-9]+$"
709+
"pattern": "^1\\.1\\.[0-9]+$"
710710
}
711711
}
712-
}
712+
}

0 commit comments

Comments
 (0)