{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "StrategyRegistryEntry",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "strategy_id",
    "name",
    "category",
    "status",
    "direction",
    "feature_set_version",
    "label_policy_version",
    "risk_profile_id"
  ],
  "properties": {
    "strategy_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "category": {
      "type": "string",
      "enum": [
        "core_long",
        "short_catalyst",
        "sector_theme",
        "cash_intraday",
        "holding_period_variant",
        "experimental"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "backtest",
        "shadow",
        "paper",
        "live_limited",
        "live_full",
        "disabled"
      ]
    },
    "direction": {
      "type": "string",
      "enum": [
        "long",
        "short",
        "both"
      ]
    },
    "feature_set_version": {
      "type": "string"
    },
    "label_policy_version": {
      "type": "string"
    },
    "risk_profile_id": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}