| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "ComplianceCheck", | |
| "type": "object", | |
| "required": [ | |
| "risk_levels", | |
| "compliance_gaps", | |
| "pending_legal_items", | |
| "conclusion" | |
| ], | |
| "properties": { | |
| "insufficient_context": { | |
| "type": "boolean" | |
| }, | |
| "risk_levels": { | |
| "type": "object", | |
| "required": ["high", "medium", "low"], | |
| "properties": { | |
| "high": { "type": "integer" }, | |
| "medium": { "type": "integer" }, | |
| "low": { "type": "integer" } | |
| } | |
| }, | |
| "compliance_gaps": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "required": ["severity", "item", "basis"], | |
| "properties": { | |
| "severity": { | |
| "type": "string", | |
| "enum": ["high", "medium", "low"] | |
| }, | |
| "item": { "type": "string" }, | |
| "basis": { "type": "string" } | |
| } | |
| } | |
| }, | |
| "pending_legal_items": { | |
| "type": "array", | |
| "items": { "type": "string" } | |
| }, | |
| "conclusion": { | |
| "type": "string" | |
| } | |
| } | |
| } |