Corrected JSON schema (added required properties)

This commit is contained in:
Kenneth Bruen 2021-08-23 04:01:18 +03:00
parent a26568d9cc
commit d507a227f1
Signed by: kbruen
GPG key ID: CB77B9FE7F902176

View file

@ -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"]
}