{
    "@Redfish.Copyright": "Copyright 2014-2020 DMTF in cooperation with the Storage Networking Industry Association (SNIA). All rights reserved.",
    "@odata.type": "#MessageRegistry.v1_4_0.MessageRegistry",
    "Id": "TaskEvent.1.0.2",
    "Name": "Task Event Message Registry",
    "Language": "en",
    "Description": "This registry defines the messages for task related events.",
    "RegistryPrefix": "TaskEvent",
    "RegistryVersion": "1.0.2",
    "OwningEntity": "DMTF",
    "Messages": {
        "TaskStarted": {
            "Description": "A task has started.",
            "LongDescription": "This message shall be used to indicate that a task has started.",
            "Message": "The task with Id '%1' has started.",
            "Severity": "OK",
            "MessageSeverity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has started."
            ],
            "Resolution": "None."
        },
        "TaskCompletedOK": {
            "Description": "A task has completed.",
            "LongDescription": "This message shall be used to indicate that a task has completed.",
            "Message": "The task with Id '%1' has completed.",
            "Severity": "OK",
            "MessageSeverity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has completed."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskCompletedWarning": {
            "Description": "A task has completed with warnings.",
            "LongDescription": "This message shall be used to indicate that a task has completed with warnings.",
            "Message": "The task with Id '%1' has completed with warnings.",
            "Severity": "Warning",
            "MessageSeverity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has completed with warnings."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskAborted": {
            "Description": "A task has been aborted.",
            "LongDescription": "This message shall be used to indicate that a task has been aborted.",
            "Message": "The task with Id '%1' has been aborted.",
            "Severity": "Critical",
            "MessageSeverity": "Critical",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has been aborted."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskCancelled": {
            "Description": "A task has been cancelled.",
            "LongDescription": "This message shall be used to indicate that a task has been cancelled.",
            "Message": "The task with Id '%1' has been cancelled.",
            "Severity": "Warning",
            "MessageSeverity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has been cancelled."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskRemoved": {
            "Description": "A task has been removed.",
            "LongDescription": "This message shall be used to indicate that a task has been removed.",
            "Message": "The task with Id '%1' has been removed.",
            "Severity": "Warning",
            "MessageSeverity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has been removed."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsAll": true
            }
        },
        "TaskPaused": {
            "Description": "A task has been paused.",
            "LongDescription": "This message shall be used to indicate that a task has been paused.",
            "Message": "The task with Id '%1' has been paused.",
            "Severity": "Warning",
            "MessageSeverity": "Warning",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has been paused."
            ],
            "Resolution": "None."
        },
        "TaskResumed": {
            "Description": "A task has been resumed.",
            "LongDescription": "This message shall be used to indicate that a task has been resumed.",
            "Message": "The task with Id '%1' has been resumed.",
            "Severity": "OK",
            "MessageSeverity": "OK",
            "NumberOfArgs": 1,
            "ParamTypes": [
                "string"
            ],
            "ArgDescriptions": [
                "The `Id` of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has been resumed."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskPaused"
                ]
            }
        },
        "TaskProgressChanged": {
            "Description": "A task has changed progress.",
            "LongDescription": "This message shall be used to indicate that a task has changed progress.",
            "Message": "The task with Id '%1' has changed to progress %2 percent complete.",
            "Severity": "OK",
            "MessageSeverity": "OK",
            "NumberOfArgs": 2,
            "ParamTypes": [
                "string",
                "number"
            ],
            "ArgDescriptions": [
                "The `Id` of the task.",
                "The percent completion of the task."
            ],
            "ArgLongDescriptions": [
                "This argument shall contain the value of the `Id` property of the task resource that has changed progress.",
                "This argument shall contain the percent completion of the task that has changed progress."
            ],
            "Resolution": "None."
        }
    }
}
