{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/task-queue-counts-response.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Response to a request for the number of pending and claimed tasks for a given\n`provisionerId` and `workerType`.\n",
  "properties": {
    "claimedTasks": {
      "description": "An approximate number of claimed tasks for the given `provisionerId` and\n`workerType`. Number of reported here may be higher than actual number of\nclaimed tasks.\n",
      "minimum": 0,
      "title": "Number of Claimed Tasks",
      "type": "integer"
    },
    "pendingTasks": {
      "description": "An approximate number of pending tasks for the given `provisionerId` and\n`workerType`. Number of reported here may be higher than actual number of\npending tasks.\n",
      "minimum": 0,
      "title": "Number of Pending Tasks",
      "type": "integer"
    },
    "provisionerId": {
      "$ref": "task.json#/properties/provisionerId"
    },
    "taskQueueId": {
      "$ref": "task.json#/properties/taskQueueId"
    },
    "workerType": {
      "$ref": "task.json#/properties/workerType"
    }
  },
  "required": [
    "provisionerId",
    "workerType",
    "taskQueueId",
    "pendingTasks",
    "claimedTasks"
  ],
  "title": "Count Pending and Claimed Tasks Response",
  "type": "object"
}