{
    "@Redfish.Copyright": "Copyright 2014-2018 DMTF in cooperation with the Storage Networking Industry Association (SNIA). All rights reserved.",
    "@odata.type": "#MessageRegistry.1.2.0.MessageRegistry",
    "Id": "ResourceEventRegistry.1.2.0",
    "Name": "Resource Event Message Registry",
    "Language": "en",
    "Description": "This registry defines the messages to use for resource events.",
    "RegistryPrefix": "ResourceEvent",
    "RegistryVersion": "1.0.0",
    "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": "The resource property %1 has detected errors of type %2. Examples would be drive IO 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": "The resource property %1 has corrected errors of type %2. Examples would be drive IO 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": "The resource property %1 has exceeded error threshold of value %2. Examples would be drive IO errors, or network link errors.",
            "Message": "The resource property %1 has exceeded error threshold of value %2.",
            "Severity": "Critical",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "value"
            ],
            "CorrespondingMessage": "ResourceErrorThresholdCleared",
            "Resolution": "None."
        },
        "ResourceErrorThresholdCleared": {
            "Description": "The resource property %1 has cleared the error threshold of value %2. Examples would be drive IO errors, or network link errors.",
            "Message": "The resource property %1 has cleared the error threshold of value %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "value"
            ],
            "CorrespondingMessage": "ResourceWarningThresholdExceeded",
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceErrorThresholdExceeded"
                ]
            }
        },
        "ResourceWarningThresholdExceeded": {
            "Description": "The resource property %1 has cleared its warning threshold of value %2. Examples would be drive IO errors, or network link errors. Suggested resolution may be provided as OEM data.",
            "Message": "The resource property %1 has cleared its warning threshold of value %2.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "value"
            ],
            "CorrespondingMessage": "ResourceErrorThresholdCleared",
            "Resolution": "None."
        },
        "ResourceWarningThresholdCleared": {
            "Description": "The resource property %1 has cleared the warning threshold of value %2. Examples would be drive IO 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",
                "value"
            ],
            "CorrespondingMessage": "ResourceErrorThresholdExceeded",
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceWarningThresholdExceeded"
                ]
            }
        },
        "ResourceStatusChangedOK": {
            "Description": "The state of resource %1 has changed to state type %2. The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to state type %2.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceStatusChangedCritical",
                    "ResourceStatusChangedWarning"
                ]
            }
        },
        "ResourceStatusChangedWarning": {
            "Description": "The state of resource %1 has changed to state type %2. The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to state type %2.",
            "Severity": "Warning",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None."
        },
        "ResourceStatusChangedCritical": {
            "Description": "The state of resource %1 has changed to state type %2. The state types shall be used from Resource.State.",
            "Message": "The state of resource %1 has changed to state type %2.",
            "Severity": "Critical",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "string"
            ],
            "Resolution": "None."
        },
        "URIForResourceChanged": {
            "Description": "The URI for the model 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": "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": "An incompatible version of software %1 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": "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": "A self-test has completed.",
            "Message": "A self-test has completed.",
            "Severity": "OK",
            "NumberOfArgs": 0,
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "ResourceSelfTestFailed"
                ]
            }
        },
        "LicenseExpired": {
            "Description": "A license for %1 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": "A license for %1 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": "A license for %1 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."
        }
    }
}
