1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/Event.v1_10_1.json",
3    "$ref": "#/definitions/Event",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "The available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
30                    "versionAdded": "v1_2_0"
31                }
32            },
33            "type": "object"
34        },
35        "CPER": {
36            "additionalProperties": false,
37            "description": "Details for a CPER section or record associated with an event.",
38            "longDescription": "This object shall contain the details for a CPER section or record that is the source of an event.",
39            "patternProperties": {
40                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
41                    "description": "This property shall specify a valid odata or Redfish property.",
42                    "type": [
43                        "array",
44                        "boolean",
45                        "integer",
46                        "number",
47                        "null",
48                        "object",
49                        "string"
50                    ]
51                }
52            },
53            "properties": {
54                "NotificationType": {
55                    "description": "The CPER Notification Type for a CPER record.",
56                    "longDescription": "This property shall contain the CPER Notification Type for a CPER record that corresponds to the contents of the `DiagnosticData` property or data retrieved from the URI specified by the `AdditionalDataURI` property.  This property shall only be present if `DiagnosticDataType` contains `CPER`.",
57                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
58                    "readonly": true,
59                    "type": [
60                        "string",
61                        "null"
62                    ],
63                    "versionAdded": "v1_8_0"
64                },
65                "Oem": {
66                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
67                    "description": "The OEM extension property.",
68                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements.",
69                    "versionAdded": "v1_8_0"
70                },
71                "SectionType": {
72                    "description": "The CPER Section Type.",
73                    "longDescription": "This property shall contain the CPER Section Type for a CPER section that corresponds to the contents of the `DiagnosticData` property or data retrieved from the URI specified by the `AdditionalDataURI` property.  This property shall only be present if `DiagnosticDataType` contains `CPERSection`.",
74                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
75                    "readonly": true,
76                    "type": [
77                        "string",
78                        "null"
79                    ],
80                    "versionAdded": "v1_8_0"
81                }
82            },
83            "type": "object"
84        },
85        "DiagnosticDataTypes": {
86            "enum": [
87                "Manager",
88                "PreOS",
89                "OS",
90                "OEM",
91                "CPER",
92                "CPERSection"
93            ],
94            "enumDescriptions": {
95                "CPER": "UEFI Common Platform Error Record.",
96                "CPERSection": "A Section of a UEFI Common Platform Error Record.",
97                "Manager": "Manager diagnostic data.",
98                "OEM": "OEM diagnostic data.",
99                "OS": "Operating system (OS) diagnostic data.",
100                "PreOS": "Pre-OS diagnostic data."
101            },
102            "enumLongDescriptions": {
103                "CPER": "This value shall indicate the data provided at the URI specified by the `AdditionalDataURI` property is a complete UEFI Specification-defined Common Platform Error Record.  The CPER data shall contain a Record Header and at least one Section as defined by the UEFI Specification.",
104                "CPERSection": "This value shall indicate the data provided at the URI specified by the `AdditionalDataURI` property is a single Section of a UEFI Specification-defined Common Platform Error Record.  The CPER data shall contain one Section as defined by the UEFI Specification, with no Record Header."
105            },
106            "type": "string"
107        },
108        "Event": {
109            "additionalProperties": false,
110            "description": "The `Event` schema describes the JSON payload received by an event destination, which has subscribed to event notification, when events occur.  This resource contains data about events, including descriptions, severity, and a message identifier to a message registry that can be accessed for further information.",
111            "longDescription": "This resource contains an event for a Redfish implementation.",
112            "patternProperties": {
113                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
114                    "description": "This property shall specify a valid odata or Redfish property.",
115                    "type": [
116                        "array",
117                        "boolean",
118                        "integer",
119                        "number",
120                        "null",
121                        "object",
122                        "string"
123                    ]
124                }
125            },
126            "properties": {
127                "@odata.context": {
128                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
129                },
130                "@odata.type": {
131                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
132                },
133                "Actions": {
134                    "$ref": "#/definitions/Actions",
135                    "description": "The available actions for this resource.",
136                    "longDescription": "This property shall contain the available actions for this resource.",
137                    "versionAdded": "v1_2_0"
138                },
139                "Context": {
140                    "description": "A context can be supplied at subscription time.  This property is the context value supplied by the subscriber.",
141                    "longDescription": "This property shall contain a client supplied context for the event destination to which this event is being sent.",
142                    "readonly": true,
143                    "type": "string",
144                    "versionAdded": "v1_1_0"
145                },
146                "Description": {
147                    "anyOf": [
148                        {
149                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
150                        },
151                        {
152                            "type": "null"
153                        }
154                    ],
155                    "readonly": true
156                },
157                "Events": {
158                    "autoExpand": true,
159                    "description": "Each event in this array has a set of properties that describe the event.  Because this is an array, more than one event can be sent simultaneously.",
160                    "items": {
161                        "$ref": "#/definitions/EventRecord"
162                    },
163                    "longDescription": "This property shall contain an array of objects that represent the occurrence of one or more events.",
164                    "type": "array"
165                },
166                "Events@odata.count": {
167                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
168                },
169                "Id": {
170                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
171                    "readonly": true
172                },
173                "Name": {
174                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
175                    "readonly": true
176                },
177                "Oem": {
178                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
179                    "description": "The OEM extension property.",
180                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
181                }
182            },
183            "required": [
184                "Events",
185                "@odata.type",
186                "Id",
187                "Name"
188            ],
189            "type": "object"
190        },
191        "EventRecord": {
192            "additionalProperties": false,
193            "patternProperties": {
194                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
195                    "description": "This property shall specify a valid odata or Redfish property.",
196                    "type": [
197                        "array",
198                        "boolean",
199                        "integer",
200                        "number",
201                        "null",
202                        "object",
203                        "string"
204                    ]
205                }
206            },
207            "properties": {
208                "Actions": {
209                    "$ref": "#/definitions/EventRecordActions",
210                    "description": "The available actions for this resource.",
211                    "longDescription": "This property shall contain the available actions for this resource.",
212                    "versionAdded": "v1_2_0"
213                },
214                "AdditionalDataSizeBytes": {
215                    "description": "The size of the additional data for this event.",
216                    "longDescription": "This property shall contain the size of the additional data retrieved from the URI specified by the `AdditionalDataURI` property for this event.",
217                    "readonly": true,
218                    "type": [
219                        "integer",
220                        "null"
221                    ],
222                    "units": "By",
223                    "versionAdded": "v1_8_0"
224                },
225                "AdditionalDataURI": {
226                    "description": "The URI at which to access the additional data for the event, such as diagnostic data, image captures, or other files.",
227                    "format": "uri-reference",
228                    "longDescription": "This property shall contain the URI at which to access the additional data for the event, using the Redfish protocol and authentication methods.  If both `DiagnosticData` and `AdditionalDataURI` are present, `DiagnosticData` shall contain the Base64-encoding of the data retrieved from the URI specified by the `AdditionalDataURI` property.",
229                    "readonly": true,
230                    "type": [
231                        "string",
232                        "null"
233                    ],
234                    "versionAdded": "v1_8_0"
235                },
236                "CPER": {
237                    "$ref": "#/definitions/CPER",
238                    "description": "Details for a CPER section or record associated with this event.",
239                    "longDescription": "This property shall contain the details for a CPER section or record that is the source of this event.",
240                    "versionAdded": "v1_8_0"
241                },
242                "Context": {
243                    "deprecated": "Events are triggered independently from subscriptions to those events.  This property has been deprecated in favor of the `Context` property found at the root level of the object.",
244                    "description": "A context can be supplied at subscription time.  This property is the context value supplied by the subscriber.",
245                    "longDescription": "This property shall contain a client supplied context for the event destination to which this event is being sent.",
246                    "readonly": true,
247                    "type": "string",
248                    "versionDeprecated": "v1_1_0"
249                },
250                "DiagnosticData": {
251                    "description": "A Base64-encoded set of diagnostic data associated with this event.",
252                    "longDescription": "This property shall contain a Base64-encoded string that represents diagnostic data associated with this event.  The contents shall depend on the value of the `DiagnosticDataType` property.  The length of the value should not exceed 4 KB.  Larger diagnostic data payloads should omit this property and use the `AdditionalDataURI` property to reference the data.  If both `DiagnosticData` and `AdditionalDataURI` are present, `DiagnosticData` shall contain the Base64-encoding of the data retrieved from the URI specified by the `AdditionalDataURI` property.",
253                    "readonly": true,
254                    "type": [
255                        "string",
256                        "null"
257                    ],
258                    "versionAdded": "v1_8_0"
259                },
260                "DiagnosticDataType": {
261                    "anyOf": [
262                        {
263                            "$ref": "#/definitions/DiagnosticDataTypes"
264                        },
265                        {
266                            "type": "null"
267                        }
268                    ],
269                    "description": "The type of data available in the `DiagnosticData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
270                    "longDescription": "This property shall contain the type of data available in the `DiagnosticData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
271                    "readonly": true,
272                    "versionAdded": "v1_8_0"
273                },
274                "EventGroupId": {
275                    "description": "The identifier that correlates events with the same root cause.  If `0`, no other event is related to this event.",
276                    "longDescription": "This property shall indicate that events are related and shall have the same value when multiple event messages are produced by the same root cause.  Implementations shall use separate values for events with a separate root cause.  This property value shall not imply an ordering of events.  The `0` value shall indicate that this event is not grouped with any other event.",
277                    "readonly": true,
278                    "type": "integer",
279                    "versionAdded": "v1_3_0"
280                },
281                "EventId": {
282                    "description": "The unique instance identifier of an event.",
283                    "longDescription": "This property shall contain a service-defined unique identifier for the event.",
284                    "readonly": true,
285                    "type": "string"
286                },
287                "EventTimestamp": {
288                    "description": "The time the event occurred.",
289                    "format": "date-time",
290                    "longDescription": "This property shall indicate the time the event occurred where the value shall be consistent with the Redfish service time that is also used for the values of the `Modified` property.",
291                    "readonly": true,
292                    "type": "string"
293                },
294                "EventType": {
295                    "$ref": "http://redfish.dmtf.org/schemas/v1/Event.json#/definitions/EventType",
296                    "deprecated": "This property has been deprecated.  Starting with Redfish Specification v1.6 (Event v1.3), subscriptions are based on the `RegistryPrefix` and `ResourceType` properties and not on the `EventType` property.",
297                    "description": "The type of event.",
298                    "longDescription": "This property shall indicate the type of event.",
299                    "readonly": true,
300                    "versionDeprecated": "v1_3_0"
301                },
302                "LogEntry": {
303                    "$ref": "http://redfish.dmtf.org/schemas/v1/LogEntry.json#/definitions/LogEntry",
304                    "description": "The link to a log entry if an entry was created for this event.",
305                    "longDescription": "This property shall contain a link to a resource of type `LogEntry` that represents the log entry created for this event.",
306                    "readonly": true,
307                    "versionAdded": "v1_7_0"
308                },
309                "MemberId": {
310                    "description": "The unique identifier for the member within an array.",
311                    "longDescription": "This property shall contain the unique identifier for this member within an array.  For services supporting Redfish v1.6 or higher, this value shall contain the zero-based array index.",
312                    "readonly": true,
313                    "type": "string"
314                },
315                "Message": {
316                    "description": "The human-readable event message.",
317                    "longDescription": "This property shall contain a human-readable event message.",
318                    "readonly": true,
319                    "type": "string"
320                },
321                "MessageArgs": {
322                    "description": "An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.",
323                    "items": {
324                        "type": "string"
325                    },
326                    "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.",
327                    "readonly": true,
328                    "type": "array"
329                },
330                "MessageId": {
331                    "description": "The identifier for the message.",
332                    "longDescription": "This property shall contain a `MessageId`, as defined in the 'MessageId format' clause of the Redfish Specification.",
333                    "pattern": "^[A-Za-z0-9]+\\.\\d+\\.\\d+\\.[A-Za-z0-9.]+$",
334                    "readonly": true,
335                    "type": "string"
336                },
337                "MessageSeverity": {
338                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
339                    "description": "The severity of the message in this event.",
340                    "longDescription": "This property shall contain the severity of the message in this event.  Services can replace the value defined in the message registry with a value more applicable to the implementation.",
341                    "readonly": true,
342                    "versionAdded": "v1_5_0"
343                },
344                "OEMDiagnosticDataType": {
345                    "description": "The OEM-defined type of data available in the `DiagnosticData` property or retrieved from the URI specified by the `AdditionalDataURI` property.",
346                    "longDescription": "This property shall contain the OEM-defined type of data available in the `DiagnosticData` property or retrieved from the URI specified by the `AdditionalDataURI` property.  This property shall be present if `DiagnosticDataType` is `OEM`.",
347                    "readonly": true,
348                    "type": [
349                        "string",
350                        "null"
351                    ],
352                    "versionAdded": "v1_9_0"
353                },
354                "Oem": {
355                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
356                    "description": "The OEM extension property.",
357                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
358                },
359                "OriginOfCondition": {
360                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef",
361                    "description": "A link to the resource or object that originated the condition that caused the event to be generated.",
362                    "longDescription": "This property shall contain a link to the resource or object that originated the condition that caused the event to be generated.  If the event subscription has the `IncludeOriginOfCondition` property set to `true`, it shall include the entire resource or object referenced by the link.  For events that represent the creation or deletion of a resource, this property should reference the created or deleted resource and not the collection that contains the resource.",
363                    "readonly": true
364                },
365                "Resolution": {
366                    "description": "Used to provide suggestions on how to resolve the situation that caused the event.",
367                    "longDescription": "This property shall contain the resolution of the event.  Services should replace the resolution defined in the message registry with a more specific resolution in the event.",
368                    "readonly": true,
369                    "type": "string",
370                    "versionAdded": "v1_9_0"
371                },
372                "ResolutionSteps": {
373                    "description": "The list of recommended steps to resolve the cause of the event.",
374                    "items": {
375                        "$ref": "http://redfish.dmtf.org/schemas/v1/ResolutionStep.json#/definitions/ResolutionStep"
376                    },
377                    "longDescription": "This property shall contain an array of recommended steps to resolve the cause of the event.  This property shall not be present if the `MessageSeverity` or `Severity` properties contain `OK`.  A client can stop executing the resolution steps once the `Resolved` property in the associated `LogEntry` resource contains `true` or the `Health` property in the associated resource referenced by the `OriginOfCondition` property contains `OK`.",
378                    "type": "array",
379                    "versionAdded": "v1_10_0"
380                },
381                "Severity": {
382                    "deprecated": "This property has been deprecated in favor of `MessageSeverity`, which ties the values to the enumerations defined for the `Health` property within `Status`.",
383                    "description": "The severity of the event.",
384                    "longDescription": "This property shall contain the severity of the event, 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.",
385                    "readonly": true,
386                    "type": "string",
387                    "versionDeprecated": "v1_5_0"
388                },
389                "SpecificEventExistsInGroup": {
390                    "description": "Indicates this event is equivalent to a more specific event in this event group.",
391                    "longDescription": "This property shall indicate that the event is equivalent to another event, with a more specific definition, within the same `EventGroupId`.  For example, the `DriveFailed` message from the Storage Device Message Registry is more specific than the `ResourceStatusChangedCritical` message from the Resource Event Message Registry, when both occur with the same `EventGroupId`.  This property shall contain `true` if a more specific event is available, and shall contain `false` if no equivalent event exists in the same `EventGroupId`.  If this property is absent, the value shall be assumed to be `false`.",
392                    "readonly": true,
393                    "type": "boolean",
394                    "versionAdded": "v1_6_0"
395                }
396            },
397            "required": [
398                "EventType",
399                "MessageId",
400                "MemberId"
401            ],
402            "type": "object"
403        },
404        "EventRecordActions": {
405            "additionalProperties": false,
406            "description": "The available actions for this resource.",
407            "longDescription": "This type shall contain the available actions for this resource.",
408            "patternProperties": {
409                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
410                    "description": "This property shall specify a valid odata or Redfish property.",
411                    "type": [
412                        "array",
413                        "boolean",
414                        "integer",
415                        "number",
416                        "null",
417                        "object",
418                        "string"
419                    ]
420                }
421            },
422            "properties": {
423                "Oem": {
424                    "$ref": "#/definitions/EventRecordOemActions",
425                    "description": "The available OEM-specific actions for this resource.",
426                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
427                    "versionAdded": "v1_2_0"
428                }
429            },
430            "type": "object"
431        },
432        "EventRecordOemActions": {
433            "additionalProperties": true,
434            "description": "The available OEM-specific actions for this resource.",
435            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
436            "patternProperties": {
437                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
438                    "description": "This property shall specify a valid odata or Redfish property.",
439                    "type": [
440                        "array",
441                        "boolean",
442                        "integer",
443                        "number",
444                        "null",
445                        "object",
446                        "string"
447                    ]
448                }
449            },
450            "properties": {},
451            "type": "object"
452        },
453        "OemActions": {
454            "additionalProperties": true,
455            "description": "The available OEM-specific actions for this resource.",
456            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
457            "patternProperties": {
458                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
459                    "description": "This property shall specify a valid odata or Redfish property.",
460                    "type": [
461                        "array",
462                        "boolean",
463                        "integer",
464                        "number",
465                        "null",
466                        "object",
467                        "string"
468                    ]
469                }
470            },
471            "properties": {},
472            "type": "object"
473        }
474    },
475    "language": "en",
476    "owningEntity": "DMTF",
477    "release": "2023.3",
478    "title": "#Event.v1_10_1.Event"
479}