Corrected JSON schema (number->integer)
This commit is contained in:
parent
ce8b208f65
commit
a26568d9cc
1 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"delayType": {
|
"delayType": {
|
||||||
"description": "Delay of the train (negative for being early)",
|
"description": "Delay of the train (negative for being early)",
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"stationArrDepTime": {
|
"stationArrDepTime": {
|
||||||
"description": "Time of arrival at/departure from station",
|
"description": "Time of arrival at/departure from station",
|
||||||
|
@ -105,11 +105,12 @@
|
||||||
},
|
},
|
||||||
"km": {
|
"km": {
|
||||||
"description": "The distance the train travelled until reaching this station",
|
"description": "The distance the train travelled until reaching this station",
|
||||||
"type": "number"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"stoppingTime": {
|
"stoppingTime": {
|
||||||
"description": "The number of minutes the train is scheduled to stop in this station",
|
"description": "The number of minutes the train is scheduled to stop in this station",
|
||||||
"type": ["number", "null"]
|
"type": ["integer", "null"],
|
||||||
|
"minimum": 1
|
||||||
},
|
},
|
||||||
"platform": {
|
"platform": {
|
||||||
"description": "The platform the train stopped at",
|
"description": "The platform the train stopped at",
|
||||||
|
|
Loading…
Add table
Reference in a new issue