-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtechnique.schema.json
71 lines (71 loc) · 1.73 KB
/
technique.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
{
"$id": "technique.schema.json",
"additionalProperties": false,
"properties": {
"$id": {
"$ref": "../schema/common.schema.json#/definitions/$id",
"pattern": "technique/"
},
"$schema": {
"type": "string"
},
"$type": {
"$ref": "../schema/common.schema.json#/definitions/$type",
"default": "technique",
"enum": [
"technique"
]
},
"description": {
"$comment": "A description of the technique.",
"type": "string"
},
"external_references": {
"items": {
"$ref": "../schema/common.schema.json#/definitions/uri_reference"
},
"type": "array",
"uniqueItems": true
},
"framework_references": {
"items": {
"$ref": "../schema/common.schema.json#/definitions/framework_reference"
},
"type": "array",
"uniqueItems": true
},
"name": {
"$comment": "The name of the technique.",
"type": "string"
},
"object_references": {
"$comment": "References to objects that are related to the procedure, must have at least one tactic reference.",
"contains": {
"$ref": "../schema/common.schema.json#/definitions/object_reference",
"$type": {
"$ref": "../schema/common.schema.json#/definitions/$type",
"enum": [
"tactic"
]
}
},
"items": {
"$ref": "../schema/common.schema.json#/definitions/object_reference"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"$id",
"$type",
"name",
"description",
"object_references",
"external_references",
"framework_references",
"$schema"
],
"title": "Technique Schema",
"type": "object"
}