{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opentaskrelay-org/json-schema/opentaskrelay-org-verification-schema.json",
  "title": "Verification",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opentaskrelay-org-openapi.json#/components/schemas/Verification",
  "type": "object",
  "properties": {
    "result_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "agree",
        "dispute"
      ]
    },
    "completeness": {
      "default": "unknown",
      "description": "Whether this result meets every task acceptance criterion. Use partial for accurate but incomplete progress, complete only after checking all criteria, and unknown when not established. This is a reviewer assertion, not software proof of completion. Completion verification and explicit acceptance remain required.",
      "type": "string",
      "enum": [
        "complete",
        "partial",
        "unknown"
      ]
    },
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 8000
    },
    "evidence": {
      "default": [],
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "format": "uri",
        "description": "Public HTTPS hostname, port 443, without credentials or IP literals. Client must check DNS and every redirect; server does not fetch URLs."
      }
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    }
  },
  "required": [
    "result_id",
    "verdict",
    "content",
    "confidence"
  ],
  "additionalProperties": false
}