{
    "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_0_7.json",
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
    "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
    "definitions": {
        "Message": {
            "additionalProperties": false,
            "description": "This type describes a Message returned by the Redfish service.",
            "longDescription": "This type shall define a Message as described in the Redfish specification.",
            "patternProperties": {
                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
                    "description": "This property shall specify a valid odata or Redfish property.",
                    "type": [
                        "array",
                        "boolean",
                        "integer",
                        "number",
                        "null",
                        "object",
                        "string"
                    ]
                }
            },
            "properties": {
                "Message": {
                    "description": "This is the human readable message, if provided.",
                    "longDescription": "This property shall contain an optional human readable message.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "MessageArgs": {
                    "description": "This array of message arguments are substituted for the arguments in the message when looked up in the message registry.",
                    "items": {
                        "type": "string"
                    },
                    "longDescription": "This property shall contain the message substitution arguments for the specific message referenced by the MessageId and shall only be included if the MessageId is present.  Number and integer type arguments shall be converted to strings.",
                    "readonly": true,
                    "type": "array"
                },
                "MessageId": {
                    "description": "This is the key for this message which can be used to look up the message in a message registry.",
                    "longDescription": "This property shall be a key into message registry as described in the Redfish specification.",
                    "readonly": true,
                    "type": "string"
                },
                "Oem": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
                    "description": "Oem extension object.",
                    "longDescription": "This object represents the Oem property.  All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
                },
                "RelatedProperties": {
                    "description": "This is an array of properties described by the message.",
                    "items": {
                        "type": "string"
                    },
                    "longDescription": "This property shall contain an array of JSON Pointers indicating the properties described by the message, if appropriate for the message.",
                    "readonly": true,
                    "type": "array"
                },
                "Resolution": {
                    "description": "Used to provide suggestions on how to resolve the situation that caused the error.",
                    "longDescription": "This property shall contain an override of the Resolution of the message in message registry, if present.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "Severity": {
                    "description": "This is the severity of the errors.",
                    "longDescription": "The value of this property shall be the severity of the error, as defined in the Status section of the Redfish specificaiton.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "MessageId"
            ],
            "type": "object"
        }
    },
    "owningEntity": "DMTF",
    "release": "1.0",
    "title": "#Message.v1_0_7"
}