Skip to content

Commit 237c466

Browse files
Add missing 'type' metadata field for stimulus JSON sidecars
The stimuli JSON sidecar files contain a 'type' field that was causing validator TypeError because no metadata definition existed. Added the 'type' field definition to enable proper validation of stimulus metadata. - Existing: type__stimuli column for TSV files - Added: type metadata field for JSON sidecar files - Enables validation of stim-<label>_<suffix>.json files
1 parent 39f987e commit 237c466

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/schema/objects/metadata.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4211,3 +4211,10 @@ iEEGReference:
42114211
this field should have a general description and the channel specific
42124212
reference should be defined in the `channels.tsv` file.
42134213
type: string
4214+
type:
4215+
name: type
4216+
display_name: Type
4217+
description: |
4218+
Type of stimulus file (for example, image, audio, video, audiovideo).
4219+
Refers to the suffix of the stimulus file when present in stimulus metadata.
4220+
type: string

0 commit comments

Comments
 (0)