-
Notifications
You must be signed in to change notification settings - Fork 0
/
database_schema.json
43 lines (43 loc) · 1.15 KB
/
database_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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": { "type": "string" },
"path": { "type": "string" },
"doi": { "type": "string" },
"versions": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"path": { "type": "string" },
"files": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"source": { "type": "string" },
"directory": { "type": "boolean" },
"allow_filter": {
"type": "array",
"items": { "type": "string" }
},
"ignore_filter": {
"type": "array",
"items": { "type": "string" }
},
"zenodo": { "type": "boolean" }
},
"required": ["source"]
}
}
},
"required": ["name"]
}
}
},
"required": ["name", "path", "versions"]
}