Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INFRA] Introduce metaschema (#1787)
* add metaschema and code to validate it. * WIP metaschema and code to validate * update schema * objects finished * add rules * add checks * add rules.files.common * add files.common.core and files.common.tables * add rules.files.deriv * dereferencing working * checkpoint * checkpoint * add rules.sidecars * sidecar derivatives checkpoint * tabular_data checkpoint * DONE! * DONE! * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix typo * blackify * include references to draft7 metaschema * move metaschema * add tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move things around * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update tools/schemacode/bidsschematools/validate_schema.py Co-authored-by: Taylor Salo <[email protected]> * fix typo * add jsonschema to deps * fixing up checks * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * install jsonschema types * fix pathing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * flake8 * try changing schema path * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix paths * use existing functions * convert from namespace * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update fields for existing loader * fix required props * ENH: Link metaschema into package data * RF: Use package data instead of relying on CWD * STY: Import from top-level jsonschema * PY38: importlib_resources * use "deprecated" instead of "DEPRECATED" * move to schema.py and test_schema.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/schema/objects/common_principles.yaml * Update README.md --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Taylor Salo <[email protected]> Co-authored-by: Chris Markiewicz <[email protected]>
- Loading branch information