Skip to content

Commit 9e82aee

Browse files
committed
fix: Update metaschema, schema structure tests
1 parent 5f81be0 commit 9e82aee

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/metaschema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,6 @@
459459
"type": "array",
460460
"items": { "type": "string" }
461461
},
462-
"dataset_metadata": {
463-
"type": "object"
464-
},
465462
"directories": {
466463
"type": "object"
467464
},
@@ -513,7 +510,6 @@
513510
"tabular_data",
514511
"metaentities",
515512
"common_principles",
516-
"dataset_metadata",
517513
"directories",
518514
"errors",
519515
"modalities"

tools/schemacode/src/bidsschematools/tests/test_expressions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_selectors(schema_obj):
5757
# For directories of files, need to look three down
5858
for rules, level in (
5959
(schema_obj.rules.checks, 3),
60-
(schema_obj.rules.dataset_metadata, 2),
60+
(schema_obj.rules.json, 3),
6161
(schema_obj.rules.sidecars, 3),
6262
(schema_obj.rules.tabular_data, 3),
6363
(schema_obj.rules.errors, 2),

0 commit comments

Comments
 (0)