Create risk-schema.json
Browse files- risk-schema.json +40 -0
risk-schema.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 3 |
+
"title": "GCC Insurance Risk Assessment Schema",
|
| 4 |
+
"description": "Schema for validating risk assessment configurations",
|
| 5 |
+
"type": "object",
|
| 6 |
+
"required": ["risk_id", "risk_name", "risk_level", "assessment_date"],
|
| 7 |
+
"properties": {
|
| 8 |
+
"risk_id": {
|
| 9 |
+
"type": "string",
|
| 10 |
+
"pattern": "^RISK-[0-9]{4}$",
|
| 11 |
+
"description": "Unique risk identifier"
|
| 12 |
+
},
|
| 13 |
+
"risk_name": {
|
| 14 |
+
"type": "string",
|
| 15 |
+
"minLength": 3,
|
| 16 |
+
"maxLength": 100
|
| 17 |
+
},
|
| 18 |
+
"risk_level": {
|
| 19 |
+
"type": "string",
|
| 20 |
+
"enum": ["low", "medium", "high", "critical"]
|
| 21 |
+
},
|
| 22 |
+
"assessment_date": {
|
| 23 |
+
"type": "string",
|
| 24 |
+
"format": "date"
|
| 25 |
+
},
|
| 26 |
+
"mitigation_strategies": {
|
| 27 |
+
"type": "array",
|
| 28 |
+
"items": {
|
| 29 |
+
"type": "string"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"owner": {
|
| 33 |
+
"type": "string"
|
| 34 |
+
},
|
| 35 |
+
"review_frequency": {
|
| 36 |
+
"type": "string",
|
| 37 |
+
"enum": ["weekly", "monthly", "quarterly", "annually"]
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|