{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradingstrategies-work/json-schema/tradingstrategies-work-arena-pulse-snapshot-schema.json",
  "title": "ArenaPulseSnapshot",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradingstrategies-work-openapi.yml#/components/schemas/ArenaPulseSnapshot",
  "type": "object",
  "required": [
    "date",
    "score",
    "band"
  ],
  "properties": {
    "date": {
      "type": "string",
      "format": "date"
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "band": {
      "$ref": "#/$defs/ArenaPulseBand"
    },
    "label_de": {
      "type": "string"
    },
    "label_en": {
      "type": "string"
    },
    "color_hex": {
      "type": "string"
    },
    "verdict_de": {
      "type": "string"
    },
    "verdict_en": {
      "type": "string"
    },
    "delta_7d": {
      "type": [
        "integer",
        "null"
      ]
    },
    "delta_30d": {
      "type": [
        "integer",
        "null"
      ]
    },
    "confidence": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "rawValue": {
            "type": "string"
          },
          "earnedPoints": {
            "type": [
              "number",
              "null"
            ]
          },
          "maxPoints": {
            "type": "integer"
          }
        }
      }
    }
  },
  "$defs": {
    "ArenaPulseBand": {
      "type": "string",
      "enum": [
        "capitulation",
        "risk-off",
        "neutral",
        "constructive",
        "euphoric"
      ]
    }
  }
}