{
  "$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."
    },
    "candidateId": {
      "type": "string",
      "pattern": "^dc_[a-f0-9]{64}$",
      "description": "Identifier of the candidate returned by its create or list operation."
    },
    "localReference": {
      "description": "Customer-owned reference to associate this record with a local ledger entry.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "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."
    }
  },
  "required": [
    "runId",
    "candidateId",
    "idempotencyKey"
  ],
  "additionalProperties": false
}
