-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapine.schema.json
68 lines (68 loc) · 2 KB
/
apine.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json",
"type": "object",
"additionalProperties": false,
"properties": {
"dataset": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/dataset",
"minLength": 1,
"format": "uri-reference",
"type": "string",
"title": "dataset",
"description": "The parent"
},
"participant": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/participant",
"minLength": 1,
"type": "string",
"title": "participant",
"description": "The corresponding participant"
},
"session": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/session",
"minLength": 1,
"type": "string",
"title": "session",
"description": "The corresponding session"
},
"modality": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/modality",
"type": "string",
"title": "modality",
"description": "The corresponding modality",
"enum": [
"func",
"anat",
"dwi",
"fmap"
]
},
"filename": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/filename",
"minLength": 1,
"type": "string",
"title": "filename",
"description": "The filename being described"
},
"filename_keys": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/filename_keys",
"type": "array",
"items": {
"$id": "https://github.com/INCF/apine/blob/master/apine.schema.json/filename_keys/items",
"type": "string",
"title": "filename keys",
"description": "Keys in the filename not captured by other fields",
"examples": [
"task-rest",
"acq-singleband",
"bold",
"T1w",
"inplaneT2",
"dwi"
]
}
}
},
"required": ["dataset", "filename"]
}