Bump Redfish schemas to 2023.3
Redfish released 2023.3 1/25/2024.
https://www.dmtf.org/content/redfish-release-20233-now-available
It is several new schemas and added properties to a pile of schemas.
One use case is: ComputerSystem v1.22.0
Added EfficiencyFavorPower and EfficiencyFavorPerformance to PowerMode
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/69122
This is a one line change to scripts/update_schemas.py and then ran the
script.
Tested: See the new schema versions (e.g. System 1.22.0).
No new Validator errors on p10bmc.
Change-Id: I5c10d78e891da71fd14187f63aa6ac682cf15598
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/static/redfish/v1/JsonSchemas/Message/Message.json b/static/redfish/v1/JsonSchemas/Message/Message.json
index 27d6dbf..760f2d0 100644
--- a/static/redfish/v1/JsonSchemas/Message/Message.json
+++ b/static/redfish/v1/JsonSchemas/Message/Message.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_1_3.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_2_0.json",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2023 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
@@ -70,6 +70,15 @@
"readonly": true,
"type": "string"
},
+ "ResolutionSteps": {
+ "description": "The list of recommended steps to resolve the situation that caused the message.",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/ResolutionStep.json#/definitions/ResolutionStep"
+ },
+ "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`.",
+ "type": "array",
+ "versionAdded": "v1_2_0"
+ },
"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 message.",
@@ -86,6 +95,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2020.1",
- "title": "#Message.v1_1_3"
+ "release": "2023.3",
+ "title": "#Message.v1_2_0"
}
\ No newline at end of file