{ "title": "Independent architecture or diff review", "type": "object", "additionalProperties": false, "properties": { "verdict": {"type": "string", "enum": ["pass", "concerns", "fail", "blocked"]}, "review_mode": {"type": "string", "enum": ["architecture", "post_change"]}, "findings": { "type": "array", "maxItems": 50, "items": { "type": "object", "additionalProperties": false, "properties": { "severity": {"type": "string", "enum": ["critical", "high", "medium", "low", "note"]}, "claim": {"type": "string", "minLength": 1}, "evidence": {"type": "string", "minLength": 1}, "location": {"type": "string"}, "falsification": {"type": "string", "minLength": 1} }, "required": ["severity", "claim", "evidence", "falsification"] } }, "alternatives": {"type": "array", "items": {"type": "string"}, "maxItems": 20}, "blockers": {"type": "array", "items": {"type": "string"}, "maxItems": 20} }, "required": ["verdict", "review_mode", "findings", "alternatives", "blockers"], "allOf": [ { "if": {"properties": {"verdict": {"const": "pass"}}, "required": ["verdict"]}, "then": {"properties": {"findings": {"maxItems": 0}, "blockers": {"maxItems": 0}}} }, { "if": {"properties": {"verdict": {"const": "blocked"}}, "required": ["verdict"]}, "then": {"properties": {"blockers": {"minItems": 1}}} } ] }