1dd5c81e9SGunnar Mills{
2dd5c81e9SGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_3_0.json",
3dd5c81e9SGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4dd5c81e9SGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5dd5c81e9SGunnar Mills    "definitions": {
6dd5c81e9SGunnar Mills        "Message": {
7dd5c81e9SGunnar Mills            "additionalProperties": false,
8dd5c81e9SGunnar Mills            "description": "The message that the Redfish service returns.",
9dd5c81e9SGunnar Mills            "longDescription": "This type shall contain a message that the Redfish service returns, as described in the Redfish Specification.",
10dd5c81e9SGunnar Mills            "patternProperties": {
11dd5c81e9SGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
12dd5c81e9SGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
13dd5c81e9SGunnar Mills                    "type": [
14dd5c81e9SGunnar Mills                        "array",
15dd5c81e9SGunnar Mills                        "boolean",
16dd5c81e9SGunnar Mills                        "integer",
17dd5c81e9SGunnar Mills                        "number",
18dd5c81e9SGunnar Mills                        "null",
19dd5c81e9SGunnar Mills                        "object",
20dd5c81e9SGunnar Mills                        "string"
21dd5c81e9SGunnar Mills                    ]
22dd5c81e9SGunnar Mills                }
23dd5c81e9SGunnar Mills            },
24dd5c81e9SGunnar Mills            "properties": {
25dd5c81e9SGunnar Mills                "Message": {
26dd5c81e9SGunnar Mills                    "description": "The human-readable message.",
27dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain a human-readable message.",
28dd5c81e9SGunnar Mills                    "readonly": true,
29dd5c81e9SGunnar Mills                    "type": "string"
30dd5c81e9SGunnar Mills                },
31dd5c81e9SGunnar Mills                "MessageArgs": {
32dd5c81e9SGunnar Mills                    "description": "An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.",
33dd5c81e9SGunnar Mills                    "items": {
34dd5c81e9SGunnar Mills                        "type": "string"
35dd5c81e9SGunnar Mills                    },
36dd5c81e9SGunnar Mills                    "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.",
37dd5c81e9SGunnar Mills                    "readonly": true,
38dd5c81e9SGunnar Mills                    "type": "array"
39dd5c81e9SGunnar Mills                },
40dd5c81e9SGunnar Mills                "MessageId": {
41dd5c81e9SGunnar Mills                    "description": "The identifier for the message.",
42dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain a `MessageId`, as defined in the 'MessageId format' clause of the Redfish Specification.",
43dd5c81e9SGunnar Mills                    "readonly": true,
44dd5c81e9SGunnar Mills                    "type": "string"
45dd5c81e9SGunnar Mills                },
46dd5c81e9SGunnar Mills                "MessageSeverity": {
47dd5c81e9SGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
48dd5c81e9SGunnar Mills                    "description": "The severity of the message.",
49dd5c81e9SGunnar Mills                    "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.",
50dd5c81e9SGunnar Mills                    "readonly": true,
51dd5c81e9SGunnar Mills                    "versionAdded": "v1_1_0"
52dd5c81e9SGunnar Mills                },
53dd5c81e9SGunnar Mills                "Oem": {
54dd5c81e9SGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
55dd5c81e9SGunnar Mills                    "description": "The OEM extension property.",
56dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
57dd5c81e9SGunnar Mills                },
58dd5c81e9SGunnar Mills                "RelatedProperties": {
59dd5c81e9SGunnar Mills                    "description": "A set of properties described by the message.",
60dd5c81e9SGunnar Mills                    "items": {
61dd5c81e9SGunnar Mills                        "type": "string"
62dd5c81e9SGunnar Mills                    },
63dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain an array of RFC6901-defined JSON pointers indicating the properties described by the message, if appropriate for the message.",
64dd5c81e9SGunnar Mills                    "readonly": true,
65dd5c81e9SGunnar Mills                    "type": "array"
66dd5c81e9SGunnar Mills                },
67dd5c81e9SGunnar Mills                "Resolution": {
68dd5c81e9SGunnar Mills                    "description": "Used to provide suggestions on how to resolve the situation that caused the message.",
69dd5c81e9SGunnar Mills                    "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.",
70dd5c81e9SGunnar Mills                    "readonly": true,
71dd5c81e9SGunnar Mills                    "type": "string"
72dd5c81e9SGunnar Mills                },
73dd5c81e9SGunnar Mills                "ResolutionSteps": {
74dd5c81e9SGunnar Mills                    "description": "The list of recommended steps to resolve the situation that caused the message.",
75dd5c81e9SGunnar Mills                    "items": {
76dd5c81e9SGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/ResolutionStep.json#/definitions/ResolutionStep"
77dd5c81e9SGunnar Mills                    },
78dd5c81e9SGunnar Mills                    "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`.",
79dd5c81e9SGunnar Mills                    "type": "array",
80dd5c81e9SGunnar Mills                    "versionAdded": "v1_2_0"
81dd5c81e9SGunnar Mills                },
82dd5c81e9SGunnar Mills                "Severity": {
83dd5c81e9SGunnar Mills                    "deprecated": "This property has been deprecated in favor of `MessageSeverity`, which ties the values to the enumerations defined for the `Health` property within `Status`.",
84dd5c81e9SGunnar Mills                    "description": "The severity of the message.",
85dd5c81e9SGunnar Mills                    "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.",
86dd5c81e9SGunnar Mills                    "readonly": true,
87dd5c81e9SGunnar Mills                    "type": "string",
88dd5c81e9SGunnar Mills                    "versionDeprecated": "v1_1_0"
89dd5c81e9SGunnar Mills                },
90dd5c81e9SGunnar Mills                "UserAuthenticationSource": {
91dd5c81e9SGunnar Mills                    "description": "The source of authentication for the username property associated with the message.",
92dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain the URL to the authentication service that is associated with the username property.  This should be used for messages that result from a user action.",
93dd5c81e9SGunnar Mills                    "readonly": true,
94dd5c81e9SGunnar Mills                    "type": [
95dd5c81e9SGunnar Mills                        "string",
96dd5c81e9SGunnar Mills                        "null"
97dd5c81e9SGunnar Mills                    ],
98dd5c81e9SGunnar Mills                    "versionAdded": "v1_3_0"
99dd5c81e9SGunnar Mills                },
100dd5c81e9SGunnar Mills                "Username": {
101dd5c81e9SGunnar Mills                    "description": "The username of the account associated with the message.",
102dd5c81e9SGunnar Mills                    "longDescription": "This property shall contain the username of the account associated with the message.  This should be used for messages that result from a user action.",
103dd5c81e9SGunnar Mills                    "readonly": true,
104dd5c81e9SGunnar Mills                    "type": [
105dd5c81e9SGunnar Mills                        "string",
106dd5c81e9SGunnar Mills                        "null"
107dd5c81e9SGunnar Mills                    ],
108dd5c81e9SGunnar Mills                    "versionAdded": "v1_3_0"
109dd5c81e9SGunnar Mills                }
110dd5c81e9SGunnar Mills            },
111dd5c81e9SGunnar Mills            "required": [
112dd5c81e9SGunnar Mills                "MessageId"
113dd5c81e9SGunnar Mills            ],
114dd5c81e9SGunnar Mills            "type": "object"
115dd5c81e9SGunnar Mills        }
116dd5c81e9SGunnar Mills    },
117dd5c81e9SGunnar Mills    "language": "en",
118dd5c81e9SGunnar Mills    "owningEntity": "DMTF",
119dd5c81e9SGunnar Mills    "release": "2024.3",
120dd5c81e9SGunnar Mills    "title": "#Message.v1_3_0"
121dd5c81e9SGunnar Mills}