{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dripmetrics-ai/json-schema/dripmetrics-ai-polymarket-metric-result-schema.json",
  "title": "PolymarketMetricResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dripmetrics-ai-polymarket-api-openapi.yml#/components/schemas/PolymarketMetricResult",
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "enum": [
        "vpin",
        "kyle-lambda",
        "flow-imbalance",
        "two-sidedness",
        "wallet-concentration",
        "wallet-novelty",
        "probability-shock",
        "leakage-score"
      ]
    },
    "conditionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "tokenId": {
      "type": [
        "string",
        "null"
      ]
    },
    "assetId": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "outcome": {
      "type": [
        "string",
        "null"
      ]
    },
    "window": {
      "type": "object",
      "additionalProperties": true
    },
    "value": {
      "type": [
        "number",
        "null"
      ]
    },
    "components": {
      "type": "object",
      "additionalProperties": true
    },
    "sampleSize": {
      "type": "object",
      "additionalProperties": true
    },
    "source": {
      "type": "object",
      "additionalProperties": true
    },
    "computedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "metric",
    "value",
    "components",
    "sampleSize",
    "source",
    "computedAt"
  ],
  "additionalProperties": true
}