{
    "@Redfish.Copyright": "Copyright 2014-2019 DMTF in cooperation with the Storage Networking Industry Association (SNIA). All rights reserved.",
    "@Redfish.License": "Creative Commons Attribution 4.0 License.  For full text see link: https://creativecommons.org/licenses/by/4.0/",
    "@odata.type": "#MessageRegistry.v1_3_1.MessageRegistry",
    "Id": "ResourceEvent.1.0.2",
    "Name": "Resource Event Message Registry",
    "Language": "en",
    "Description": "This registry defines the messages to use for resource events.",
    "RegistryPrefix": "ResourceEvent",
    "RegistryVersion": "1.0.2",
    "OwningEntity": "DMTF",
    "Messages": {
        "ResourceCreated": {
            "Description": "Indicates that all conditions of a successful creation operation have been met.",
            "Message": "The resource has been created successfully.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None"
        },
        "ResourceRemoved": {
            "Description": "Indicates that all conditions of a successful remove operation have been met.",
            "Message": "The resource has been removed successfully.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsAll": true
            }
        },
        "ResourceErrorsDetected": {
            "Description": "Indicates that a specified resource property has detected errors.  Examples would be drive I/O errors, or network link errors.",
            "Message": "The resource property %1 has detected errors of type %2.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "Resolution dependent upon error type."
        },
        "ResourceErrorsCorrected": {
            "Description": "Indicates that a specified resource property has corrected errors.  Examples would be drive I/O errors, or network link errors.",
            "Message": "The resource property %1 has corrected errors of type %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceErrorsDetected"
                ]
            }
        },
        "ResourceErrorThresholdExceeded": {
            "Description": "Indicates that a specified resource property has exceeded its error threshold.  Examples would be drive I/O errors, or network link errors.",
            "Message": "The resource property %1 has exceeded error threshold of value %2.",
            "Severity": "Critical",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "Resolution": "None."
        },
        "ResourceErrorThresholdCleared": {
            "Description": "Indicates that a specified resource property has cleared its error threshold.  Examples would be drive I/O errors, or network link errors.",
            "Message": "The resource property %1 has cleared the error threshold of value %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceErrorThresholdExceeded"
                ]
            }
        },
        "ResourceWarningThresholdExceeded": {
            "Description": "Indicates that a specified resource property has exceeded its warning threshold.  Examples would be drive I/O errors, or network link errors.  Suggested resolution may be provided as OEM data.",
            "Message": "The resource property %1 has exceeded its warning threshold of value %2.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "Resolution": "None."
        },
        "ResourceWarningThresholdCleared": {
            "Description": "Indicates that a specified resource property has cleared the warning threshold.  Examples would be drive I/O errors, or network link errors.  Suggested resolution may be provided as OEM data.",
            "Message": "The resource property %1 has cleared the warning threshold of value %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceWarningThresholdExceeded"
                ]
            }
        },
        "ResourceStatusChangedOK": {
            "Description": "Indicates that the state of a resource has changed to OK.  The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceStatusChangedCritical",
                    "ResourceStatusChangedWarning"
                ]
            }
        },
        "ResourceStatusChangedWarning": {
            "Description": "Indicates that the state of a resource has changed to Warning.  The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to %2.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None."
        },
        "ResourceStatusChangedCritical": {
            "Description": "Indicates that the state of a resource has changed to Critical.  The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to %2.",
            "Severity": "Critical",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None."
        },
        "URIForResourceChanged": {
            "Description": "Indicates that the URI for a resource has changed.  Examples for this would be physical component replacement or redistribution.",
            "Message": "The URI for the resource has changed.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None."
        },
        "ResourceChanged": {
            "Description": "Indicates that one or more resource properties have changed.  This is not used whenever there is another event message for that specific change, such as only the state has changed.",
            "Message": "One or more resource properties have changed.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None."
        },
        "ResourceVersionIncompatible": {
            "Description": "Indicates that an incompatible version of software has been detected.  Examples may be after a component or system level software update.",
            "Message": "An incompatible version of software %1 has been detected.",
            "Severity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "Compare the version of the resource with the compatible version of the software."
        },
        "ResourceSelfTestFailed": {
            "Description": "Indicates that a self-test has failed.  Suggested resolution may be provided as OEM data.",
            "Message": "A self-test has failed.  The following message was returned: '%1'.",
            "Severity": "Critical",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "See vendor specific instructions for specific actions."
        },
        "ResourceSelfTestCompleted": {
            "Description": "Indicates that a self-test has completed.",
            "Message": "A self-test has completed.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceSelfTestFailed"
                ]
            }
        },
        "LicenseExpired": {
            "Description": "Indicates that a license has expired.",
            "Message": "A license for %1 has expired.  The following message was returned: '%2'.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "See vendor specific instructions for specific actions."
        },
        "LicenseChanged": {
            "Description": "Indicates that a license has changed.",
            "Message": "A license for %1 has changed.  The following message was returned: '%2'.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "See vendor specific instructions for specific actions."
        },
        "LicenseAdded": {
            "Description": "Indicates that a license has been added.",
            "Message": "A license for %1 has been added.  The following message was returned: '%2'.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "See vendor specific instructions for specific actions."
        }
    }
}
