Aharoni, Pavel (pa0916) | ca3cb01 | 2018-10-22 15:29:57 +0300 | [diff] [blame^] | 1 | {
|
| 2 | "$schema": "http://json-schema.org/draft-04/schema#",
|
| 3 | "description": "standard request error data structure",
|
| 4 | "properties": {
|
| 5 | "messageId": {
|
| 6 | "description": "Unique message identifier of the format ABCnnnn where ABC is either SVC for Service Exceptions or POL for Policy Exception",
|
| 7 | "type": "string"
|
| 8 | },
|
| 9 | "text": {
|
| 10 | "description": "Message text, with replacement variables marked with %n, where n is an index into the list of <variables> elements, starting at 1",
|
| 11 | "type": "string"
|
| 12 | },
|
| 13 | "url": {
|
| 14 | "description": "Hyperlink to a detailed error resource e.g., an HTML page for browser user agents",
|
| 15 | "type": "string"
|
| 16 | },
|
| 17 | "variables": {
|
| 18 | "description": "List of zero or more strings that represent the contents of the variables used by the message text",
|
| 19 | "type": "string"
|
| 20 | }
|
| 21 | },
|
| 22 | "required": [
|
| 23 | "messageId",
|
| 24 | "text"
|
| 25 | ],
|
| 26 | "type": "object"
|
| 27 | }
|