{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-event-regime-response-schema.json",
  "title": "EventRegimeResponse",
  "description": "Forward event calendar — the main /event/regime payload.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-event-catalyst-regime-api-openapi.yml#/components/schemas/EventRegimeResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/EventCatalystModel"
      },
      "type": "array",
      "title": "Items"
    },
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "window_days": {
      "type": "integer",
      "title": "Window Days"
    },
    "event_risk_score": {
      "type": "number",
      "title": "Event Risk Score"
    },
    "band": {
      "type": "string",
      "enum": [
        "dormant",
        "quiet",
        "elevated",
        "heavy",
        "critical"
      ],
      "title": "Band"
    },
    "timestamp": {
      "type": "string",
      "title": "Timestamp"
    }
  },
  "type": "object",
  "required": [
    "items",
    "count",
    "window_days",
    "event_risk_score",
    "band",
    "timestamp"
  ],
  "$defs": {
    "EventCatalystModel": {
      "properties": {
        "event_type": {
          "type": "string",
          "enum": [
            "unlock",
            "macro_print",
            "depeg",
            "mint"
          ],
          "title": "Event Type"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "date": {
          "type": "string",
          "title": "Date"
        },
        "days_until": {
          "type": "integer",
          "title": "Days Until"
        },
        "symbols": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Symbols",
          "default": []
        },
        "bias": {
          "type": "string",
          "enum": [
            "long",
            "short",
            "neutral",
            "risk_flag",
            "mixed"
          ],
          "title": "Bias"
        },
        "magnitude": {
          "title": "Magnitude",
          "type": [
            "number",
            "null"
          ]
        },
        "unlocked_value_usd": {
          "title": "Unlocked Value Usd",
          "type": [
            "number",
            "null"
          ]
        },
        "pct_of_fdv": {
          "title": "Pct Of Fdv",
          "type": [
            "number",
            "null"
          ]
        },
        "deviation_bps": {
          "title": "Deviation Bps",
          "type": [
            "number",
            "null"
          ]
        },
        "macro_class": {
          "title": "Macro Class",
          "type": [
            "string",
            "null"
          ]
        },
        "delta_usd": {
          "title": "Delta Usd",
          "type": [
            "number",
            "null"
          ]
        },
        "pct_of_supply": {
          "title": "Pct Of Supply",
          "type": [
            "number",
            "null"
          ]
        },
        "source": {
          "type": "string",
          "title": "Source",
          "default": ""
        }
      },
      "type": "object",
      "required": [
        "event_type",
        "title",
        "date",
        "days_until",
        "bias"
      ],
      "title": "EventCatalystModel"
    }
  }
}