Add service data for 'False Destination' and 'Via text'.
Add envelope support for PUBLIC/STAFF enum for display decisions
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -111,6 +111,29 @@
|
|||||||
"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",
|
||||||
|
|||||||
Reference in New Issue
Block a user