File size: 1,076 Bytes
f39c319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "$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"
    }
  }
}