{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/domaindrift-io/json-schema/domaindrift-io-domain-summary-schema.json",
  "title": "DomainSummary",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/domaindrift-io-openapi.json#/components/schemas/DomainSummary",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_scanned_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "scan_count": {
      "type": "integer"
    },
    "ping_ms": {
      "type": [
        "number",
        "null"
      ]
    },
    "http_status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "probe_verdict": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ok",
        "redirect",
        "bot_blocked",
        "not_found",
        "method_blocked",
        "rate_limited",
        "client_error",
        "server_error",
        "cf_blocked",
        "no_response",
        "timeout",
        "tls_error",
        "connection_refused",
        "network_error",
        "dns_failed",
        "nxdomain",
        "dns_servfail",
        "dns_refused",
        "dns_timeout",
        "dns_empty"
      ]
    },
    "subdomain_count": {
      "type": "integer"
    },
    "service_count": {
      "type": "integer"
    },
    "has_dnssec": {
      "type": [
        "integer",
        "null"
      ],
      "enum": [
        0,
        1,
        null
      ]
    },
    "dnssec_ok_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the DNSSEC plane last succeeded. NULL means has_dnssec is unmeasured, not false."
    },
    "has_ipv6": {
      "type": "boolean"
    },
    "complexity_score": {
      "type": "number"
    }
  }
}