1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/redfish-error.v1_0_2.json",
3    "$ref": "#/definitions/RedfishError",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "RedfishError": {
8            "additionalProperties": false,
9            "description": "The error payload from a Redfish service.",
10            "longDescription": "The Redfish Specification-described type shall contain an error payload from a Redfish service.",
11            "properties": {
12                "error": {
13                    "$ref": "#/definitions/RedfishErrorContents",
14                    "description": "The properties that describe an error from a Redfish service.",
15                    "longDescription": "This property, as described by the Redfish Specification, shall contain properties that describe an error from a Redfish service."
16                }
17            },
18            "required": [
19                "error"
20            ],
21            "type": "object"
22        },
23        "RedfishErrorContents": {
24            "additionalProperties": false,
25            "description": "The properties that describe an error from a Redfish service.",
26            "longDescription": "The Redfish Specification-described type shall contain properties that describe an error from a Redfish service.",
27            "properties": {
28                "code": {
29                    "description": "A string indicating a specific `MessageId` from a message registry.",
30                    "longDescription": "This property shall contain a string indicating a specific `MessageId` from a message registry.",
31                    "readonly": true,
32                    "type": "string"
33                },
34                "message": {
35                    "description": "A human-readable error message corresponding to the message in a message registry.",
36                    "longDescription": "This property shall contain a human-readable error message corresponding to the message in a message registry.",
37                    "readonly": true,
38                    "type": "string"
39                },
40                "@Message.ExtendedInfo": {
41                    "description": "An array of messages describing one or more error messages.",
42                    "longDescription": "This property shall be an array of message objects describing one or more error messages.",
43                    "type": "array",
44                    "items": {
45                        "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message"
46                    }
47                }
48            },
49            "required": [
50                "code",
51                "message"
52            ],
53            "type": "object"
54        }
55    },
56    "language": "en",
57    "owningEntity": "DMTF",
58    "title": "redfish-error.v1_0_2"
59}
60