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