{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "LowCapabilityResponseContract", "type": "object", "properties": { "formula_id": { "type": "string" }, "global_execution_gate": { "type": "string", "enum": ["PASS", "BLOCK"] }, "cash_defense_ok": { "type": "boolean" }, "recommended_actions": { "type": "array", "items": { "type": "object", "properties": { "ticker": { "type": "string" }, "action": { "type": "string", "enum": ["BUY", "SELL", "HOLD", "WAIT", "REJECT", "AVOID"] }, "quantity": { "type": "integer" }, "stop_price": { "type": ["number", "null"] }, "take_profit_price": { "type": ["number", "null"] } }, "required": ["ticker", "action", "quantity"] } } }, "required": ["formula_id", "global_execution_gate", "cash_defense_ok", "recommended_actions"] }