Skip to content

Commit 0ba63ec

Browse files
authored
add Test and Verification schema
1 parent c24ab28 commit 0ba63ec

1 file changed

Lines changed: 167 additions & 0 deletions

File tree

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Schema for DSOMM Dimension Test and Verification",
4+
"type": "object",
5+
"properties": {
6+
"Test and Verification": {
7+
"type": "object",
8+
"patternProperties": {
9+
"^.*$": {
10+
"type": "object",
11+
"patternProperties": {
12+
"^.*$": {
13+
"type": "object",
14+
"properties": {
15+
"description": {
16+
"type": "string"
17+
},
18+
"risk": {
19+
"type": "string"
20+
},
21+
"measure": {
22+
"type": "string"
23+
},
24+
"meta": {
25+
"type": "object",
26+
"properties": {
27+
"implementationGuide": {
28+
"type": "string"
29+
}
30+
},
31+
"required": [
32+
"implementationGuide"
33+
]
34+
},
35+
"difficultyOfImplementation": {
36+
"type": "object",
37+
"properties": {
38+
"knowledge": {
39+
"type": "number"
40+
},
41+
"time": {
42+
"type": "number"
43+
},
44+
"resources": {
45+
"type": "number"
46+
}
47+
},
48+
"required": [
49+
"knowledge",
50+
"time",
51+
"resources"
52+
]
53+
},
54+
"usefulness": {
55+
"type": "number"
56+
},
57+
"level": {
58+
"type": "number"
59+
},
60+
"assessment": {
61+
"type": "string"
62+
},
63+
"implementation": {
64+
"type": "array",
65+
"items": {
66+
"type": "object",
67+
"properties": {
68+
"$ref": {
69+
"type": "string",
70+
"format": "uri-reference"
71+
}
72+
},
73+
"required": [
74+
"$ref"
75+
],
76+
"additionalProperties": false
77+
}
78+
},
79+
"dependsOn": {
80+
"type": "array",
81+
"items": {
82+
"type": "string"
83+
}
84+
},
85+
"references": {
86+
"type": "object",
87+
"properties": {
88+
"samm2": {
89+
"type": "array",
90+
"items": {
91+
"anyOf": [
92+
{
93+
"type": "string"
94+
},
95+
{
96+
"type": "number"
97+
}
98+
]
99+
}
100+
},
101+
"iso27001-2017": {
102+
"type": "array",
103+
"items": {
104+
"anyOf": [
105+
{
106+
"type": "string"
107+
},
108+
{
109+
"type": "number"
110+
}
111+
]
112+
}
113+
},
114+
"iso27001-2022": {
115+
"type": "array",
116+
"items": {
117+
"anyOf": [
118+
{
119+
"type": "string"
120+
},
121+
{
122+
"type": "number"
123+
}
124+
]
125+
}
126+
}
127+
},
128+
"required": [
129+
"samm2",
130+
"iso27001-2017",
131+
"iso27001-2022"
132+
]
133+
},
134+
"isImplemented": {
135+
"type": "boolean"
136+
},
137+
"evidence": {
138+
"type": "string"
139+
},
140+
"comments": {
141+
"type": "string"
142+
}
143+
},
144+
"required": [
145+
"description",
146+
"risk",
147+
"measure",
148+
"difficultyOfImplementation",
149+
"usefulness",
150+
"level",
151+
"implementation",
152+
"references",
153+
"isImplemented",
154+
"evidence",
155+
"comments"
156+
],
157+
"additionalProperties": false
158+
}
159+
}
160+
}
161+
}
162+
}
163+
},
164+
"required": [
165+
"Test and Verification"
166+
]
167+
}

0 commit comments

Comments
 (0)