Move to 2020.2
Point update_schemas.py at 2020.2 and run the script.
An overview of 2020.2 can be found at:
https://www.dmtf.org/sites/default/files/Redfish_Release_2020.2_Overview.pdf
Tested: Loaded on a Witherspoon and ran the validator.
See the new schemas.
Change-Id: Idb6cbc58efe484dcffa0cc22deff3a4746af67ed
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/static/redfish/v1/JsonSchemas/Event/Event.json b/static/redfish/v1/JsonSchemas/Event/Event.json
index 90c38c4..8c33690 100644
--- a/static/redfish/v1/JsonSchemas/Event/Event.json
+++ b/static/redfish/v1/JsonSchemas/Event/Event.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Event.v1_4_2.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Event.v1_5_0.json",
"$ref": "#/definitions/Event",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -202,6 +202,20 @@
"readonly": true,
"type": "string"
},
+ "MessageSeverity": {
+ "anyOf": [
+ {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The severity of the message in this event.",
+ "longDescription": "This property shall contain the severity of the message in this event.",
+ "readonly": true,
+ "versionAdded": "v1_5_0"
+ },
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "The OEM extension property.",
@@ -214,10 +228,12 @@
"readonly": true
},
"Severity": {
+ "deprecated": "This property has been deprecated in favor of MessageSeverity, which ties the values to the enumerations defined for the Health property within Status.",
"description": "The severity of the event.",
"longDescription": "This property shall contain the severity of the event, as defined by the Redfish Specification.",
"readonly": true,
- "type": "string"
+ "type": "string",
+ "versionDeprecated": "v1_5_0"
}
},
"required": [
@@ -299,6 +315,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2019.1",
- "title": "#Event.v1_4_2.Event"
+ "release": "2020.2",
+ "title": "#Event.v1_5_0.Event"
}
\ No newline at end of file