{ "$id": "http://redfish.dmtf.org/schemas/v1/redfish-error.v1_0_2.json", "$ref": "#/definitions/RedfishError", "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", "definitions": { "RedfishError": { "additionalProperties": false, "description": "The error payload from a Redfish service.", "longDescription": "The Redfish Specification-described type shall contain an error payload from a Redfish service.", "properties": { "error": { "$ref": "#/definitions/RedfishErrorContents", "description": "The properties that describe an error from a Redfish service.", "longDescription": "This property, as described by the Redfish Specification, shall contain properties that describe an error from a Redfish service." } }, "required": [ "error" ], "type": "object" }, "RedfishErrorContents": { "additionalProperties": false, "description": "The properties that describe an error from a Redfish service.", "longDescription": "The Redfish Specification-described type shall contain properties that describe an error from a Redfish service.", "properties": { "code": { "description": "A string indicating a specific `MessageId` from a message registry.", "longDescription": "This property shall contain a string indicating a specific `MessageId` from a message registry.", "readonly": true, "type": "string" }, "message": { "description": "A human-readable error message corresponding to the message in a message registry.", "longDescription": "This property shall contain a human-readable error message corresponding to the message in a message registry.", "readonly": true, "type": "string" }, "@Message.ExtendedInfo": { "description": "An array of messages describing one or more error messages.", "longDescription": "This property shall be an array of message objects describing one or more error messages.", "type": "array", "items": { "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message" } } }, "required": [ "code", "message" ], "type": "object" } }, "language": "en", "owningEntity": "DMTF", "title": "redfish-error.v1_0_2" }