-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.json
61 lines (61 loc) · 1.91 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
{
"$schema": "http://json-schema.org/schema#",
"title": "Validator for open-data-security format",
"id": "https://github.com/CIRCL/open-data-security/blob/master/schema.json",
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "number"
},
"source": {
"type": "array",
"uniqueItems": true
},
"tags": {
"type": "array",
"uniqueItems": true,
"$comment": "tag SHOULD come from a MISP taxonomy namespace"
},
"title": {
"type": "string",
"$comment": "a comprehensive and concise title of the dataset"
},
"subtitle": {
"type": "string",
"$comment": "an extended title of the dataset"
},
"description": {
"type": "string",
"$comment": "an exhaustive description of the dataset including methods of collection, extraction or analysis"
},
"time-precision": {
"type": "string",
"$comment": "time-precision MUST be expressed in years, months, days, hours, minutes or seconds to describe the precision of the time expressed"
},
"frequency": {
"type": "string",
"$comment": "frequency of the dataset generation which MUST be expressed in yearly, monthly, daily, hourly, continuous"
},
"producer": {
"type": "string",
"$comment": "producer MUST be expressed as an URI to reference the original producer of the dataset"
},
"license": {
"type": "string",
"$comment": "license MUST be expressed in SPDX format to describe under which license the dataset is distributed"
},
"human-validated": {
"type": "boolean",
"$comment": "human-validated describes if the dataset has been manually validated"
},
"machine-validated": {
"type": "boolean",
"$comment": "machine-validated describes if the dataset has been automatically validated"
}
},
"required": [
"title",
"license"
]
}