| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "title": "GCC Insurance Risk Assessment Schema", |
| "description": "Schema for validating risk assessment configurations", |
| "type": "object", |
| "required": ["risk_id", "risk_name", "risk_level", "assessment_date"], |
| "properties": { |
| "risk_id": { |
| "type": "string", |
| "pattern": "^RISK-[0-9]{4}$", |
| "description": "Unique risk identifier" |
| }, |
| "risk_name": { |
| "type": "string", |
| "minLength": 3, |
| "maxLength": 100 |
| }, |
| "risk_level": { |
| "type": "string", |
| "enum": ["low", "medium", "high", "critical"] |
| }, |
| "assessment_date": { |
| "type": "string", |
| "format": "date" |
| }, |
| "mitigation_strategies": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "owner": { |
| "type": "string" |
| }, |
| "review_frequency": { |
| "type": "string", |
| "enum": ["weekly", "monthly", "quarterly", "annually"] |
| } |
| } |
| } |