BIDS Validator¶
Purpose¶
The BIDS validator checks that dataset repositories conform to the BIDS specification. It runs automatically on every merge request and every push to a dataset repository, ensuring that only valid data reaches the main branch.
The validator is deployed as a GitLab CI component. All dataset repositories include it in their .gitlab-ci.yml:
Update workflow¶
Data stewards are subscribed to notifications on the bids-validator GitHub repository. When a new release is available:
- Update the validator component (version numbers in
requirements.txt,templates/bids-validator.yml, and.gitlab-ci.yml) and merge - Run the new validator version against all datasets — the updated component is picked up automatically on the next pipeline run
- Review any new validation errors or warnings that appear across datasets
- Work with data owners to resolve issues, or document known exceptions in the dataset README where resolution is not possible