Redfish: Update schema files to 2018.3
Redfish schema 2018.3 was released on January 11th, 2019. While there
aren't any plans to utilize any of the new services, it makes sense to
keep up to date with the latest static data.
This commit was largely done automatically using the update_schemas.py
script.
Change-Id: I74c6fac08d21629ca976ff8694fce011b5247e34
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
index 9de14eb..8bfd3b9 100644
--- a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
+++ b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
@@ -1,4 +1,5 @@
{
+ "$id": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.v1_0_1.json",
"$ref": "#/definitions/MetricDefinition",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -316,7 +317,7 @@
"readonly": false
},
"MetricProperties": {
- "description": "A collection of URI for the properties on which this metric definition is defined.",
+ "description": "A list of URIs with wildcards and property identifiers for which this metric definition is defined. If a URI has wildcards, the wildcards are substituted as specified in the Wildcards array property.",
"format": "uri",
"items": {
"type": [
@@ -324,7 +325,7 @@
"null"
]
},
- "longDescription": "Each value may contain one or more Wildcard names enclosed in curly braces. Wildcard value entries shall be substituted for each Wildcard name found. If two or more wild names are found, the same Wildcard index is used for each in one substitution pass. After substituting the WildCard values entries, each value shall be a URI for a property in a resource that matches a property declaration in the corresponding MetricDefinition.",
+ "longDescription": "This array property shall contain a list of URIs with wildcards and property identifiers for which this metric definition is defined. Each wildcard in the URI shall be delimited by a set of curly braces. Each wildcard shall be substituted as specified by the corresponding entry in the Wildcard array property. Once an URI with wildcards has had its wildcards fully substituted, it shall reference a resource property for which the metric definition applies. The property identifiers portion of the URI shall follow JSON fragment notation rules defined by RFC6901.",
"readonly": false,
"type": "array"
},
@@ -411,7 +412,7 @@
]
},
"Wildcards": {
- "description": "Wildcards used to replace values in AppliesTo and Calculates metric property arrays.",
+ "description": "A list of wildcards and their substitution values to be applied to the entries in the MetricProperties array property.",
"items": {
"anyOf": [
{
@@ -422,7 +423,7 @@
}
]
},
- "longDescription": "The property shall contain an array of wildcards and their replacements strings, which are to appliced to the AppliesTo or Caculates array.",
+ "longDescription": "The property shall contain a list of wildcards and their replacement strings, which are applied to the MetricProperties array property. Each wildcard shall have a corresponding entry in this array property.",
"type": "array"
}
},
@@ -479,8 +480,8 @@
},
"Wildcard": {
"additionalProperties": false,
- "description": "Contains a list of wildcards and their substitution values.",
- "longDescription": "Each wildcard shall have a corresponding entry in this list element. Each entry shall specified the wildcard and its substitution values.",
+ "description": "Contains a wildcard and its substitution values.",
+ "longDescription": "This property shall contain a wildcard and its substitution values.",
"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.",
@@ -497,8 +498,8 @@
},
"properties": {
"Name": {
- "description": "The name of Wildcard.",
- "longDescription": "This property shall contain the string used as a Wildcard.",
+ "description": "The string used as a wildcard.",
+ "longDescription": "This property shall contain the string used as a wildcard.",
"readonly": true,
"type": [
"string",
@@ -513,7 +514,7 @@
"null"
]
},
- "longDescription": "This property shall contain the list of values to substituted for the wildcard.",
+ "longDescription": "This property shall contain the list of values to substitute for the wildcard.",
"readonly": true,
"type": "array"
}
@@ -522,5 +523,6 @@
}
},
"owningEntity": "DMTF",
- "title": "#MetricDefinition.v1_0_0.MetricDefinition"
+ "release": "2018.2",
+ "title": "#MetricDefinition.v1_0_1.MetricDefinition"
}
\ No newline at end of file