1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_2_1.json",
3    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5    "definitions": {
6        "Message": {
7            "additionalProperties": false,
8            "description": "The message that the Redfish service returns.",
9            "longDescription": "This type shall contain a message that the Redfish service returns, as described in the Redfish Specification.",
10            "patternProperties": {
11                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
12                    "description": "This property shall specify a valid odata or Redfish property.",
13                    "type": [
14                        "array",
15                        "boolean",
16                        "integer",
17                        "number",
18                        "null",
19                        "object",
20                        "string"
21                    ]
22                }
23            },
24            "properties": {
25                "Message": {
26                    "description": "The human-readable message.",
27                    "longDescription": "This property shall contain a human-readable message.",
28                    "readonly": true,
29                    "type": "string"
30                },
31                "MessageArgs": {
32                    "description": "An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.",
33                    "items": {
34                        "type": "string"
35                    },
36                    "longDescription": "This property shall contain an array of message arguments that are substituted for the arguments in the message when looked up in the message registry.  It has the same semantics as the `MessageArgs` property in the Redfish `MessageRegistry` schema.  If the corresponding `ParamType` value contains `number`, the service shall convert the number to a string representation of the number.",
37                    "readonly": true,
38                    "type": "array"
39                },
40                "MessageId": {
41                    "description": "The identifier for the message.",
42                    "longDescription": "This property shall contain a `MessageId`, as defined in the 'MessageId format' clause of the Redfish Specification.",
43                    "readonly": true,
44                    "type": "string"
45                },
46                "MessageSeverity": {
47                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
48                    "description": "The severity of the message.",
49                    "longDescription": "This property shall contain the severity of the message.  Services can replace the value defined in the message registry with a value more applicable to the implementation.",
50                    "readonly": true,
51                    "versionAdded": "v1_1_0"
52                },
53                "Oem": {
54                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
55                    "description": "The OEM extension property.",
56                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
57                },
58                "RelatedProperties": {
59                    "description": "A set of properties described by the message.",
60                    "items": {
61                        "type": "string"
62                    },
63                    "longDescription": "This property shall contain an array of RFC6901-defined JSON pointers indicating the properties described by the message, if appropriate for the message.",
64                    "readonly": true,
65                    "type": "array"
66                },
67                "Resolution": {
68                    "description": "Used to provide suggestions on how to resolve the situation that caused the message.",
69                    "longDescription": "This property shall contain the resolution of the message.  Services can replace the resolution defined in the message registry with a more specific resolution in message payloads.",
70                    "readonly": true,
71                    "type": "string"
72                },
73                "ResolutionSteps": {
74                    "description": "The list of recommended steps to resolve the situation that caused the message.",
75                    "items": {
76                        "$ref": "http://redfish.dmtf.org/schemas/v1/ResolutionStep.json#/definitions/ResolutionStep"
77                    },
78                    "longDescription": "This property shall contain an array of recommended steps to resolve the situation that caused the message.  This property shall not be present if the `MessageSeverity` or `Severity` properties contain `OK`.",
79                    "type": "array",
80                    "versionAdded": "v1_2_0"
81                },
82                "Severity": {
83                    "deprecated": "This property has been deprecated in favor of `MessageSeverity`, which ties the values to the enumerations defined for the `Health` property within `Status`.",
84                    "description": "The severity of the message.",
85                    "longDescription": "This property shall contain the severity of the message, as defined in the 'Status' clause of the Redfish Specification.  Services can replace the value defined in the message registry with a value more applicable to the implementation.",
86                    "readonly": true,
87                    "type": "string",
88                    "versionDeprecated": "v1_1_0"
89                }
90            },
91            "required": [
92                "MessageId"
93            ],
94            "type": "object"
95        }
96    },
97    "language": "en",
98    "owningEntity": "DMTF",
99    "release": "2023.3",
100    "title": "#Message.v1_2_1"
101}