{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/worker-manager/v1/reregister-worker-request.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Request body to `reregisterWorker`.",
  "properties": {
    "secret": {
      "description": "The secret value that was last configured in `registerWorker` (in the case of a newly registerd worker) or\n`reregisterWorker`.\nFor more information, refer to https://docs.taskcluster.net/docs/reference/core/worker-manager#reregistration.\n",
      "pattern": "^[a-zA-Z0-9_-]{44}$",
      "title": "Secret",
      "type": "string"
    },
    "workerGroup": {
      "$ref": "worker-full.json#/properties/workerGroup"
    },
    "workerId": {
      "$ref": "worker-full.json#/properties/workerId"
    },
    "workerPoolId": {
      "$ref": "worker-pool-full.json#/properties/workerPoolId"
    }
  },
  "required": [
    "workerPoolId",
    "workerGroup",
    "workerId",
    "secret"
  ],
  "title": "Reregister Worker Request",
  "type": "object"
}