Summary of what happened:
I have a dataset that includes physio (respiratory) data and eeg data. Per the inheritance principle I put all of the physio.json values that don’t change across subjects/sessions into a physio.json file that is a sibling to the subject directories, and put subject-/session-/task-specific *physio.json files that include the required StartTime parameter (which does vary by subject/session) into the subject/session directories. The validator complains that the top-level physio.json file is missing the required StartTime parameter.
Command used (and if a helper script was used, a link to the helper script or the command generated):
Version:
bids-validator 1.10
Environment (Docker, Singularity, custom installation):
I’m using the npm bids-validator package, but get the same results from https://bids-standard.github.io/bids-validator/ .
Data formatted according to a validatable standard? Please provide the output of the validator:
Relevant log outputs (up to 20 lines):
bids-validator eeg-physio
bids-validator@1.10.0
1: [ERR] Invalid JSON file. The file is not formatted according the schema. (code: 55 - JSON_SCHEMA_VALIDATION_ERROR)
./physio.json
Evidence: should have required property 'StartTime'