{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dnsdoctor-dev/json-schema/dnsdoctor-dev-watch-status-schema.json",
  "title": "WatchStatus",
  "description": "A watch's state and everything observed so far.\n\nDeterministic throughout, and a **relay**: `verdict` is the verdict the last\nobservation was recorded with, never re-derived here — the runner writes it\nfrom D94's own `derive_verdict`, so the poll surface cannot drift from the\non-demand check's rules (a faulted probe is an unreached vantage, never a\nnegative reading, and fewer than three contributing vantage points degrade\nthe verdict to `unknown`).\n\n`observations` are relayed verbatim as the runner recorded them, minus the\n`_`-prefixed internal state `observation_page` strips. No prose, no\ncomposed record, no prescription-shaped field at any depth — the D94\ninvariant carries onto every watch surface.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dnsdoctor-dev-openapi.json#/components/schemas/WatchStatus",
  "properties": {
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "target": {
      "type": "string",
      "title": "Target"
    },
    "state": {
      "type": "string",
      "title": "State"
    },
    "params": {
      "additionalProperties": true,
      "type": "object",
      "title": "Params"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "expires_at": {
      "type": "string",
      "title": "Expires At"
    },
    "results_expire_at": {
      "type": "string",
      "title": "Results Expire At"
    },
    "last_checked_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Checked At"
    },
    "checks": {
      "type": "integer",
      "title": "Checks"
    },
    "verdict": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Verdict"
    },
    "observations": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Observations"
    },
    "next_before": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Before"
    }
  },
  "type": "object",
  "required": [
    "kind",
    "target",
    "state",
    "params",
    "created_at",
    "expires_at",
    "results_expire_at",
    "last_checked_at",
    "checks",
    "verdict",
    "observations"
  ]
}