{
    "$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"
}
