{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/cancel-task-group-response.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Response from a `cancelTaskGroup` request.\n",
  "properties": {
    "cancelledCount": {
      "description": "Total number of tasks that were cancelled with this call.\nIt includes all non-resolved tasks.\n",
      "minimum": 0,
      "title": "Total number of cancelled tasks",
      "type": "integer"
    },
    "taskGroupId": {
      "description": "Identifier for the task-group being listed.\n",
      "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
      "title": "Task-Group Identifier",
      "type": "string"
    },
    "taskGroupSize": {
      "description": "Current count of tasks in the task group.\n",
      "minimum": 0,
      "title": "Task-Group size",
      "type": "integer"
    },
    "taskIds": {
      "description": "List of `taskIds` cancelled by this call.\n",
      "items": {
        "pattern": "^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$",
        "type": "string"
      },
      "title": "List of task IDs",
      "type": "array",
      "uniqueItems": true
    }
  },
  "required": [
    "taskGroupId",
    "taskGroupSize",
    "cancelledCount",
    "taskIds"
  ],
  "title": "Cancel Task-Group Response",
  "type": "object"
}