The BIDS schema is a machine readable representation of the BIDS standard, written in a custom YAML format. The goal of the schema is to provide a single source for rendering the specification and validating BIDS datasets, reducing the scope for inconsistencies. Third party tools may also use the schema to write code that will adapt to additions to the BIDS standard.
The BIDS schema is available in two machine readable formats:
A didactic walkthrough of the schema can be found in the BEP Guide,
and a complete description is available in the
bidsschematools is a Python package sourced
from the specification repository, and includes the necessary code to render the specification
and filename validation.