9
9
label :
10
10
display_name : Label
11
11
description : |
12
- Freeform labels without special characters.
13
- pattern : ' [0-9a-zA-Z]+'
12
+ Free-form labels with alphanumeric and plus (+) characters.
13
+
14
+ Plus signs MAY be used to concatenate multiple applicable labels,
15
+ but no relationship is established by a partial match.
16
+ In particular, the inheritance principle does not connect files
17
+ containing entities such as `<name>-x+y` with either `<name>-x` or `<name>-y`.
18
+ For example, metadata stored in a file at the root of the dataset with name `/acq-6p_T2w.json`
19
+ does not apply to files with partially matching "acquisition" entity values
20
+ such as `/sub-1/anat/sub-1_acq-6p+s2_T2w.nii`.
21
+ pattern : ' [0-9a-zA-Z+]+'
14
22
# Metadata types
15
23
boolean :
16
24
display_name : Boolean
@@ -59,7 +67,7 @@ dataset_relative:
59
67
The validation for this format is minimal.
60
68
It simply ensures that the value is a string with any characters that may appear in a valid path,
61
69
without starting with "/" (an absolute path).
62
- pattern : ' (?!/)[0-9a-zA-Z/\_\-\.]+'
70
+ pattern : ' (?!/)[0-9a-zA-Z+ /\_\-\.]+'
63
71
date :
64
72
display_name : Date
65
73
description : |
@@ -90,7 +98,7 @@ file_relative:
90
98
The validation for this format is minimal.
91
99
It simply ensures that the value is a string with any characters that may appear in a valid path,
92
100
without starting with "/" (an absolute path).
93
- pattern : ' (?!/)[0-9a-zA-Z/\_\-\.]+'
101
+ pattern : ' (?!/)[0-9a-zA-Z+ /\_\-\.]+'
94
102
participant_relative :
95
103
display_name : Path relative to the participant directory
96
104
description : |
@@ -100,7 +108,7 @@ participant_relative:
100
108
It simply ensures that the value is a string with any characters that may appear in a valid path,
101
109
without starting with "/" (an absolute path) or "sub/"
102
110
(a relative path starting with the participant directory, rather than relative to that directory).
103
- pattern : ' (?!/)(?!sub-)[0-9a-zA-Z/\_\-\.]+'
111
+ pattern : ' (?!/)(?!sub-)[0-9a-zA-Z+ /\_\-\.]+'
104
112
rrid :
105
113
display_name : Research resource identifier
106
114
description : |
@@ -115,7 +123,7 @@ stimuli_relative:
115
123
It simply ensures that the value is a string with any characters that may appear in a valid path,
116
124
without starting with "/" (an absolute path) or "stimuli/"
117
125
(a relative path starting with the stimuli directory, rather than relative to that directory).
118
- pattern : ' (?!/)(?!stimuli/)[0-9a-zA-Z/\_\-\.]+'
126
+ pattern : ' (?!/)(?!stimuli/)[0-9a-zA-Z+ /\_\-\.]+'
119
127
time :
120
128
display_name : Time
121
129
description : |
0 commit comments