xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/MessageRegistry.v1_6_3.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistry.v1_6_3.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/MessageRegistry",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
30*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
31*f2a8e57eSGunnar Mills                }
32*f2a8e57eSGunnar Mills            },
33*f2a8e57eSGunnar Mills            "type": "object"
34*f2a8e57eSGunnar Mills        },
35*f2a8e57eSGunnar Mills        "ClearingLogic": {
36*f2a8e57eSGunnar Mills            "additionalProperties": false,
37*f2a8e57eSGunnar Mills            "description": "The clearing logic associated with a message.  The properties within indicate the events, specified by message keys for other messages in this registry, that are cleared by a message with optional conditions.",
38*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the clearing logic associated with a message.",
39*f2a8e57eSGunnar Mills            "patternProperties": {
40*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
41*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
42*f2a8e57eSGunnar Mills                    "type": [
43*f2a8e57eSGunnar Mills                        "array",
44*f2a8e57eSGunnar Mills                        "boolean",
45*f2a8e57eSGunnar Mills                        "integer",
46*f2a8e57eSGunnar Mills                        "number",
47*f2a8e57eSGunnar Mills                        "null",
48*f2a8e57eSGunnar Mills                        "object",
49*f2a8e57eSGunnar Mills                        "string"
50*f2a8e57eSGunnar Mills                    ]
51*f2a8e57eSGunnar Mills                }
52*f2a8e57eSGunnar Mills            },
53*f2a8e57eSGunnar Mills            "properties": {
54*f2a8e57eSGunnar Mills                "ClearsAll": {
55*f2a8e57eSGunnar Mills                    "description": "Indicates whether all logged events containing messages from this message registry are cleared when this message is received.  If conditional properties are present, such as the `ClearsIf` property, the specified conditions shall be required to clear the logged events.",
56*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether all logged events containing messages from this message registry are cleared when this message is received.  If conditional properties are present, such as the `ClearsIf` property, the specified conditions are required to clear the logged events.",
57*f2a8e57eSGunnar Mills                    "readonly": true,
58*f2a8e57eSGunnar Mills                    "type": [
59*f2a8e57eSGunnar Mills                        "boolean",
60*f2a8e57eSGunnar Mills                        "null"
61*f2a8e57eSGunnar Mills                    ],
62*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
63*f2a8e57eSGunnar Mills                },
64*f2a8e57eSGunnar Mills                "ClearsIf": {
65*f2a8e57eSGunnar Mills                    "anyOf": [
66*f2a8e57eSGunnar Mills                        {
67*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/ClearingType"
68*f2a8e57eSGunnar Mills                        },
69*f2a8e57eSGunnar Mills                        {
70*f2a8e57eSGunnar Mills                            "type": "null"
71*f2a8e57eSGunnar Mills                        }
72*f2a8e57eSGunnar Mills                    ],
73*f2a8e57eSGunnar Mills                    "description": "The condition required to clear the logged events specified by other properties in this object when this message is received.",
74*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the condition required to clear the logged events specified by other properties in this object when this message is received.  If not present, no condition is checked prior to clearing logged events when this message is received.",
75*f2a8e57eSGunnar Mills                    "readonly": true,
76*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
77*f2a8e57eSGunnar Mills                },
78*f2a8e57eSGunnar Mills                "ClearsMessage": {
79*f2a8e57eSGunnar Mills                    "description": "An array of message keys for logged events that are cleared when this message is received.  If conditional properties are present, such as the `ClearsIf` property, the specified conditions are required to clear the logged events with these message keys.",
80*f2a8e57eSGunnar Mills                    "items": {
81*f2a8e57eSGunnar Mills                        "type": [
82*f2a8e57eSGunnar Mills                            "string",
83*f2a8e57eSGunnar Mills                            "null"
84*f2a8e57eSGunnar Mills                        ]
85*f2a8e57eSGunnar Mills                    },
86*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of message keys for logged events that are cleared when this message is received.  If conditional properties are present, such as the `ClearsIf` property, the specified conditions shall be required to clear the logged events with these message keys.  This property shall contain message keys, without message registry names and versions, as defined in the 'MessageId format' clause of the Redfish Specification.  This property shall not reference message keys in other message registries.",
87*f2a8e57eSGunnar Mills                    "readonly": true,
88*f2a8e57eSGunnar Mills                    "type": "array",
89*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
90*f2a8e57eSGunnar Mills                }
91*f2a8e57eSGunnar Mills            },
92*f2a8e57eSGunnar Mills            "type": "object"
93*f2a8e57eSGunnar Mills        },
94*f2a8e57eSGunnar Mills        "ClearingType": {
95*f2a8e57eSGunnar Mills            "enum": [
96*f2a8e57eSGunnar Mills                "SameOriginOfCondition"
97*f2a8e57eSGunnar Mills            ],
98*f2a8e57eSGunnar Mills            "enumDescriptions": {
99*f2a8e57eSGunnar Mills                "SameOriginOfCondition": "Indicates that a logged event is cleared by a message if the `OriginOfCondition` for both events are the same."
100*f2a8e57eSGunnar Mills            },
101*f2a8e57eSGunnar Mills            "enumLongDescriptions": {
102*f2a8e57eSGunnar Mills                "SameOriginOfCondition": "This value shall indicate that a logged event is cleared by a message if the `OriginOfCondition` for both events are the same."
103*f2a8e57eSGunnar Mills            },
104*f2a8e57eSGunnar Mills            "type": "string"
105*f2a8e57eSGunnar Mills        },
106*f2a8e57eSGunnar Mills        "Message": {
107*f2a8e57eSGunnar Mills            "additionalProperties": false,
108*f2a8e57eSGunnar Mills            "description": "This type represents how a message is defined within the message registry.",
109*f2a8e57eSGunnar Mills            "longDescription": "The type shall represent how a message is defined within a message registry.",
110*f2a8e57eSGunnar Mills            "patternProperties": {
111*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
112*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
113*f2a8e57eSGunnar Mills                    "type": [
114*f2a8e57eSGunnar Mills                        "array",
115*f2a8e57eSGunnar Mills                        "boolean",
116*f2a8e57eSGunnar Mills                        "integer",
117*f2a8e57eSGunnar Mills                        "number",
118*f2a8e57eSGunnar Mills                        "null",
119*f2a8e57eSGunnar Mills                        "object",
120*f2a8e57eSGunnar Mills                        "string"
121*f2a8e57eSGunnar Mills                    ]
122*f2a8e57eSGunnar Mills                }
123*f2a8e57eSGunnar Mills            },
124*f2a8e57eSGunnar Mills            "properties": {
125*f2a8e57eSGunnar Mills                "ArgDescriptions": {
126*f2a8e57eSGunnar Mills                    "description": "The `MessageArgs` descriptions, in order, used for this message.",
127*f2a8e57eSGunnar Mills                    "items": {
128*f2a8e57eSGunnar Mills                        "type": [
129*f2a8e57eSGunnar Mills                            "string",
130*f2a8e57eSGunnar Mills                            "null"
131*f2a8e57eSGunnar Mills                        ]
132*f2a8e57eSGunnar Mills                    },
133*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an ordered array of text describing each argument used as substitution in the message.",
134*f2a8e57eSGunnar Mills                    "readonly": true,
135*f2a8e57eSGunnar Mills                    "type": "array",
136*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
137*f2a8e57eSGunnar Mills                },
138*f2a8e57eSGunnar Mills                "ArgLongDescriptions": {
139*f2a8e57eSGunnar Mills                    "description": "The `MessageArgs` normative descriptions, in order, used for this message.",
140*f2a8e57eSGunnar Mills                    "items": {
141*f2a8e57eSGunnar Mills                        "type": [
142*f2a8e57eSGunnar Mills                            "string",
143*f2a8e57eSGunnar Mills                            "null"
144*f2a8e57eSGunnar Mills                        ]
145*f2a8e57eSGunnar Mills                    },
146*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an ordered array of normative language for each argument used as substitution in the message.",
147*f2a8e57eSGunnar Mills                    "readonly": true,
148*f2a8e57eSGunnar Mills                    "type": "array",
149*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
150*f2a8e57eSGunnar Mills                },
151*f2a8e57eSGunnar Mills                "ClearingLogic": {
152*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/ClearingLogic",
153*f2a8e57eSGunnar Mills                    "description": "The clearing logic associated with this message.  The properties within indicate the events, specified by message keys for other messages in this registry, that are cleared by this message with optional conditions.",
154*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the clearing logic associated with this message.  Clearing in this context deasserts the event rather than removes the event from a log.",
155*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
156*f2a8e57eSGunnar Mills                },
157*f2a8e57eSGunnar Mills                "Deprecated": {
158*f2a8e57eSGunnar Mills                    "description": "The reason the message has been deprecated.",
159*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate that a message is deprecated.  The value of the string should explain the deprecation, including reference to a new message or messages to be used.  The message can be supported in new and existing implementations, but usage in new implementations is discouraged.  Deprecated messages are likely to be removed in a future major version of the message registry.  The `ReplacedBy` property may be used to provide a reference to a replacement message definition.",
160*f2a8e57eSGunnar Mills                    "readonly": true,
161*f2a8e57eSGunnar Mills                    "type": [
162*f2a8e57eSGunnar Mills                        "string",
163*f2a8e57eSGunnar Mills                        "null"
164*f2a8e57eSGunnar Mills                    ],
165*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
166*f2a8e57eSGunnar Mills                },
167*f2a8e57eSGunnar Mills                "Description": {
168*f2a8e57eSGunnar Mills                    "description": "A short description of how and when to use this message.",
169*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate how and when this message is returned by the Redfish service.",
170*f2a8e57eSGunnar Mills                    "readonly": true,
171*f2a8e57eSGunnar Mills                    "type": "string"
172*f2a8e57eSGunnar Mills                },
173*f2a8e57eSGunnar Mills                "LongDescription": {
174*f2a8e57eSGunnar Mills                    "description": "The normative language that describes this message's usage.",
175*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the normative language that describes this message's usage in a Redfish implementation.",
176*f2a8e57eSGunnar Mills                    "readonly": true,
177*f2a8e57eSGunnar Mills                    "type": [
178*f2a8e57eSGunnar Mills                        "string",
179*f2a8e57eSGunnar Mills                        "null"
180*f2a8e57eSGunnar Mills                    ],
181*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
182*f2a8e57eSGunnar Mills                },
183*f2a8e57eSGunnar Mills                "MapsToGeneralMessages": {
184*f2a8e57eSGunnar Mills                    "description": "The general or less-specific messages related to this message.",
185*f2a8e57eSGunnar Mills                    "items": {
186*f2a8e57eSGunnar Mills                        "type": [
187*f2a8e57eSGunnar Mills                            "string",
188*f2a8e57eSGunnar Mills                            "null"
189*f2a8e57eSGunnar Mills                        ]
190*f2a8e57eSGunnar Mills                    },
191*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate that this message maps to general or less-specific messages that duplicates information about the condition that generated this message.  Services may issue the referenced messages along with this message to provide consistency for clients.  The array shall contain `MessageRegistryPrefix.MessageKey` formatted values that describe the message registry and message key used to identify the messages.",
192*f2a8e57eSGunnar Mills                    "pattern": "^[A-Z]\\w+\\.[A-Z]\\w+$",
193*f2a8e57eSGunnar Mills                    "readonly": true,
194*f2a8e57eSGunnar Mills                    "type": "array",
195*f2a8e57eSGunnar Mills                    "versionAdded": "v1_6_0"
196*f2a8e57eSGunnar Mills                },
197*f2a8e57eSGunnar Mills                "Message": {
198*f2a8e57eSGunnar Mills                    "description": "The actual message.",
199*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the message to display.  If a %integer is included in part of the string, it shall represent a string substitution for any `MessageArgs` that accompany the message, in order.",
200*f2a8e57eSGunnar Mills                    "readonly": true,
201*f2a8e57eSGunnar Mills                    "type": "string"
202*f2a8e57eSGunnar Mills                },
203*f2a8e57eSGunnar Mills                "MessageSeverity": {
204*f2a8e57eSGunnar Mills                    "anyOf": [
205*f2a8e57eSGunnar Mills                        {
206*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
207*f2a8e57eSGunnar Mills                        },
208*f2a8e57eSGunnar Mills                        {
209*f2a8e57eSGunnar Mills                            "type": "null"
210*f2a8e57eSGunnar Mills                        }
211*f2a8e57eSGunnar Mills                    ],
212*f2a8e57eSGunnar Mills                    "description": "The severity of the message.",
213*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the severity of the message.  Services can replace the severity defined in the message registry with a value more applicable to the implementation in message payloads and event payloads.",
214*f2a8e57eSGunnar Mills                    "readonly": true,
215*f2a8e57eSGunnar Mills                    "versionAdded": "v1_4_0"
216*f2a8e57eSGunnar Mills                },
217*f2a8e57eSGunnar Mills                "NumberOfArgs": {
218*f2a8e57eSGunnar Mills                    "description": "The number of arguments in the message.",
219*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of arguments that are substituted for the locations marked with %<integer> in the message.",
220*f2a8e57eSGunnar Mills                    "minimum": 0,
221*f2a8e57eSGunnar Mills                    "readonly": true,
222*f2a8e57eSGunnar Mills                    "type": "integer"
223*f2a8e57eSGunnar Mills                },
224*f2a8e57eSGunnar Mills                "Oem": {
225*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
226*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
227*f2a8e57eSGunnar 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."
228*f2a8e57eSGunnar Mills                },
229*f2a8e57eSGunnar Mills                "ParamTypes": {
230*f2a8e57eSGunnar Mills                    "description": "The data types of the message arguments, prior to conversion to strings for inclusion in a message.",
231*f2a8e57eSGunnar Mills                    "items": {
232*f2a8e57eSGunnar Mills                        "$ref": "#/definitions/ParamType"
233*f2a8e57eSGunnar Mills                    },
234*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an ordered array of the data types of the values in `MessageArgs`, prior to their conversion to strings for inclusion in a message.",
235*f2a8e57eSGunnar Mills                    "readonly": true,
236*f2a8e57eSGunnar Mills                    "type": "array"
237*f2a8e57eSGunnar Mills                },
238*f2a8e57eSGunnar Mills                "ReplacedBy": {
239*f2a8e57eSGunnar Mills                    "description": "The message identifier that replaces this message.",
240*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the message registry and message key, in the `MessageRegistryPrefix.MessageKey` format, that identifies the message that replaces this message.  This property may be used to indicate replacement for a deprecated message, including cases where a standardized version replaces an OEM-created message.",
241*f2a8e57eSGunnar Mills                    "pattern": "^[A-Z]\\w+\\.[A-Z]\\w+$",
242*f2a8e57eSGunnar Mills                    "readonly": true,
243*f2a8e57eSGunnar Mills                    "type": [
244*f2a8e57eSGunnar Mills                        "string",
245*f2a8e57eSGunnar Mills                        "null"
246*f2a8e57eSGunnar Mills                    ],
247*f2a8e57eSGunnar Mills                    "versionAdded": "v1_6_0"
248*f2a8e57eSGunnar Mills                },
249*f2a8e57eSGunnar Mills                "Resolution": {
250*f2a8e57eSGunnar Mills                    "description": "Used to provide suggestions on how to resolve the situation that caused the error.",
251*f2a8e57eSGunnar 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.",
252*f2a8e57eSGunnar Mills                    "readonly": true,
253*f2a8e57eSGunnar Mills                    "type": "string"
254*f2a8e57eSGunnar Mills                },
255*f2a8e57eSGunnar Mills                "Severity": {
256*f2a8e57eSGunnar 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`.",
257*f2a8e57eSGunnar Mills                    "description": "The severity of the message.",
258*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the severity of the condition resulting in the message, as defined in the 'Status' clause of the Redfish Specification.  Services can replace the severity defined in the message registry with a value more applicable to the implementation in message payloads and event payloads.",
259*f2a8e57eSGunnar Mills                    "readonly": true,
260*f2a8e57eSGunnar Mills                    "type": "string",
261*f2a8e57eSGunnar Mills                    "versionDeprecated": "v1_4_0"
262*f2a8e57eSGunnar Mills                },
263*f2a8e57eSGunnar Mills                "VersionAdded": {
264*f2a8e57eSGunnar Mills                    "description": "The registry version which added this message.",
265*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of the message registry when the message was added.  This property shall not appear for messages created at version `1.0.0` of a message registry.",
266*f2a8e57eSGunnar Mills                    "pattern": "^\\d+\\.\\d+\\.\\d+$",
267*f2a8e57eSGunnar Mills                    "readonly": true,
268*f2a8e57eSGunnar Mills                    "type": [
269*f2a8e57eSGunnar Mills                        "string",
270*f2a8e57eSGunnar Mills                        "null"
271*f2a8e57eSGunnar Mills                    ],
272*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
273*f2a8e57eSGunnar Mills                },
274*f2a8e57eSGunnar Mills                "VersionDeprecated": {
275*f2a8e57eSGunnar Mills                    "description": "The registry version when the message was deprecated.",
276*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of the registry when the message was deprecated.  This property shall not appear if the message has not been deprecated.",
277*f2a8e57eSGunnar Mills                    "pattern": "^\\d+\\.\\d+\\.\\d+$",
278*f2a8e57eSGunnar Mills                    "readonly": true,
279*f2a8e57eSGunnar Mills                    "type": [
280*f2a8e57eSGunnar Mills                        "string",
281*f2a8e57eSGunnar Mills                        "null"
282*f2a8e57eSGunnar Mills                    ],
283*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
284*f2a8e57eSGunnar Mills                }
285*f2a8e57eSGunnar Mills            },
286*f2a8e57eSGunnar Mills            "required": [
287*f2a8e57eSGunnar Mills                "Description",
288*f2a8e57eSGunnar Mills                "Message",
289*f2a8e57eSGunnar Mills                "Severity",
290*f2a8e57eSGunnar Mills                "NumberOfArgs",
291*f2a8e57eSGunnar Mills                "Resolution",
292*f2a8e57eSGunnar Mills                "MessageSeverity"
293*f2a8e57eSGunnar Mills            ],
294*f2a8e57eSGunnar Mills            "type": "object"
295*f2a8e57eSGunnar Mills        },
296*f2a8e57eSGunnar Mills        "MessageProperty": {
297*f2a8e57eSGunnar Mills            "additionalProperties": false,
298*f2a8e57eSGunnar Mills            "description": "The message keys contained in the message registry.",
299*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the message keys contained in the message registry.  The message keys are the suffix of the `MessageId` and shall be unique within this message registry.",
300*f2a8e57eSGunnar Mills            "patternProperties": {
301*f2a8e57eSGunnar Mills                "[A-Za-z0-9]+": {
302*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Message"
303*f2a8e57eSGunnar Mills                },
304*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
305*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
306*f2a8e57eSGunnar Mills                    "type": [
307*f2a8e57eSGunnar Mills                        "array",
308*f2a8e57eSGunnar Mills                        "boolean",
309*f2a8e57eSGunnar Mills                        "integer",
310*f2a8e57eSGunnar Mills                        "number",
311*f2a8e57eSGunnar Mills                        "null",
312*f2a8e57eSGunnar Mills                        "object",
313*f2a8e57eSGunnar Mills                        "string"
314*f2a8e57eSGunnar Mills                    ]
315*f2a8e57eSGunnar Mills                }
316*f2a8e57eSGunnar Mills            },
317*f2a8e57eSGunnar Mills            "properties": {},
318*f2a8e57eSGunnar Mills            "type": "object"
319*f2a8e57eSGunnar Mills        },
320*f2a8e57eSGunnar Mills        "MessageRegistry": {
321*f2a8e57eSGunnar Mills            "additionalProperties": false,
322*f2a8e57eSGunnar Mills            "description": "The `MessageRegistry` schema describes all message registries.  It represents the properties for the message registries themselves.",
323*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent a message registry for a Redfish implementation.",
324*f2a8e57eSGunnar Mills            "patternProperties": {
325*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
326*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
327*f2a8e57eSGunnar Mills                    "type": [
328*f2a8e57eSGunnar Mills                        "array",
329*f2a8e57eSGunnar Mills                        "boolean",
330*f2a8e57eSGunnar Mills                        "integer",
331*f2a8e57eSGunnar Mills                        "number",
332*f2a8e57eSGunnar Mills                        "null",
333*f2a8e57eSGunnar Mills                        "object",
334*f2a8e57eSGunnar Mills                        "string"
335*f2a8e57eSGunnar Mills                    ]
336*f2a8e57eSGunnar Mills                }
337*f2a8e57eSGunnar Mills            },
338*f2a8e57eSGunnar Mills            "properties": {
339*f2a8e57eSGunnar Mills                "@odata.type": {
340*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
341*f2a8e57eSGunnar Mills                },
342*f2a8e57eSGunnar Mills                "Actions": {
343*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
344*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
345*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource.",
346*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
347*f2a8e57eSGunnar Mills                },
348*f2a8e57eSGunnar Mills                "Description": {
349*f2a8e57eSGunnar Mills                    "anyOf": [
350*f2a8e57eSGunnar Mills                        {
351*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
352*f2a8e57eSGunnar Mills                        },
353*f2a8e57eSGunnar Mills                        {
354*f2a8e57eSGunnar Mills                            "type": "null"
355*f2a8e57eSGunnar Mills                        }
356*f2a8e57eSGunnar Mills                    ],
357*f2a8e57eSGunnar Mills                    "readonly": true
358*f2a8e57eSGunnar Mills                },
359*f2a8e57eSGunnar Mills                "Id": {
360*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
361*f2a8e57eSGunnar Mills                    "readonly": true
362*f2a8e57eSGunnar Mills                },
363*f2a8e57eSGunnar Mills                "Language": {
364*f2a8e57eSGunnar Mills                    "description": "The RFC5646-conformant language code for the message registry.",
365*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an RFC5646-conformant language code.",
366*f2a8e57eSGunnar Mills                    "readonly": true,
367*f2a8e57eSGunnar Mills                    "type": "string"
368*f2a8e57eSGunnar Mills                },
369*f2a8e57eSGunnar Mills                "Messages": {
370*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/MessageProperty",
371*f2a8e57eSGunnar Mills                    "description": "The message keys contained in the message registry.",
372*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the message keys contained in the message registry.  The message keys are the suffix of the `MessageId` and shall be unique within this message registry."
373*f2a8e57eSGunnar Mills                },
374*f2a8e57eSGunnar Mills                "Name": {
375*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
376*f2a8e57eSGunnar Mills                    "readonly": true
377*f2a8e57eSGunnar Mills                },
378*f2a8e57eSGunnar Mills                "Oem": {
379*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
380*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
381*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
382*f2a8e57eSGunnar Mills                },
383*f2a8e57eSGunnar Mills                "OwningEntity": {
384*f2a8e57eSGunnar Mills                    "description": "The organization or company that publishes this message registry.",
385*f2a8e57eSGunnar Mills                    "longDescription": "This property shall represent the publisher of this message registry.",
386*f2a8e57eSGunnar Mills                    "readonly": true,
387*f2a8e57eSGunnar Mills                    "type": "string"
388*f2a8e57eSGunnar Mills                },
389*f2a8e57eSGunnar Mills                "RegistryPrefix": {
390*f2a8e57eSGunnar Mills                    "description": "The single-word prefix that is used in forming and decoding `MessageId` values.",
391*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the Redfish Specification-defined prefix used in forming and decoding `MessageId` values that uniquely identifies all messages that belong to this message registry.",
392*f2a8e57eSGunnar Mills                    "readonly": true,
393*f2a8e57eSGunnar Mills                    "type": "string"
394*f2a8e57eSGunnar Mills                },
395*f2a8e57eSGunnar Mills                "RegistryVersion": {
396*f2a8e57eSGunnar Mills                    "description": "The message registry version in the middle portion of a `MessageId`.",
397*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the version of this message registry.",
398*f2a8e57eSGunnar Mills                    "pattern": "^\\d+\\.\\d+\\.\\d+$",
399*f2a8e57eSGunnar Mills                    "readonly": true,
400*f2a8e57eSGunnar Mills                    "type": "string"
401*f2a8e57eSGunnar Mills                }
402*f2a8e57eSGunnar Mills            },
403*f2a8e57eSGunnar Mills            "required": [
404*f2a8e57eSGunnar Mills                "Language",
405*f2a8e57eSGunnar Mills                "RegistryPrefix",
406*f2a8e57eSGunnar Mills                "RegistryVersion",
407*f2a8e57eSGunnar Mills                "OwningEntity",
408*f2a8e57eSGunnar Mills                "Messages",
409*f2a8e57eSGunnar Mills                "@odata.type",
410*f2a8e57eSGunnar Mills                "Id",
411*f2a8e57eSGunnar Mills                "Name"
412*f2a8e57eSGunnar Mills            ],
413*f2a8e57eSGunnar Mills            "type": "object"
414*f2a8e57eSGunnar Mills        },
415*f2a8e57eSGunnar Mills        "OemActions": {
416*f2a8e57eSGunnar Mills            "additionalProperties": true,
417*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
418*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
419*f2a8e57eSGunnar Mills            "patternProperties": {
420*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
421*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
422*f2a8e57eSGunnar Mills                    "type": [
423*f2a8e57eSGunnar Mills                        "array",
424*f2a8e57eSGunnar Mills                        "boolean",
425*f2a8e57eSGunnar Mills                        "integer",
426*f2a8e57eSGunnar Mills                        "number",
427*f2a8e57eSGunnar Mills                        "null",
428*f2a8e57eSGunnar Mills                        "object",
429*f2a8e57eSGunnar Mills                        "string"
430*f2a8e57eSGunnar Mills                    ]
431*f2a8e57eSGunnar Mills                }
432*f2a8e57eSGunnar Mills            },
433*f2a8e57eSGunnar Mills            "properties": {},
434*f2a8e57eSGunnar Mills            "type": "object"
435*f2a8e57eSGunnar Mills        },
436*f2a8e57eSGunnar Mills        "ParamType": {
437*f2a8e57eSGunnar Mills            "enum": [
438*f2a8e57eSGunnar Mills                "string",
439*f2a8e57eSGunnar Mills                "number"
440*f2a8e57eSGunnar Mills            ],
441*f2a8e57eSGunnar Mills            "enumDescriptions": {
442*f2a8e57eSGunnar Mills                "number": "The argument is a number converted to a string.",
443*f2a8e57eSGunnar Mills                "string": "The argument is a string."
444*f2a8e57eSGunnar Mills            },
445*f2a8e57eSGunnar Mills            "type": "string"
446*f2a8e57eSGunnar Mills        }
447*f2a8e57eSGunnar Mills    },
448*f2a8e57eSGunnar Mills    "language": "en",
449*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
450*f2a8e57eSGunnar Mills    "release": "2022.3",
451*f2a8e57eSGunnar Mills    "title": "#MessageRegistry.v1_6_3.MessageRegistry"
452*f2a8e57eSGunnar Mills}