{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "Strategy Configuration",
    "description": "Configuration for Hybrid Trading Strategy Rules per Profile",
    "type": "object",
    "properties": {
        "rules": {
            "type": "array",
            "description": "List of active rules for this profile",
            "items": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "enum": [
                            "TrendBiasRule",
                            "MomentumRule",
                            "ZoneRule",
                            "SessionRule",
                            "EntryTriggerRule",
                            "RiskManagementRule",
                            "AIAnalysisRule"
                        ],
                        "description": "Name of the rule class"
                    },
                    "settings": {
                        "type": "object",
                        "description": "Custom parameters for the rule (overrides defaults)",
                        "additionalProperties": true
                    }
                },
                "required": [
                    "name"
                ]
            }
        }
    },
    "required": [
        "rules"
    ]
}