{
    "@Redfish.Copyright": "Copyright 2014-2026 DMTF in cooperation with the Storage Networking Industry Association (SNIA). All rights reserved.",
    "@odata.type": "#MessageRegistry.v1_7_0.MessageRegistry",
    "Id": "TaskEvent.1.1.0",
    "Name": "Task Event Message Registry",
    "Language": "en",
    "Description": "This registry defines the messages for task related events.",
    "RegistryPrefix": "TaskEvent",
    "RegistryVersion": "1.1.0",
    "OwningEntity": "DMTF",
    "Release": "2026.1",
    "Messages": {
        "TaskStarted": {
            "Description": "A task has started.",
            "LongDescription": "This message shall indicate that a task has started as the `TaskState` property transitions to `Starting` or `Running`.",
            "Message": "The task with Id '%1' has started.",
            "Example": "The task with Id 'Task1' 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 indicate that a task has completed and the `TaskState` property transitioned to `Completed`.",
            "Message": "The task with Id '%1' has completed.",
            "Example": "The task with Id 'Task1' 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 indicate that a task has completed with warnings and the `TaskState` property transitioned to `Completed`.",
            "Message": "The task with Id '%1' has completed with warnings.",
            "Example": "The task with Id 'Task1' 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 completed with errors.",
            "LongDescription": "This message shall indicate that a task has completed with errors and the `TaskState` property transitioned to `Exception`.",
            "Message": "The task with Id '%1' has completed with errors.",
            "Example": "The task with Id 'Task1' has completed with errors.",
            "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 completed with errors."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskCancelled": {
            "Description": "A task was cancelled.",
            "LongDescription": "This message shall indicate that work on a task has halted prior to completion due to an explicit request.  The `TaskState` property transitioned to `Cancelled`.",
            "Message": "Work on the task with Id '%1' was halted prior to completion due to an explicit request.",
            "Example": "Work on the task with Id 'Task1' was halted prior to completion due to an explicit request.",
            "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 was halted."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskStarted"
                ]
            }
        },
        "TaskRemoved": {
            "Description": "A task was removed.",
            "LongDescription": "This message shall indicate that a task was removed.",
            "Message": "The task with Id '%1' was removed.",
            "Example": "The task with Id 'Task1' was 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 was removed."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsAll": true
            }
        },
        "TaskPaused": {
            "Description": "A task was paused.",
            "LongDescription": "This message shall indicate that a task was paused and the `TaskState` property transitioned to `Suspended` or `Interrupted`.",
            "Message": "The task with Id '%1' was paused.",
            "Example": "The task with Id 'Task1' was 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 was paused."
            ],
            "Resolution": "None."
        },
        "TaskResumed": {
            "Description": "A task was resumed.",
            "LongDescription": "This message shall indicate that a task has resumed and the `TaskState` property transitioned to `Running` from `Suspended` or `Interrupted`.",
            "Message": "The task with Id '%1' was resumed.",
            "Example": "The task with Id 'Task1' was 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 was resumed."
            ],
            "Resolution": "None.",
            "ClearingLogic": {
                "ClearsIf": "SameOriginOfCondition",
                "ClearsMessage": [
                    "TaskPaused"
                ]
            }
        },
        "TaskProgressChanged": {
            "Description": "A task has changed progress.",
            "LongDescription": "This message shall indicate that a task has changed progress.",
            "Message": "The task with Id '%1' has changed to progress %2 percent complete.",
            "Example": "The task with Id 'Task1' has changed to progress 50 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."
        }
    }
}
