Move to 2021.2
Update the script to point at 2021.2, change the path of the files since
they moved yet again, and run the script.
The directory structure moved back to the way they had it pre-2020.1:
https://github.com/openbmc/bmcweb/commit/a778c0261282b95e14ea3f4406959638b5edb040
Since we have an exclude list, this only brings in new versions of
schemas bmcweb already uses.
Overview of 2021.2:
https://www.dmtf.org/sites/default/files/Redfish_Release_2021.2_Overview.pdf
IBM plans to use Control (for PowerCapping) and IdlePowerSaver
immediately.
Tested: Validator passed after DMTF/Redfish-Service-Validator/pull/423
merged.
CI uses the latest Redfish-Service-Validator so not a problem for CI.
For manual users only a small window where an older validator would
fail. After the schemapack changes but before PR423.
See the new schemas.
Change-Id: I2fe539087167cf6d962c14bf31fa23861302646f
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/static/redfish/v1/JsonSchemas/ActionInfo/ActionInfo.json b/static/redfish/v1/JsonSchemas/ActionInfo/ActionInfo.json
index 73ffca2..8e05065 100644
--- a/static/redfish/v1/JsonSchemas/ActionInfo/ActionInfo.json
+++ b/static/redfish/v1/JsonSchemas/ActionInfo/ActionInfo.json
@@ -1,13 +1,13 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/ActionInfo.v1_1_2.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/ActionInfo.v1_2_0.json",
"$ref": "#/definitions/ActionInfo",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"ActionInfo": {
"additionalProperties": false,
- "description": "The ActionInfo schema defines the supported parameters and other information for a Redfish action. Supported parameters can differ among vendors and even among Resource instances. This data can ensure that action requests from applications contain supported parameters.",
- "longDescription": "This Resource shall represent the supported parameters and other information for a Redfish action on a target within a Redfish implementation. Supported parameters can differ among vendors and even among Resource instances. This data can ensure that action requests from applications contain supported parameters.",
+ "description": "The ActionInfo schema defines the supported parameters and other information for a Redfish action. Supported parameters can differ among vendors and even among resource instances. This data can ensure that action requests from applications contain supported parameters.",
+ "longDescription": "This resource shall represent the supported parameters and other information for a Redfish action on a target within a Redfish implementation. Supported parameters can differ among vendors and even among resource instances. This data can ensure that action requests from applications contain supported parameters.",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
@@ -64,7 +64,7 @@
"items": {
"$ref": "#/definitions/Parameters"
},
- "longDescription": "This property shall list the parameters included in the specified Redfish action for this Resource.",
+ "longDescription": "This property shall list the parameters included in the specified Redfish action for this resource.",
"type": "array"
}
},
@@ -99,8 +99,8 @@
},
"Parameters": {
"additionalProperties": false,
- "description": "The information about a parameter included in a Redfish action for this Resource.",
- "longDescription": "This property shall contain information about a parameter included in a Redfish Action for this Resource.",
+ "description": "The information about a parameter included in a Redfish action for this resource.",
+ "longDescription": "This property shall contain information about a parameter included in a Redfish action for this resource.",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
@@ -124,10 +124,30 @@
"null"
]
},
- "longDescription": "This property shall indicate the allowable values for this parameter as applied to this action target.",
+ "longDescription": "This property shall indicate the allowable values for this parameter as applied to this action target. For arrays, this property shall represent the allowable values for each array member.",
"readonly": true,
"type": "array"
},
+ "ArraySizeMaximum": {
+ "description": "The maximum number of array elements allowed for this parameter.",
+ "longDescription": "This property shall contain the maximum number of array elements that this service supports for this parameter. This property shall not be present for non-array parameters.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "versionAdded": "v1_2_0"
+ },
+ "ArraySizeMinimum": {
+ "description": "The minimum number of array elements required for this parameter.",
+ "longDescription": "This property shall contain the minimum number of array elements required by this service for this parameter. This property shall not be present for non-array parameters.",
+ "readonly": true,
+ "type": [
+ "integer",
+ "null"
+ ],
+ "versionAdded": "v1_2_0"
+ },
"DataType": {
"anyOf": [
{
@@ -143,7 +163,7 @@
},
"MaximumValue": {
"description": "The maximum supported value for this parameter.",
- "longDescription": "This integer or number property shall contain the maximum value that this service supports. This property shall not be present for non-integer or number parameters.",
+ "longDescription": "This integer or number property shall contain the maximum value that this service supports. For arrays, this property shall represent the maximum value for each array member. This property shall not be present for non-integer or number parameters.",
"readonly": true,
"type": [
"number",
@@ -153,7 +173,7 @@
},
"MinimumValue": {
"description": "The minimum supported value for this parameter.",
- "longDescription": "This integer or number property shall contain the minimum value that this service supports. This property shall not be present for parameters that are of types other than integer or number.",
+ "longDescription": "This integer or number property shall contain the minimum value that this service supports. For arrays, this property shall represent the minimum value for each array member. This property shall not be present for non-integer or number parameters.",
"readonly": true,
"type": [
"number",
@@ -190,6 +210,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2018.2",
- "title": "#ActionInfo.v1_1_2.ActionInfo"
+ "release": "2021.2",
+ "title": "#ActionInfo.v1_2_0.ActionInfo"
}
\ No newline at end of file