{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dnsdoctor-dev/json-schema/dnsdoctor-dev-check-record-request-schema.json",
  "title": "CheckRecordRequest",
  "description": "One live record read. `kind` is the sugar; `host` only where it applies.\n\nValidation itself is `scanner/liveread.py::resolve_query`'s — this model\ncarries only the wire shape, so the two consumers cannot drift on which\n`host`/`kind` combinations are legal (the route and the MCP core both raise\nfrom the same function, with the same authored detail strings).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dnsdoctor-dev-domains-api-openapi.yml#/components/schemas/CheckRecordRequest",
  "properties": {
    "domain": {
      "type": "string",
      "title": "Domain"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "host": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Host"
    },
    "expected_value": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1024
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Value"
    }
  },
  "type": "object",
  "required": [
    "domain",
    "kind"
  ]
}