Skip to content

Commit 658d106

Browse files
Add basic stimuli validation example
This example demonstrates core BIDS stimuli structure that validates successfully with schema-based validation: - Basic stimuli catalog (stimuli.tsv/json) - Individual stimulus metadata (stim-*_*.json) - Proper BIDS field capitalization (Type, Description) - Clean structure without complex annotations Purpose: Test case for stimuli BEP validation and development.
1 parent c7c050a commit 658d106

File tree

5 files changed

+38
-0
lines changed

5 files changed

+38
-0
lines changed

stimuli_basic/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This dataset demonstrates basic stimuli organization according to the BIDS specification.
2+
3+
It includes:
4+
- stimuli.tsv: Catalog of stimuli with basic metadata
5+
- stimuli.json: Column definitions for the stimuli catalog
6+
- stim-*_*.json: Individual stimulus metadata files
7+
8+
This example validates successfully with the BIDS validator when using a custom schema that supports stimuli validation.
9+
10+
See: https://bids-specification.readthedocs.io/en/latest/modality-agnostic-files/stimuli.html
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"Name": "Basic Stimuli Example",
3+
"BIDSVersion": "1.8.0",
4+
"License": "CC0",
5+
"Authors": ["BIDS Maintainers"],
6+
"Description": "Simple example demonstrating basic stimuli structure validation"
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"Type": "image",
3+
"Description": "Neutral face stimulus for emotion recognition task"
4+
}

stimuli_basic/stimuli/stimuli.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"stimulus_id": {
3+
"Description": "Unique identifier for the stimulus"
4+
},
5+
"type": {
6+
"Description": "Type of stimulus file"
7+
},
8+
"Description": {
9+
"Description": "Free-form description of the stimulus"
10+
},
11+
"present": {
12+
"Description": "Whether the stimulus file is present in the dataset"
13+
}
14+
}

stimuli_basic/stimuli/stimuli.tsv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
stimulus_id type Description present
2+
stim-face01 image A neutral face stimulus true
3+
stim-tone01 audio A 440Hz pure tone true

0 commit comments

Comments
 (0)