{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-exception-message.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Message reporting that Taskcluster have failed to run a task.\n",
  "properties": {
    "runId": {
      "description": "Id of the last run for the task, not provided if `deadline`\nwas exceeded before a run was started.\n",
      "maximum": 1000,
      "minimum": 0,
      "type": "integer"
    },
    "status": {
      "$ref": "task-status.json#"
    },
    "task": {
      "$ref": "task-pulse-definition.json#"
    },
    "version": {
      "description": "Message version",
      "enum": [
        1
      ],
      "type": "integer"
    },
    "workerGroup": {
      "description": "Identifier for the worker-group within which the last attempt of the task\nran. Not provided, if `deadline` was exceeded before a run was started.\n",
      "maxLength": 38,
      "minLength": 1,
      "pattern": "^([a-zA-Z0-9-_]*)$",
      "type": "string"
    },
    "workerId": {
      "description": "Identifier for the last worker that failed to report, causing the task\nto fail. Not provided, if `deadline` was exceeded before a run\nwas started.\n",
      "maxLength": 38,
      "minLength": 1,
      "pattern": "^([a-zA-Z0-9-_]*)$",
      "type": "string"
    }
  },
  "required": [
    "version",
    "status"
  ],
  "title": "Task Exception Message",
  "type": "object"
}