File size: 2,386 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CaseContext",
  "type": "object",
  "required": [
    "case_id",
    "customer_id",
    "customer_name",
    "app_name",
    "business_line",
    "language",
    "materials",
    "external_context",
    "metadata"
  ],
  "properties": {
    "case_id": { "type": "string" },
    "customer_id": { "type": "string" },
    "customer_name": { "type": "string" },
    "app_name": { "type": "string" },
    "business_line": { "type": "string" },
    "language": { "type": "string" },
    "materials": {
      "type": "object",
      "required": ["current_policy_text", "prd_text", "permission_items", "sdk_items"],
      "properties": {
        "current_policy_text": { "type": "string" },
        "prd_text": { "type": "string" },
        "permission_items": {
          "type": "array",
          "items": {
            "type": "object",
            "required": ["name", "purpose", "trigger_page", "required"],
            "properties": {
              "name": { "type": "string" },
              "purpose": { "type": "string" },
              "trigger_page": { "type": "string" },
              "required": { "type": "boolean" }
            }
          }
        },
        "sdk_items": {
          "type": "array",
          "items": {
            "type": "object",
            "required": ["name", "vendor", "purpose", "data_items", "privacy_url"],
            "properties": {
              "name": { "type": "string" },
              "vendor": { "type": "string" },
              "purpose": { "type": "string" },
              "data_items": {
                "type": "array",
                "items": { "type": "string" }
              },
              "privacy_url": { "type": "string" }
            }
          }
        }
      }
    },
    "external_context": {
      "type": "object",
      "required": ["peer_updates", "regulatory_updates"],
      "properties": {
        "peer_updates": {
          "type": "array",
          "items": { "type": "string" }
        },
        "regulatory_updates": {
          "type": "array",
          "items": { "type": "string" }
        }
      }
    },
    "metadata": {
      "type": "object",
      "required": ["submitted_at", "source"],
      "properties": {
        "submitted_at": { "type": "string" },
        "source": { "type": "string" }
      }
    }
  }
}