Update Redfish schemas to 2019.2
Note, the DMTF changed the format of the schema file pack yet again, so
the script changes now to compensate for that.
Tested:
Ran schema validator. One unrelated failure in LogEntry, and 4 new
warnings in PCIe devices (we're using a deprecated property). All other
endpoints pass.
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Change-Id: I81c030a7c5a6a32cc12a5e7e02a9441b7891bc5d
diff --git a/static/redfish/v1/JsonSchemas/odata/odata.json b/static/redfish/v1/JsonSchemas/odata/odata.json
index a170134..102441c 100644
--- a/static/redfish/v1/JsonSchemas/odata/odata.json
+++ b/static/redfish/v1/JsonSchemas/odata/odata.json
@@ -1,16 +1,17 @@
{
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/odata-v4_0_4.json",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"definitions": {
"context": {
"type": "string",
- "format": "uri",
+ "format": "uri-reference",
"readonly": true,
"description": "The OData description of a payload.",
"longDescription": "The value of this property shall be the context URL that describes the resource according to OData-Protocol and shall be of the form defined in the Redfish specification."
},
"id": {
"type": "string",
- "format": "uri",
+ "format": "uri-reference",
"readonly": true,
"description": "The unique identifier for a resource.",
"longDescription": "The value of this property shall be the unique identifier for the resource and it shall be of the form defined in the Redfish specification."
@@ -46,7 +47,7 @@
},
"nextLink": {
"type": "string",
- "format": "uri",
+ "format": "uri-reference",
"readonly": true,
"description": "The URI to the resource containing the next set of partial members.",
"longDescription": "The value of this property shall be a URI to a resource, with the same @odata.type, containing the next set of partial members."