-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.json
106 lines (106 loc) · 3.49 KB
/
schema.json
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/VantaInc/vanta-control-set/blob/main/schema.json",
"title": "Vanta Control Set",
"description": "JSON Schema for a Vanta Control Set",
"type": "object",
"properties": {
"NOTICE": {
"description": "Copyright notice",
"type": "string"
},
"standard": {
"description": "A compliance standard, split into sections",
"type": "object",
"properties": {
"name": {
"description": "The name of the standard",
"type": "string"
},
"principles": {
"description": "Top level sections/principles of the standard",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The name of the principle",
"type": "string"
},
"section": {
"description": "The section in the official standard to which this principle refers",
"type": "string"
},
"requirements": {
"description": "Requirements of this principle",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The name of the requirement",
"type": "string"
},
"section": {
"description": "The subsection in the official standard to which this requirement refers",
"type": "string"
},
"controlIds": {
"description": "The IDs of all Vanta Controls that correspond to this requirement",
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
},
"required": ["name", "section", "controlIds"],
"additionalProperties": false
}
}
},
"required": ["name", "section", "requirements"],
"additionalProperties": false
},
"uniqueItems": true
}
},
"required": ["name", "principles"],
"additionalProperties": false
},
"controlDetail": {
"description": "Detail about all Vanta Controls which appear in the standard",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "The controlId as referenced by the standard requirements",
"type": "string"
},
"name": {
"description": "A short name for the control",
"type": "string"
},
"description": {
"description": "A description of the control",
"type": "string"
},
"categories": {
"description": "A list of categories to which this control belongs",
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
},
"required": ["id", "name", "description", "categories"],
"additionalProperties": false
},
"uniqueItems": true
}
},
"required": ["standard", "controlDetail", "NOTICE"],
"additionalProperties": false
}