summaryrefslogtreecommitdiff
path: root/static/redfish/v1/JsonSchemas/Message/Message.json
blob: 5c392caeb7f05e939f5b7fd8023cccaa8efb6a75 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
    "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_0_8.json",
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
    "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
    "definitions": {
        "Message": {
            "additionalProperties": false,
            "description": "The message that the Redfish Service returns.",
            "longDescription": "This type shall contain a message that the Redfish Service returns, as described in the Redfish Specification.",
            "patternProperties": {
                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
                    "description": "This property shall specify a valid odata or Redfish property.",
                    "type": [
                        "array",
                        "boolean",
                        "integer",
                        "number",
                        "null",
                        "object",
                        "string"
                    ]
                }
            },
            "properties": {
                "Message": {
                    "description": "The human-readable message, if provided.",
                    "longDescription": "This property shall contain an optional human-readable message.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "MessageArgs": {
                    "description": "This array of message arguments are substituted for the arguments in the message when looked up in the Message Registry.",
                    "items": {
                        "type": "string"
                    },
                    "longDescription": "This property shall contain the message substitution arguments for the specific message to which this MessageId refers and shall be included only if the MessageId is present.  Any number and integer type arguments shall be converted to strings.",
                    "readonly": true,
                    "type": "array"
                },
                "MessageId": {
                    "description": "The key for this message used to find the message in a Message Registry.",
                    "longDescription": "This property shall contain a key into Message Registry, as described in the Redfish Specification.",
                    "readonly": true,
                    "type": "string"
                },
                "Oem": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
                    "description": "The OEM extension property.",
                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
                },
                "RelatedProperties": {
                    "description": "A set of properties described by the message.",
                    "items": {
                        "type": "string"
                    },
                    "longDescription": "This property shall contain an array of JSON Pointers indicating the properties described by the message, if appropriate for the message.",
                    "readonly": true,
                    "type": "array"
                },
                "Resolution": {
                    "description": "Used to provide suggestions on how to resolve the situation that caused the error.",
                    "longDescription": "This property shall contain an override of the resolution of the message in the Message Registry, if present.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "Severity": {
                    "description": "The severity of the errors.",
                    "longDescription": "This property shall contain the severity of the error, as defined in the Status section of the Redfish Specification.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "MessageId"
            ],
            "type": "object"
        }
    },
    "owningEntity": "DMTF",
    "release": "1.0",
    "title": "#Message.v1_0_8"
}