Open
Description
This relates to an issue raised on the bids-validator but that should probably be discussed here before we decide to change the specs: https://github.com/bids-standard/bids-validator/issues/1044
TL;DR
For most JSON files the validator does not allow extra content to be added. This is not mentioned in the specs and probably should be.
Problem
For example, the validator will throw an error if this json file for an iEEG file.
{
"Instructions": "do this",
"PowerLineFrequency": 50,
"SamplingFrequency": 2400,
"SoftwareFilters": "n/a",
"TaskName": "implanted Target Practice",
"iEEGReference": "Cz",
"extraInfo": {
"nestedExtraInfo": "something extra"
}
}
But the specs does not mention that users cannot do that.
From the validator side, it allows for stronger validation (see here).
From the community and user side, this is can seen as a way to try to incite users to ask for their extraInfo to be supported by the specs.
Suggestion
- makes this rule and its motivations explicit in the specs.
- change the error message on the validator to point users to open issues to have extra content supported by the specs
Related issue on the validator
Metadata
Metadata
Assignees
Type
Projects
Status
Todo