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/redfish-error/index.json b/static/redfish/v1/JsonSchemas/redfish-error/index.json
new file mode 100644
index 0000000..3f284b7
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/redfish-error/index.json
@@ -0,0 +1,21 @@
+{
+ "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+ "@odata.id": "/redfish/v1/JSONSchemas/redfish-error",
+ "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+ "Name": "redfish-error Schema File",
+ "Schema": "#redfish-error.redfish-error",
+ "Description": "redfish-error Schema File Location",
+ "Id": "redfish-error",
+ "Languages": [
+ "en"
+ ],
+ "Languages@odata.count": 1,
+ "Location": [
+ {
+ "Language": "en",
+ "PublicationUri": "http://redfish.dmtf.org/schemas/v1/redfish-error.json",
+ "Uri": "/redfish/v1/JSONSchemas/redfish-error/redfish-error.json"
+ }
+ ],
+ "Location@odata.count": 1
+}
\ No newline at end of file
diff --git a/static/redfish/v1/JsonSchemas/redfish-error/redfish-error.json b/static/redfish/v1/JsonSchemas/redfish-error/redfish-error.json
new file mode 100644
index 0000000..a4b699d
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/redfish-error/redfish-error.json
@@ -0,0 +1,58 @@
+{
+ "$id": "http://redfish.dmtf.org/schemas/v1/redfish-error.v1_0_0.json",
+ "$ref": "#/definitions/RedfishError",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
+ "copyright": "Copyright 2014-2018 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "definitions": {
+ "RedfishError": {
+ "additionalProperties": false,
+ "description": "Contains an error payload from a Redfish Service.",
+ "longDescription": "This type, as described by the Redfish Specification, shall contain an error payload from a Redfish Service.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/RedfishErrorContents",
+ "description": "Contains properties used to describe an error from a Redfish Service.",
+ "longDescription": "This property, as described by the Redfish Specification, shall contain properties used to describe an error from a Redfish Service."
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ "RedfishErrorContents": {
+ "additionalProperties": false,
+ "description": "Contains properties used to describe an error from a Redfish Service.",
+ "longDescription": "This type, as described by the Redfish Specification, shall contain properties used to describe an error from a Redfish Service.",
+ "properties": {
+ "code": {
+ "description": "A string indicating a specific MessageId from the message registry.",
+ "longDescription": "This property shall be a string indicating a specific MessageId from the message registry.",
+ "readonly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable error message corresponding to the message in the message registry.",
+ "longDescription": "This property shall be a human-readable error message corresponding to the message in the message registry.",
+ "readonly": true,
+ "type": "string"
+ },
+ "@Message.ExtendedInfo": {
+ "description": "An array of message objects describing one or more error message(s).",
+ "longDescription": "This property shall be an array of message objects describing one or more error message(s).",
+ "type": "array",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message"
+ }
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "owningEntity": "DMTF",
+ "title": "redfish-error.v1_0_0"
+}