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