Compare commits
4 Commits
v3.0.3-alp
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e7e2093054 | |||
| 12db4b79fd | |||
| eb6d90bbb8 | |||
| 5918cc54a8 |
@@ -10,6 +10,12 @@
|
|||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"description": "Unix timestamp showing when the data was generated, or the time the error was encountered"
|
"description": "Unix timestamp showing when the data was generated, or the time the error was encountered"
|
||||||
},
|
},
|
||||||
|
"p": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Privilege Type",
|
||||||
|
"description": "Whether the data is public or staff, omitted where no differences",
|
||||||
|
"enum": ["public", "staff"]
|
||||||
|
},
|
||||||
"d": {
|
"d": {
|
||||||
"description": "Payload data. Type depends on request endpoint, typically an array of the response type"
|
"description": "Payload data. Type depends on request endpoint, typically an array of the response type"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -31,7 +31,10 @@
|
|||||||
"definitions": {
|
"definitions": {
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["n", "o"],
|
"required": [
|
||||||
|
"n",
|
||||||
|
"o"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"n": {
|
"n": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -60,6 +63,12 @@
|
|||||||
"title": "RID",
|
"title": "RID",
|
||||||
"description": "Services RID"
|
"description": "Services RID"
|
||||||
},
|
},
|
||||||
|
"m": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "mode",
|
||||||
|
"description": "Transport mode, default value: Train",
|
||||||
|
"enum": ["SHIP", "BUS"]
|
||||||
|
},
|
||||||
"o": {
|
"o": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"title": "TOC",
|
"title": "TOC",
|
||||||
@@ -74,7 +83,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Origin",
|
"title": "Origin",
|
||||||
"description": "The services origin",
|
"description": "The services origin",
|
||||||
"required": ["t", "n"],
|
"required": [
|
||||||
|
"t",
|
||||||
|
"n"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"t": {
|
"t": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -92,7 +104,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Destination",
|
"title": "Destination",
|
||||||
"description": "The services destination",
|
"description": "The services destination",
|
||||||
"required": ["t", "n"],
|
"required": [
|
||||||
|
"t",
|
||||||
|
"n"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"t": {
|
"t": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -111,6 +126,32 @@
|
|||||||
"title": "Headcode",
|
"title": "Headcode",
|
||||||
"description": "The headcode of the service"
|
"description": "The headcode of the service"
|
||||||
},
|
},
|
||||||
|
"fd": {
|
||||||
|
"type": "object",
|
||||||
|
"title": "False Destination",
|
||||||
|
"description": "False destination should be preferred on public boards",
|
||||||
|
"required": [
|
||||||
|
"t",
|
||||||
|
"n"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"t": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "TIPLOC",
|
||||||
|
"description": "The Destination TIPLOC"
|
||||||
|
},
|
||||||
|
"n": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Name",
|
||||||
|
"description": "The Destination Name"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"v": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "via Text",
|
||||||
|
"description": "via text that should be displayed if present"
|
||||||
|
},
|
||||||
"sta": {
|
"sta": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time",
|
"format": "date-time",
|
||||||
@@ -147,6 +188,24 @@
|
|||||||
"title": "Estimated Departure",
|
"title": "Estimated Departure",
|
||||||
"description": "The estimated departure time of the service"
|
"description": "The estimated departure time of the service"
|
||||||
},
|
},
|
||||||
|
"wtp": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time",
|
||||||
|
"title": "Scheduled Pass",
|
||||||
|
"description": "The scheduled pass time of the service"
|
||||||
|
},
|
||||||
|
"atp": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time",
|
||||||
|
"title": "Actual Pass",
|
||||||
|
"description": "The actual pass time of the service"
|
||||||
|
},
|
||||||
|
"etp": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time",
|
||||||
|
"title": "Estimated Pass",
|
||||||
|
"description": "The estimated pass time of the service"
|
||||||
|
},
|
||||||
"p": {
|
"p": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"title": "Platform",
|
"title": "Platform",
|
||||||
@@ -225,7 +284,9 @@
|
|||||||
},
|
},
|
||||||
"boardMsgs": {
|
"boardMsgs": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["t"],
|
"required": [
|
||||||
|
"t"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"t": {
|
"t": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
Reference in New Issue
Block a user