{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/botnotice-app/json-schema/botnotice-app-scan-result-schema.json",
  "title": "ScanResult",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/botnotice-app-openapi.json#/components/schemas/ScanResult",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    },
    "finalUrl": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "blocked": {
      "type": "boolean",
      "description": "The site's bot protection answered instead of the page"
    },
    "chatWidgets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "evidence": {
            "type": "string"
          },
          "weak": {
            "type": "boolean",
            "description": "Mentioned in code, not seen running"
          }
        }
      }
    },
    "voiceAgents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence": {
            "type": "string"
          }
        }
      }
    },
    "aiSignals": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "disclosureFound": {
      "type": "boolean",
      "description": "An AI notice is already on the page"
    },
    "disclosureSnippets": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "botnoticeInstalled": {
      "type": "boolean"
    },
    "pagesChecked": {
      "type": "integer"
    },
    "cached": {
      "type": "boolean"
    },
    "cachedAt": {
      "type": "string"
    }
  }
}