{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScanEvidence",
  "title": "ScanEvidence",
  "type": "object",
  "properties": {
    "filesScanned": {
      "type": "integer",
      "description": "Number of files scanned"
    },
    "detectedFilesCount": {
      "type": "integer",
      "description": "Total candidate files detected"
    },
    "eventNameCount": {
      "type": "integer",
      "description": "Number of distinct event names found"
    },
    "foundPosthogInit": {
      "type": "boolean",
      "description": "Whether posthog.init() was found in scanned files"
    },
    "foundPosthogCapture": {
      "type": "boolean",
      "description": "Whether posthog.capture() was found in scanned files"
    },
    "foundErrorSignal": {
      "type": "boolean",
      "description": "Whether error tracking signals were found in scanned files"
    }
  },
  "required": [
    "detectedFilesCount",
    "eventNameCount",
    "filesScanned",
    "foundErrorSignal",
    "foundPosthogCapture",
    "foundPosthogInit"
  ]
}