PostHog · Schema

ScanEvidence

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
filesScanned integer Number of files scanned
detectedFilesCount integer Total candidate files detected
eventNameCount integer Number of distinct event names found
foundPosthogInit boolean Whether posthog.init() was found in scanned files
foundPosthogCapture boolean Whether posthog.capture() was found in scanned files
foundErrorSignal boolean Whether error tracking signals were found in scanned files
View JSON Schema on GitHub

JSON Schema

posthog-scanevidence-schema.json Raw ↑
{
  "$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"
  ]
}