Reorganise the board JSON response
All checks were successful
Generate and Release Protos / release (push) Successful in 38s
All checks were successful
Generate and Release Protos / release (push) Successful in 38s
This commit is contained in:
@@ -5,15 +5,10 @@
|
||||
"description": "Arr/Dep/Pass Board",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"n": {
|
||||
"type": "string",
|
||||
"title": "Location Name",
|
||||
"description": "The name of the location"
|
||||
},
|
||||
"o": {
|
||||
"type": "string",
|
||||
"title": "Operator (if station)",
|
||||
"description": "The operator of the station, if the location is a station"
|
||||
"d": {
|
||||
"title": "Metadata",
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/metadata"
|
||||
},
|
||||
"s": {
|
||||
"title": "Services",
|
||||
@@ -34,6 +29,22 @@
|
||||
"n"
|
||||
],
|
||||
"definitions": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"required": ["n", "o"],
|
||||
"properties": {
|
||||
"n": {
|
||||
"type": "string",
|
||||
"title": "Location Name",
|
||||
"description": "The name of the location"
|
||||
},
|
||||
"o": {
|
||||
"type": "string",
|
||||
"title": "Station Operator",
|
||||
"description": "The operator of the station (not present for location)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"boardService": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -95,6 +106,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"h": {
|
||||
"type": "string",
|
||||
"title": "Headcode",
|
||||
"description": "The headcode of the service"
|
||||
},
|
||||
"sta": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
|
||||
Reference in New Issue
Block a user