Corrected JSON schema (added required properties)
This commit is contained in:
parent
a26568d9cc
commit
d507a227f1
1 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,8 @@
|
|||
"type": "string",
|
||||
"enum": ["passing", "arrival", "departure"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["delay", "station", "state"]
|
||||
},
|
||||
"stations": {
|
||||
"description": "List of stations the train stops at",
|
||||
|
@ -127,5 +128,5 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": ["route", "stations"]
|
||||
"required": ["route", "stations", "rank", "number", "date", "operator"]
|
||||
}
|
Loading…
Add table
Reference in a new issue