{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/queue/v1/list-workertypes-response.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Response from a `listWorkerTypes` request.\n",
  "properties": {
    "continuationToken": {
      "description": "Opaque `continuationToken` to be given as query-string option to get the\nnext set of worker-types in the provisioner.\nThis property is only present if another request is necessary to fetch all\nresults. In practice the next request with a `continuationToken` may not\nreturn additional results, but it can. Thus, you can only be sure to have\nall the results if you've called `listWorkerTypes` with `continuationToken`\nuntil you get a result without a `continuationToken`.\n",
      "title": "Continuation Token",
      "type": "string"
    },
    "workerTypes": {
      "description": "List of worker-types in this provisioner.\n",
      "items": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "Description of the worker-type.\n",
            "title": "Description",
            "type": "string"
          },
          "expires": {
            "description": "Date and time after which the worker-type will be automatically\ndeleted by the queue.\n",
            "format": "date-time",
            "title": "Worker-type Expiration",
            "type": "string"
          },
          "lastDateActive": {
            "description": "Date and time where the worker-type was last seen active\n",
            "format": "date-time",
            "title": "Worker-type Last Date Active",
            "type": "string"
          },
          "provisionerId": {
            "$ref": "task.json#/properties/provisionerId"
          },
          "stability": {
            "description": "This is the stability of the worker-type. Accepted values:\n * `experimental`\n * `stable`\n * `deprecated`\n",
            "enum": [
              "experimental",
              "stable",
              "deprecated"
            ],
            "title": "Stability",
            "type": "string"
          },
          "taskQueueId": {
            "$ref": "task.json#/properties/taskQueueId"
          },
          "workerType": {
            "$ref": "task.json#/properties/workerType"
          }
        },
        "required": [
          "workerType",
          "provisionerId",
          "taskQueueId",
          "stability",
          "description",
          "expires",
          "lastDateActive"
        ],
        "title": "Worker Type",
        "type": "object"
      },
      "title": "WorkerTypes from the Provisioner",
      "type": "array",
      "uniqueItems": true
    }
  },
  "required": [
    "workerTypes"
  ],
  "title": "List Worker-Types Response",
  "type": "object"
}