{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "runId": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{1,128}$",
      "description": "Identifier of the run returned by its create or list operation."
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[\\x21-\\x7e]{1,200}$",
      "description": "Caller-generated key reused only for retries of the same operation and arguments in this workspace."
    },
    "items": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "candidateId": {
            "type": "string",
            "pattern": "^dc_[a-f0-9]{64}$"
          },
          "verificationJobId": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,128}$"
          }
        },
        "required": [
          "candidateId",
          "verificationJobId"
        ],
        "additionalProperties": false
      },
      "description": "Selected stored candidates to check, each by candidateId with an optional localReference for the caller's own record."
    },
    "cadenceSeconds": {
      "description": "Scheduled check interval in seconds, from 3600 to 2592000.",
      "type": "integer",
      "minimum": 3600,
      "maximum": 2592000,
      "default": 604800
    }
  },
  "required": [
    "runId",
    "idempotencyKey",
    "items"
  ],
  "additionalProperties": false
}
