{
    "@Redfish.Copyright": "Copyright 2014-2018 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_2_0.MessageRegistry",
    "Id": "TaskEvent.1.0.1",
    "Name": "Task Event Message Registry",
    "Language": "en",
    "Description": "This registry defines the messages for task related events.",
    "RegistryPrefix": "TaskEvent",
    "RegistryVersion": "1.0.1",
    "OwningEntity": "DMTF",
    "Messages": {
        "TaskStarted": {
            "Description": "The task with id %1 has started.",
            "Message": "The task with id %1 has started.",
            "Severity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None."
        },
        "TaskCompletedOK": {
            "Description": "The task with id %1 has completed.",
            "Message": "The task with id %1 has completed.",
            "Severity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskCompletedWarning": {
            "Description": "The task with id %1 has completed with warnings.",
            "Message": "The task with id %1 has completed with warnings.",
            "Severity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskAborted": {
            "Description": "The task with id %1 has been aborted.",
            "Message": "The task with id %1 has been aborted.",
            "Severity": "Critical",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskCancelled": {
            "Description": "The task with id %1 has been cancelled.",
            "Message": "The task with id %1 has been cancelled.",
            "Severity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskRemoved": {
            "Description": "The task with id %1 has been removed.",
            "Message": "The task with id %1 has been removed.",
            "Severity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsAll": true
            }
        },
        "TaskPaused": {
            "Description": "The task with id %1 has been paused.",
            "Message": "The task with id %1 has been paused.",
            "Severity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None."
        },
        "TaskResumed": {
            "Description": "The task with id %1 has been resumed.",
            "Message": "The task with id %1 has been resumed.",
            "Severity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskPaused"
                ]
            }
        },
        "TaskProgressChanged": {
            "Description": "The task with id %1 has changed to progress %2 percent complete.",
            "Message": "The task with id %1 has changed to progress %2 percent complete.",
            "Severity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "Resolution": "None."
        }
    }
}
