From 677f65afe412879f42fc8f8e5a846b5c45142d1b Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Wed, 21 Jan 2026 14:53:33 +0100 Subject: [PATCH 1/6] add function to test attributes --- tests/test_attributes.py | 72 ++++++++++++++++++++++++++++++++++++++++ tests/test_validation.py | 14 ++++++-- 2 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 tests/test_attributes.py diff --git a/tests/test_attributes.py b/tests/test_attributes.py new file mode 100644 index 00000000..8d4a32db --- /dev/null +++ b/tests/test_attributes.py @@ -0,0 +1,72 @@ +from pathlib import Path +from typing import Any +import json + +import pytest + +from jsonschema import RefResolver, Draft202012Validator as Validator +from jsonschema.exceptions import ValidationError + +here = Path(__file__).resolve().parent +schema_dir = here.parent.joinpath("schemas") +attrs_dir = here / "attributes" + +schema_store = {} +version = None +for schema_path in schema_dir.glob("*.schema*"): + schema = json.loads(schema_path.read_text()) + schema_store[schema["$id"]] = schema + if schema_path.stem == "_version": + version = schema["enum"][0] + +assert version is not None + +GENERIC_SCHEMA = schema_store[ + f"https://ngff.openmicroscopy.org/{version}/schemas/ome_zarr.schema" +] +STRICT_SCHEMA = schema_store[ + f"https://ngff.openmicroscopy.org/{version}/schemas/strict_ome_zarr.schema" +] + +case_fnames = sorted(attrs_dir.rglob("*.json")) + +xfails = set() + + +def fname_to_id(fpath: Path) -> str: + return str(fpath.relative_to(attrs_dir).with_suffix("")) + + +@pytest.mark.parametrize("case_fname", case_fnames, ids=fname_to_id) +def test_attributes(case_fname: Path): + if fname_to_id(case_fname) in xfails: + pytest.xfail("known JSON Schema limitation") + + case_obj: dict[str, Any] = json.loads(case_fname.read_text()) + + conformance = case_obj.get("_conformance", {}) + valid = conformance.get("valid", True) + strict = conformance.get("strict", False) + + if strict: + schema = STRICT_SCHEMA + else: + schema = GENERIC_SCHEMA + + resolver = RefResolver.from_schema( + schema, + store=schema_store, + ) + + validator_cls = Validator + + validator = validator_cls( + schema, + resolver=resolver, + ) + + if valid: + validator.validate(case_obj) + else: + with pytest.raises(ValidationError): + validator.validate(case_obj) \ No newline at end of file diff --git a/tests/test_validation.py b/tests/test_validation.py index 4926188b..0b7d8a1a 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -9,12 +9,16 @@ from jsonschema import RefResolver, Draft202012Validator as Validator from jsonschema.exceptions import ValidationError +from pathlib import Path + +os.chdir(Path(__file__).parent.parent) schema_store = {} for schema_filename in glob.glob("schemas/*"): - with open(schema_filename) as f: - schema = json.load(f) - schema_store[schema["$id"]] = schema + if schema_filename.endswith('.schema'): + with open(schema_filename) as f: + schema = json.load(f) + schema_store[schema["$id"]] = schema GENERIC_SCHEMA = schema_store[ "https://ngff.openmicroscopy.org/0.6.dev2/schemas/ome_zarr.schema" @@ -124,3 +128,7 @@ def test_example_configs(): missing.append(subdir[0]) if missing: raise Exception(f"Directories missing configs: {missing}") + + +if __name__ == '__main__': + pytest.main([__file__]) \ No newline at end of file From 59f14e313b28af5984efad78ae17eb992a519658 Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Wed, 21 Jan 2026 15:08:51 +0100 Subject: [PATCH 2/6] retrieve valid state from path --- tests/test_attributes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_attributes.py b/tests/test_attributes.py index 8d4a32db..f3fcf607 100644 --- a/tests/test_attributes.py +++ b/tests/test_attributes.py @@ -45,7 +45,7 @@ def test_attributes(case_fname: Path): case_obj: dict[str, Any] = json.loads(case_fname.read_text()) conformance = case_obj.get("_conformance", {}) - valid = conformance.get("valid", True) + valid = 'valid' in case_obj strict = conformance.get("strict", False) if strict: @@ -69,4 +69,4 @@ def test_attributes(case_fname: Path): validator.validate(case_obj) else: with pytest.raises(ValidationError): - validator.validate(case_obj) \ No newline at end of file + validator.validate(case_obj) From 02e73b5c1720c55345cb71c7c89da52010c644c2 Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:01:58 +0100 Subject: [PATCH 3/6] add valid: false for invalid-marked examples --- tests/attributes/spec/invalid/image/duplicate_axes.json | 3 ++- tests/attributes/spec/invalid/image/duplicate_scale.json | 3 ++- .../spec/invalid/image/empty_transformations.json | 3 ++- tests/attributes/spec/invalid/image/invalid_axes_count.json | 3 ++- tests/attributes/spec/invalid/image/invalid_axis_type.json | 3 ++- .../spec/invalid/image/invalid_channels_color.json | 3 ++- .../spec/invalid/image/invalid_channels_window.json | 3 ++- .../invalid/image/invalid_multiscales_transformations.json | 3 ++- tests/attributes/spec/invalid/image/invalid_path.json | 3 ++- .../spec/invalid/image/invalid_transformation_type.json | 3 ++- tests/attributes/spec/invalid/image/missing_axes.json | 3 ++- tests/attributes/spec/invalid/image/missing_axes_name.json | 3 ++- tests/attributes/spec/invalid/image/missing_datasets.json | 3 ++- tests/attributes/spec/invalid/image/missing_path.json | 3 ++- tests/attributes/spec/invalid/image/missing_scale.json | 3 ++- tests/attributes/spec/invalid/image/missing_space_axes.json | 3 ++- .../spec/invalid/image/missing_transformations.json | 3 ++- tests/attributes/spec/invalid/image/no_axes.json | 3 ++- tests/attributes/spec/invalid/image/no_datasets.json | 3 ++- tests/attributes/spec/invalid/image/no_multiscales.json | 3 ++- tests/attributes/spec/invalid/image/one_space_axes.json | 3 ++- tests/attributes/spec/invalid/image/too_many_axes.json | 3 ++- .../attributes/spec/invalid/image/too_many_space_axes.json | 3 ++- tests/attributes/spec/invalid/label/colors_duplicate.json | 3 ++- .../spec/invalid/label/colors_no_label_value.json | 3 ++- tests/attributes/spec/invalid/label/colors_rgba_length.json | 3 ++- tests/attributes/spec/invalid/label/colors_rgba_type.json | 3 ++- tests/attributes/spec/invalid/label/empty_colors.json | 3 ++- tests/attributes/spec/invalid/label/empty_properties.json | 3 ++- .../spec/invalid/label/properties_no_label_value.json | 3 ++- .../spec/invalid/plate/acquisition_negative_starttime.json | 3 ++- .../spec/invalid/plate/acquisition_noninteger_endtime.json | 3 ++- .../invalid/plate/acquisition_noninteger_starttime.json | 3 ++- .../invalid/plate/acquisition_zero_maximumfieldcount.json | 3 ++- tests/attributes/spec/invalid/plate/duplicate_columns.json | 3 ++- tests/attributes/spec/invalid/plate/duplicate_rows-2.json | 3 ++- tests/attributes/spec/invalid/plate/duplicate_rows.json | 3 ++- tests/attributes/spec/invalid/plate/empty_columns.json | 3 ++- tests/attributes/spec/invalid/plate/empty_rows.json | 3 ++- tests/attributes/spec/invalid/plate/empty_wells.json | 3 ++- .../spec/invalid/plate/missing_acquisition_id.json | 3 ++- .../attributes/spec/invalid/plate/missing_column_name.json | 3 ++- tests/attributes/spec/invalid/plate/missing_columns.json | 3 ++- tests/attributes/spec/invalid/plate/missing_row_name.json | 3 ++- tests/attributes/spec/invalid/plate/missing_rows.json | 3 ++- .../spec/invalid/plate/missing_well_columnIndex.json | 3 ++- tests/attributes/spec/invalid/plate/missing_well_path.json | 3 ++- .../spec/invalid/plate/missing_well_rowIndex.json | 3 ++- tests/attributes/spec/invalid/plate/missing_wells.json | 3 ++- .../spec/invalid/plate/negative_acquisition_id.json | 3 ++- tests/attributes/spec/invalid/plate/negative_endtime.json | 3 ++- .../spec/invalid/plate/non_alphanumeric_column.json | 3 ++- .../spec/invalid/plate/non_integer_acquisition_id.json | 3 ++- .../plate/non_integer_acquisition_maximumfieldcount.json | 3 ++- tests/attributes/spec/invalid/plate/well_1group.json | 3 ++- tests/attributes/spec/invalid/plate/well_3groups.json | 3 ++- tests/attributes/spec/invalid/plate/zero_field_count.json | 3 ++- tests/attributes/spec/invalid/well/duplicate_images.json | 3 ++- tests/attributes/spec/invalid/well/empty_images.json | 3 ++- .../spec/invalid/well/non_integer_acquisition_id.json | 3 ++- tests/attributes/spec/valid/plate/minimal_acquisitions.json | 3 ++- tests/attributes/strict/invalid/label/no_colors.json | 3 ++- .../plate/missing_acquisition_maximumfieldcount.json | 3 ++- .../strict/invalid/plate/missing_acquisition_name.json | 3 ++- tests/attributes/strict/invalid/plate/missing_name.json | 3 ++- tests/test_attributes.py | 6 +++++- .../spec/invalid/image/duplicate_axes.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/duplicate_scale.ome.zarr/zarr.json | 3 ++- .../invalid/image/empty_transformations.ome.zarr/zarr.json | 3 ++- .../invalid/image/invalid_axes_count.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/invalid_axis_type.ome.zarr/zarr.json | 3 ++- .../invalid/image/invalid_channels_color.ome.zarr/zarr.json | 3 ++- .../image/invalid_channels_window.ome.zarr/zarr.json | 3 ++- .../invalid_multiscales_transformations.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/image/invalid_path.ome.zarr/zarr.json | 3 ++- .../image/invalid_transformation_type.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/image/missing_axes.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/missing_axes_name.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/missing_datasets.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/image/missing_path.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/missing_scale.ome.zarr/zarr.json | 3 ++- .../invalid/image/missing_space_axes.ome.zarr/zarr.json | 3 ++- .../image/missing_transformations.ome.zarr/zarr.json | 3 ++- tests/zarr/spec/invalid/image/no_axes.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/image/no_datasets.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/no_multiscales.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/one_space_axes.ome.zarr/zarr.json | 3 ++- .../spec/invalid/image/too_many_axes.ome.zarr/zarr.json | 3 ++- .../invalid/image/too_many_space_axes.ome.zarr/zarr.json | 3 ++- .../spec/invalid/label/colors_duplicate.ome.zarr/zarr.json | 3 ++- .../invalid/label/colors_no_label_value.ome.zarr/zarr.json | 3 ++- .../invalid/label/colors_rgba_length.ome.zarr/zarr.json | 3 ++- .../spec/invalid/label/colors_rgba_type.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/label/empty_colors.ome.zarr/zarr.json | 3 ++- .../spec/invalid/label/empty_properties.ome.zarr/zarr.json | 3 ++- .../label/properties_no_label_value.ome.zarr/zarr.json | 3 ++- .../plate/acquisition_negative_starttime.ome.zarr/zarr.json | 3 ++- .../plate/acquisition_noninteger_endtime.ome.zarr/zarr.json | 3 ++- .../acquisition_noninteger_starttime.ome.zarr/zarr.json | 3 ++- .../acquisition_zero_maximumfieldcount.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/duplicate_columns.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/duplicate_rows-2.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/duplicate_rows.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/empty_columns.ome.zarr/zarr.json | 3 ++- tests/zarr/spec/invalid/plate/empty_rows.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/plate/empty_wells.ome.zarr/zarr.json | 3 ++- .../invalid/plate/missing_acquisition_id.ome.zarr/zarr.json | 3 ++- .../invalid/plate/missing_column_name.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/missing_columns.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/missing_row_name.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/plate/missing_rows.ome.zarr/zarr.json | 3 ++- .../plate/missing_well_columnIndex.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/missing_well_path.ome.zarr/zarr.json | 3 ++- .../invalid/plate/missing_well_rowIndex.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/missing_wells.ome.zarr/zarr.json | 3 ++- .../plate/negative_acquisition_id.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/negative_endtime.ome.zarr/zarr.json | 3 ++- .../plate/non_alphanumeric_column.ome.zarr/zarr.json | 3 ++- .../plate/non_integer_acquisition_id.ome.zarr/zarr.json | 3 ++- .../zarr.json | 3 ++- .../zarr/spec/invalid/plate/well_1group.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/plate/well_3groups.ome.zarr/zarr.json | 3 ++- .../spec/invalid/plate/zero_field_count.ome.zarr/zarr.json | 3 ++- .../spec/invalid/well/duplicate_images.ome.zarr/zarr.json | 3 ++- .../zarr/spec/invalid/well/empty_images.ome.zarr/zarr.json | 3 ++- .../well/non_integer_acquisition_id.ome.zarr/zarr.json | 3 ++- .../zarr/strict/invalid/label/no_colors.ome.zarr/zarr.json | 3 ++- .../zarr.json | 3 ++- .../plate/missing_acquisition_name.ome.zarr/zarr.json | 3 ++- .../strict/invalid/plate/missing_name.ome.zarr/zarr.json | 3 ++- 130 files changed, 263 insertions(+), 130 deletions(-) diff --git a/tests/attributes/spec/invalid/image/duplicate_axes.json b/tests/attributes/spec/invalid/image/duplicate_axes.json index 4337829f..c2f27a1d 100644 --- a/tests/attributes/spec/invalid/image/duplicate_axes.json +++ b/tests/attributes/spec/invalid/image/duplicate_axes.json @@ -42,6 +42,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/duplicate_scale.json b/tests/attributes/spec/invalid/image/duplicate_scale.json index f97c0885..405d50f5 100644 --- a/tests/attributes/spec/invalid/image/duplicate_scale.json +++ b/tests/attributes/spec/invalid/image/duplicate_scale.json @@ -51,6 +51,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/empty_transformations.json b/tests/attributes/spec/invalid/image/empty_transformations.json index e55bc5c6..b4c5d967 100644 --- a/tests/attributes/spec/invalid/image/empty_transformations.json +++ b/tests/attributes/spec/invalid/image/empty_transformations.json @@ -33,5 +33,6 @@ "schema": { "id": "schemas/image.schema" } - } + }, + "valid": false } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_axes_count.json b/tests/attributes/spec/invalid/image/invalid_axes_count.json index 29f37b1a..0b1346f0 100644 --- a/tests/attributes/spec/invalid/image/invalid_axes_count.json +++ b/tests/attributes/spec/invalid/image/invalid_axes_count.json @@ -37,6 +37,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_axis_type.json b/tests/attributes/spec/invalid/image/invalid_axis_type.json index 1110d0bb..f004b7b0 100644 --- a/tests/attributes/spec/invalid/image/invalid_axis_type.json +++ b/tests/attributes/spec/invalid/image/invalid_axis_type.json @@ -42,6 +42,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_channels_color.json b/tests/attributes/spec/invalid/image/invalid_channels_color.json index 20b2e23c..c91ce42b 100644 --- a/tests/attributes/spec/invalid/image/invalid_channels_color.json +++ b/tests/attributes/spec/invalid/image/invalid_channels_color.json @@ -59,6 +59,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_channels_window.json b/tests/attributes/spec/invalid/image/invalid_channels_window.json index d58680bd..98e28fe7 100644 --- a/tests/attributes/spec/invalid/image/invalid_channels_window.json +++ b/tests/attributes/spec/invalid/image/invalid_channels_window.json @@ -59,6 +59,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_multiscales_transformations.json b/tests/attributes/spec/invalid/image/invalid_multiscales_transformations.json index c969888f..5379e631 100644 --- a/tests/attributes/spec/invalid/image/invalid_multiscales_transformations.json +++ b/tests/attributes/spec/invalid/image/invalid_multiscales_transformations.json @@ -50,6 +50,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_path.json b/tests/attributes/spec/invalid/image/invalid_path.json index e3f5f2f7..e1f74bd4 100644 --- a/tests/attributes/spec/invalid/image/invalid_path.json +++ b/tests/attributes/spec/invalid/image/invalid_path.json @@ -42,6 +42,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/invalid_transformation_type.json b/tests/attributes/spec/invalid/image/invalid_transformation_type.json index 59d7a024..96fc9d11 100644 --- a/tests/attributes/spec/invalid/image/invalid_transformation_type.json +++ b/tests/attributes/spec/invalid/image/invalid_transformation_type.json @@ -42,6 +42,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_axes.json b/tests/attributes/spec/invalid/image/missing_axes.json index 0df61b60..e86d3cc6 100644 --- a/tests/attributes/spec/invalid/image/missing_axes.json +++ b/tests/attributes/spec/invalid/image/missing_axes.json @@ -25,6 +25,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_axes_name.json b/tests/attributes/spec/invalid/image/missing_axes_name.json index 8d44e9a2..13f0a7ac 100644 --- a/tests/attributes/spec/invalid/image/missing_axes_name.json +++ b/tests/attributes/spec/invalid/image/missing_axes_name.json @@ -40,6 +40,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_datasets.json b/tests/attributes/spec/invalid/image/missing_datasets.json index 367f797a..a4c81e5d 100644 --- a/tests/attributes/spec/invalid/image/missing_datasets.json +++ b/tests/attributes/spec/invalid/image/missing_datasets.json @@ -26,6 +26,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_path.json b/tests/attributes/spec/invalid/image/missing_path.json index 085f5aeb..5d4c4ad1 100644 --- a/tests/attributes/spec/invalid/image/missing_path.json +++ b/tests/attributes/spec/invalid/image/missing_path.json @@ -41,6 +41,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_scale.json b/tests/attributes/spec/invalid/image/missing_scale.json index 1c58f1ca..1a547087 100644 --- a/tests/attributes/spec/invalid/image/missing_scale.json +++ b/tests/attributes/spec/invalid/image/missing_scale.json @@ -42,6 +42,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_space_axes.json b/tests/attributes/spec/invalid/image/missing_space_axes.json index 32689446..c52179e2 100644 --- a/tests/attributes/spec/invalid/image/missing_space_axes.json +++ b/tests/attributes/spec/invalid/image/missing_space_axes.json @@ -40,6 +40,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/missing_transformations.json b/tests/attributes/spec/invalid/image/missing_transformations.json index 2d4f9a4c..310bdd6d 100644 --- a/tests/attributes/spec/invalid/image/missing_transformations.json +++ b/tests/attributes/spec/invalid/image/missing_transformations.json @@ -31,6 +31,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/no_axes.json b/tests/attributes/spec/invalid/image/no_axes.json index 7d92fa49..c7203996 100644 --- a/tests/attributes/spec/invalid/image/no_axes.json +++ b/tests/attributes/spec/invalid/image/no_axes.json @@ -26,6 +26,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/no_datasets.json b/tests/attributes/spec/invalid/image/no_datasets.json index 894092d9..58c5bd78 100644 --- a/tests/attributes/spec/invalid/image/no_datasets.json +++ b/tests/attributes/spec/invalid/image/no_datasets.json @@ -27,6 +27,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/no_multiscales.json b/tests/attributes/spec/invalid/image/no_multiscales.json index 34970d7c..d88ba452 100644 --- a/tests/attributes/spec/invalid/image/no_multiscales.json +++ b/tests/attributes/spec/invalid/image/no_multiscales.json @@ -6,6 +6,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/one_space_axes.json b/tests/attributes/spec/invalid/image/one_space_axes.json index 2ecd9fbe..10e39bb6 100644 --- a/tests/attributes/spec/invalid/image/one_space_axes.json +++ b/tests/attributes/spec/invalid/image/one_space_axes.json @@ -45,6 +45,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/too_many_axes.json b/tests/attributes/spec/invalid/image/too_many_axes.json index bc606714..e376ebeb 100644 --- a/tests/attributes/spec/invalid/image/too_many_axes.json +++ b/tests/attributes/spec/invalid/image/too_many_axes.json @@ -60,6 +60,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/image/too_many_space_axes.json b/tests/attributes/spec/invalid/image/too_many_space_axes.json index 82f0b810..b8ff7aa9 100644 --- a/tests/attributes/spec/invalid/image/too_many_space_axes.json +++ b/tests/attributes/spec/invalid/image/too_many_space_axes.json @@ -50,6 +50,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/colors_duplicate.json b/tests/attributes/spec/invalid/label/colors_duplicate.json index 0f73138b..3bd23543 100644 --- a/tests/attributes/spec/invalid/label/colors_duplicate.json +++ b/tests/attributes/spec/invalid/label/colors_duplicate.json @@ -28,6 +28,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/colors_no_label_value.json b/tests/attributes/spec/invalid/label/colors_no_label_value.json index 07dcc8d0..489ba554 100644 --- a/tests/attributes/spec/invalid/label/colors_no_label_value.json +++ b/tests/attributes/spec/invalid/label/colors_no_label_value.json @@ -18,6 +18,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/colors_rgba_length.json b/tests/attributes/spec/invalid/label/colors_rgba_length.json index 650600b6..bd97b4e0 100644 --- a/tests/attributes/spec/invalid/label/colors_rgba_length.json +++ b/tests/attributes/spec/invalid/label/colors_rgba_length.json @@ -18,6 +18,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/colors_rgba_type.json b/tests/attributes/spec/invalid/label/colors_rgba_type.json index 88a83d03..44f2a096 100644 --- a/tests/attributes/spec/invalid/label/colors_rgba_type.json +++ b/tests/attributes/spec/invalid/label/colors_rgba_type.json @@ -19,6 +19,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/empty_colors.json b/tests/attributes/spec/invalid/label/empty_colors.json index a360561e..96838763 100644 --- a/tests/attributes/spec/invalid/label/empty_colors.json +++ b/tests/attributes/spec/invalid/label/empty_colors.json @@ -9,6 +9,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/empty_properties.json b/tests/attributes/spec/invalid/label/empty_properties.json index 3c493d57..00df37fd 100644 --- a/tests/attributes/spec/invalid/label/empty_properties.json +++ b/tests/attributes/spec/invalid/label/empty_properties.json @@ -9,6 +9,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/label/properties_no_label_value.json b/tests/attributes/spec/invalid/label/properties_no_label_value.json index 0abf0551..9e8d8659 100644 --- a/tests/attributes/spec/invalid/label/properties_no_label_value.json +++ b/tests/attributes/spec/invalid/label/properties_no_label_value.json @@ -13,6 +13,7 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/acquisition_negative_starttime.json b/tests/attributes/spec/invalid/plate/acquisition_negative_starttime.json index 1823ff51..8e6deec1 100644 --- a/tests/attributes/spec/invalid/plate/acquisition_negative_starttime.json +++ b/tests/attributes/spec/invalid/plate/acquisition_negative_starttime.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/acquisition_noninteger_endtime.json b/tests/attributes/spec/invalid/plate/acquisition_noninteger_endtime.json index 1f6d5dd2..c92fad77 100644 --- a/tests/attributes/spec/invalid/plate/acquisition_noninteger_endtime.json +++ b/tests/attributes/spec/invalid/plate/acquisition_noninteger_endtime.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/acquisition_noninteger_starttime.json b/tests/attributes/spec/invalid/plate/acquisition_noninteger_starttime.json index 2f7bef5a..0273f2cb 100644 --- a/tests/attributes/spec/invalid/plate/acquisition_noninteger_starttime.json +++ b/tests/attributes/spec/invalid/plate/acquisition_noninteger_starttime.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/acquisition_zero_maximumfieldcount.json b/tests/attributes/spec/invalid/plate/acquisition_zero_maximumfieldcount.json index b5529829..5f1c4a25 100644 --- a/tests/attributes/spec/invalid/plate/acquisition_zero_maximumfieldcount.json +++ b/tests/attributes/spec/invalid/plate/acquisition_zero_maximumfieldcount.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/duplicate_columns.json b/tests/attributes/spec/invalid/plate/duplicate_columns.json index 2ff06f52..048ee055 100644 --- a/tests/attributes/spec/invalid/plate/duplicate_columns.json +++ b/tests/attributes/spec/invalid/plate/duplicate_columns.json @@ -28,6 +28,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/duplicate_rows-2.json b/tests/attributes/spec/invalid/plate/duplicate_rows-2.json index 77261e8a..88df1308 100644 --- a/tests/attributes/spec/invalid/plate/duplicate_rows-2.json +++ b/tests/attributes/spec/invalid/plate/duplicate_rows-2.json @@ -33,6 +33,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/duplicate_rows.json b/tests/attributes/spec/invalid/plate/duplicate_rows.json index 71096f06..272cd9e7 100644 --- a/tests/attributes/spec/invalid/plate/duplicate_rows.json +++ b/tests/attributes/spec/invalid/plate/duplicate_rows.json @@ -28,6 +28,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/empty_columns.json b/tests/attributes/spec/invalid/plate/empty_columns.json index 8ab54742..06343c63 100644 --- a/tests/attributes/spec/invalid/plate/empty_columns.json +++ b/tests/attributes/spec/invalid/plate/empty_columns.json @@ -21,6 +21,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/empty_rows.json b/tests/attributes/spec/invalid/plate/empty_rows.json index 2cb4b245..da29f75d 100644 --- a/tests/attributes/spec/invalid/plate/empty_rows.json +++ b/tests/attributes/spec/invalid/plate/empty_rows.json @@ -21,6 +21,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/empty_wells.json b/tests/attributes/spec/invalid/plate/empty_wells.json index 82e1ddd6..221eea76 100644 --- a/tests/attributes/spec/invalid/plate/empty_wells.json +++ b/tests/attributes/spec/invalid/plate/empty_wells.json @@ -19,6 +19,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_acquisition_id.json b/tests/attributes/spec/invalid/plate/missing_acquisition_id.json index 569dfd57..632bf4c0 100644 --- a/tests/attributes/spec/invalid/plate/missing_acquisition_id.json +++ b/tests/attributes/spec/invalid/plate/missing_acquisition_id.json @@ -30,6 +30,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_column_name.json b/tests/attributes/spec/invalid/plate/missing_column_name.json index 427df0db..b718b9b6 100644 --- a/tests/attributes/spec/invalid/plate/missing_column_name.json +++ b/tests/attributes/spec/invalid/plate/missing_column_name.json @@ -25,6 +25,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_columns.json b/tests/attributes/spec/invalid/plate/missing_columns.json index 733d18ad..1c519bf1 100644 --- a/tests/attributes/spec/invalid/plate/missing_columns.json +++ b/tests/attributes/spec/invalid/plate/missing_columns.json @@ -20,6 +20,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_row_name.json b/tests/attributes/spec/invalid/plate/missing_row_name.json index c55d00f7..c5aade81 100644 --- a/tests/attributes/spec/invalid/plate/missing_row_name.json +++ b/tests/attributes/spec/invalid/plate/missing_row_name.json @@ -25,6 +25,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_rows.json b/tests/attributes/spec/invalid/plate/missing_rows.json index 39bbdbdb..0e893900 100644 --- a/tests/attributes/spec/invalid/plate/missing_rows.json +++ b/tests/attributes/spec/invalid/plate/missing_rows.json @@ -20,6 +20,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_well_columnIndex.json b/tests/attributes/spec/invalid/plate/missing_well_columnIndex.json index 9402fd6c..cb566075 100644 --- a/tests/attributes/spec/invalid/plate/missing_well_columnIndex.json +++ b/tests/attributes/spec/invalid/plate/missing_well_columnIndex.json @@ -24,6 +24,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_well_path.json b/tests/attributes/spec/invalid/plate/missing_well_path.json index e7cd7baf..089617b3 100644 --- a/tests/attributes/spec/invalid/plate/missing_well_path.json +++ b/tests/attributes/spec/invalid/plate/missing_well_path.json @@ -24,6 +24,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_well_rowIndex.json b/tests/attributes/spec/invalid/plate/missing_well_rowIndex.json index fcea35f9..b1971241 100644 --- a/tests/attributes/spec/invalid/plate/missing_well_rowIndex.json +++ b/tests/attributes/spec/invalid/plate/missing_well_rowIndex.json @@ -24,6 +24,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/missing_wells.json b/tests/attributes/spec/invalid/plate/missing_wells.json index 24822633..14bc4296 100644 --- a/tests/attributes/spec/invalid/plate/missing_wells.json +++ b/tests/attributes/spec/invalid/plate/missing_wells.json @@ -18,6 +18,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/negative_acquisition_id.json b/tests/attributes/spec/invalid/plate/negative_acquisition_id.json index 412e463f..502ecee2 100644 --- a/tests/attributes/spec/invalid/plate/negative_acquisition_id.json +++ b/tests/attributes/spec/invalid/plate/negative_acquisition_id.json @@ -30,6 +30,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/negative_endtime.json b/tests/attributes/spec/invalid/plate/negative_endtime.json index 8bc64165..56ba3da3 100644 --- a/tests/attributes/spec/invalid/plate/negative_endtime.json +++ b/tests/attributes/spec/invalid/plate/negative_endtime.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/non_alphanumeric_column.json b/tests/attributes/spec/invalid/plate/non_alphanumeric_column.json index 973d961b..df36d1ce 100644 --- a/tests/attributes/spec/invalid/plate/non_alphanumeric_column.json +++ b/tests/attributes/spec/invalid/plate/non_alphanumeric_column.json @@ -25,6 +25,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/non_integer_acquisition_id.json b/tests/attributes/spec/invalid/plate/non_integer_acquisition_id.json index 0e01a452..8b49dede 100644 --- a/tests/attributes/spec/invalid/plate/non_integer_acquisition_id.json +++ b/tests/attributes/spec/invalid/plate/non_integer_acquisition_id.json @@ -30,6 +30,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.json b/tests/attributes/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.json index b44042fa..5c0496ad 100644 --- a/tests/attributes/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.json +++ b/tests/attributes/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.json @@ -31,6 +31,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/well_1group.json b/tests/attributes/spec/invalid/plate/well_1group.json index d3119201..e034330f 100644 --- a/tests/attributes/spec/invalid/plate/well_1group.json +++ b/tests/attributes/spec/invalid/plate/well_1group.json @@ -24,6 +24,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/well_3groups.json b/tests/attributes/spec/invalid/plate/well_3groups.json index c4c74e9d..79c1489b 100644 --- a/tests/attributes/spec/invalid/plate/well_3groups.json +++ b/tests/attributes/spec/invalid/plate/well_3groups.json @@ -24,6 +24,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/plate/zero_field_count.json b/tests/attributes/spec/invalid/plate/zero_field_count.json index 0cb80325..e699da0c 100644 --- a/tests/attributes/spec/invalid/plate/zero_field_count.json +++ b/tests/attributes/spec/invalid/plate/zero_field_count.json @@ -26,6 +26,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/well/duplicate_images.json b/tests/attributes/spec/invalid/well/duplicate_images.json index 3978b0a1..d4a6e751 100644 --- a/tests/attributes/spec/invalid/well/duplicate_images.json +++ b/tests/attributes/spec/invalid/well/duplicate_images.json @@ -13,6 +13,7 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/well/empty_images.json b/tests/attributes/spec/invalid/well/empty_images.json index ef0ccce1..b4eb93e4 100644 --- a/tests/attributes/spec/invalid/well/empty_images.json +++ b/tests/attributes/spec/invalid/well/empty_images.json @@ -6,6 +6,7 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/invalid/well/non_integer_acquisition_id.json b/tests/attributes/spec/invalid/well/non_integer_acquisition_id.json index c3855a3f..8193e214 100644 --- a/tests/attributes/spec/invalid/well/non_integer_acquisition_id.json +++ b/tests/attributes/spec/invalid/well/non_integer_acquisition_id.json @@ -11,6 +11,7 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/spec/valid/plate/minimal_acquisitions.json b/tests/attributes/spec/valid/plate/minimal_acquisitions.json index 5c98cf35..6b9d798f 100644 --- a/tests/attributes/spec/valid/plate/minimal_acquisitions.json +++ b/tests/attributes/spec/valid/plate/minimal_acquisitions.json @@ -30,6 +30,7 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/label/no_colors.json b/tests/attributes/strict/invalid/label/no_colors.json index a7bce28d..08ba4e66 100644 --- a/tests/attributes/strict/invalid/label/no_colors.json +++ b/tests/attributes/strict/invalid/label/no_colors.json @@ -7,6 +7,7 @@ "schema": { "id": "schemas/strict_label.schema" }, - "description": "Tests for the strict image-label JSON schema: " + "description": "Tests for the strict image-label JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json b/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json index ad30883e..4ab057e1 100644 --- a/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json +++ b/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json @@ -32,6 +32,7 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_acquisition_name.json b/tests/attributes/strict/invalid/plate/missing_acquisition_name.json index f8ecec5c..f5925f0b 100644 --- a/tests/attributes/strict/invalid/plate/missing_acquisition_name.json +++ b/tests/attributes/strict/invalid/plate/missing_acquisition_name.json @@ -32,6 +32,7 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_name.json b/tests/attributes/strict/invalid/plate/missing_name.json index 662cfb21..39e777d6 100644 --- a/tests/attributes/strict/invalid/plate/missing_name.json +++ b/tests/attributes/strict/invalid/plate/missing_name.json @@ -25,6 +25,7 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } \ No newline at end of file diff --git a/tests/test_attributes.py b/tests/test_attributes.py index f3fcf607..406aaefc 100644 --- a/tests/test_attributes.py +++ b/tests/test_attributes.py @@ -45,7 +45,7 @@ def test_attributes(case_fname: Path): case_obj: dict[str, Any] = json.loads(case_fname.read_text()) conformance = case_obj.get("_conformance", {}) - valid = 'valid' in case_obj + valid = conformance.get("valid", True) strict = conformance.get("strict", False) if strict: @@ -70,3 +70,7 @@ def test_attributes(case_fname: Path): else: with pytest.raises(ValidationError): validator.validate(case_obj) + + +if __name__ == '__main__': + pytest.main([__file__]) \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/duplicate_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/duplicate_axes.ome.zarr/zarr.json index e1af509d..a5dd7ce0 100644 --- a/tests/zarr/spec/invalid/image/duplicate_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/duplicate_axes.ome.zarr/zarr.json @@ -45,7 +45,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/duplicate_scale.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/duplicate_scale.ome.zarr/zarr.json index 5d095704..68845515 100644 --- a/tests/zarr/spec/invalid/image/duplicate_scale.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/duplicate_scale.ome.zarr/zarr.json @@ -54,7 +54,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/empty_transformations.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/empty_transformations.ome.zarr/zarr.json index e61b0fb7..c85487f6 100644 --- a/tests/zarr/spec/invalid/image/empty_transformations.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/empty_transformations.ome.zarr/zarr.json @@ -35,7 +35,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_axes_count.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_axes_count.ome.zarr/zarr.json index c4b81eda..5ac2f031 100644 --- a/tests/zarr/spec/invalid/image/invalid_axes_count.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_axes_count.ome.zarr/zarr.json @@ -40,7 +40,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_axis_type.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_axis_type.ome.zarr/zarr.json index 9b0a3ea0..53c19450 100644 --- a/tests/zarr/spec/invalid/image/invalid_axis_type.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_axis_type.ome.zarr/zarr.json @@ -45,7 +45,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_channels_color.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_channels_color.ome.zarr/zarr.json index 2625855d..09b09b9a 100644 --- a/tests/zarr/spec/invalid/image/invalid_channels_color.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_channels_color.ome.zarr/zarr.json @@ -62,7 +62,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_channels_window.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_channels_window.ome.zarr/zarr.json index f2ad3d8f..55f532be 100644 --- a/tests/zarr/spec/invalid/image/invalid_channels_window.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_channels_window.ome.zarr/zarr.json @@ -62,7 +62,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_multiscales_transformations.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_multiscales_transformations.ome.zarr/zarr.json index 0eb3d104..406ac452 100644 --- a/tests/zarr/spec/invalid/image/invalid_multiscales_transformations.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_multiscales_transformations.ome.zarr/zarr.json @@ -53,7 +53,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_path.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_path.ome.zarr/zarr.json index b8083f51..b6005757 100644 --- a/tests/zarr/spec/invalid/image/invalid_path.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_path.ome.zarr/zarr.json @@ -45,7 +45,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/invalid_transformation_type.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/invalid_transformation_type.ome.zarr/zarr.json index 1ce84e8e..7502a58e 100644 --- a/tests/zarr/spec/invalid/image/invalid_transformation_type.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/invalid_transformation_type.ome.zarr/zarr.json @@ -45,7 +45,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_axes.ome.zarr/zarr.json index b573036e..8a2e8310 100644 --- a/tests/zarr/spec/invalid/image/missing_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_axes.ome.zarr/zarr.json @@ -28,7 +28,8 @@ "_conformance": { "schema": { "id": "age.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_axes_name.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_axes_name.ome.zarr/zarr.json index e17a2447..8af1ebd0 100644 --- a/tests/zarr/spec/invalid/image/missing_axes_name.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_axes_name.ome.zarr/zarr.json @@ -43,7 +43,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_datasets.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_datasets.ome.zarr/zarr.json index 4bbbf312..60599d33 100644 --- a/tests/zarr/spec/invalid/image/missing_datasets.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_datasets.ome.zarr/zarr.json @@ -29,7 +29,8 @@ "_conformance": { "schema": { "id": "age.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_path.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_path.ome.zarr/zarr.json index 63ffab03..5c1aa8c4 100644 --- a/tests/zarr/spec/invalid/image/missing_path.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_path.ome.zarr/zarr.json @@ -44,7 +44,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_scale.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_scale.ome.zarr/zarr.json index 692b2847..60b56d1f 100644 --- a/tests/zarr/spec/invalid/image/missing_scale.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_scale.ome.zarr/zarr.json @@ -45,7 +45,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_space_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_space_axes.ome.zarr/zarr.json index d837998f..57904b8c 100644 --- a/tests/zarr/spec/invalid/image/missing_space_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_space_axes.ome.zarr/zarr.json @@ -43,7 +43,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/missing_transformations.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/missing_transformations.ome.zarr/zarr.json index 1da42df1..b70d2f1d 100644 --- a/tests/zarr/spec/invalid/image/missing_transformations.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/missing_transformations.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/no_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/no_axes.ome.zarr/zarr.json index b54ce9a9..cd7b41f5 100644 --- a/tests/zarr/spec/invalid/image/no_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/no_axes.ome.zarr/zarr.json @@ -29,7 +29,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/no_datasets.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/no_datasets.ome.zarr/zarr.json index d840848a..7e8a97db 100644 --- a/tests/zarr/spec/invalid/image/no_datasets.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/no_datasets.ome.zarr/zarr.json @@ -30,7 +30,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/no_multiscales.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/no_multiscales.ome.zarr/zarr.json index d6e9485c..c3c66fdf 100644 --- a/tests/zarr/spec/invalid/image/no_multiscales.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/no_multiscales.ome.zarr/zarr.json @@ -9,7 +9,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/one_space_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/one_space_axes.ome.zarr/zarr.json index bcb60200..0636e4bf 100644 --- a/tests/zarr/spec/invalid/image/one_space_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/one_space_axes.ome.zarr/zarr.json @@ -48,7 +48,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/too_many_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/too_many_axes.ome.zarr/zarr.json index b71b7456..7b50dadf 100644 --- a/tests/zarr/spec/invalid/image/too_many_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/too_many_axes.ome.zarr/zarr.json @@ -63,7 +63,8 @@ "_conformance": { "schema": { "id": "age.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/image/too_many_space_axes.ome.zarr/zarr.json b/tests/zarr/spec/invalid/image/too_many_space_axes.ome.zarr/zarr.json index 18c3c9db..bcc66218 100644 --- a/tests/zarr/spec/invalid/image/too_many_space_axes.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/image/too_many_space_axes.ome.zarr/zarr.json @@ -53,7 +53,8 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } + }, + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/colors_duplicate.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/colors_duplicate.ome.zarr/zarr.json index 0880bf76..627df6fd 100644 --- a/tests/zarr/spec/invalid/label/colors_duplicate.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/colors_duplicate.ome.zarr/zarr.json @@ -31,7 +31,8 @@ "schema": { "id": "bel.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/colors_no_label_value.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/colors_no_label_value.ome.zarr/zarr.json index 7f37f2b4..38abab8c 100644 --- a/tests/zarr/spec/invalid/label/colors_no_label_value.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/colors_no_label_value.ome.zarr/zarr.json @@ -21,7 +21,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/colors_rgba_length.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/colors_rgba_length.ome.zarr/zarr.json index 85d029b9..23aae035 100644 --- a/tests/zarr/spec/invalid/label/colors_rgba_length.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/colors_rgba_length.ome.zarr/zarr.json @@ -21,7 +21,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/colors_rgba_type.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/colors_rgba_type.ome.zarr/zarr.json index b7fced99..a3588403 100644 --- a/tests/zarr/spec/invalid/label/colors_rgba_type.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/colors_rgba_type.ome.zarr/zarr.json @@ -22,7 +22,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/empty_colors.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/empty_colors.ome.zarr/zarr.json index 06382686..ca182b88 100644 --- a/tests/zarr/spec/invalid/label/empty_colors.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/empty_colors.ome.zarr/zarr.json @@ -12,7 +12,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/empty_properties.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/empty_properties.ome.zarr/zarr.json index a62e8d7f..adf4486d 100644 --- a/tests/zarr/spec/invalid/label/empty_properties.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/empty_properties.ome.zarr/zarr.json @@ -12,7 +12,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/label/properties_no_label_value.ome.zarr/zarr.json b/tests/zarr/spec/invalid/label/properties_no_label_value.ome.zarr/zarr.json index f0cdbe54..4a23d83b 100644 --- a/tests/zarr/spec/invalid/label/properties_no_label_value.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/label/properties_no_label_value.ome.zarr/zarr.json @@ -16,7 +16,8 @@ "schema": { "id": "schemas/label.schema" }, - "description": "Tests for the image-label JSON schema: " + "description": "Tests for the image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/acquisition_negative_starttime.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/acquisition_negative_starttime.ome.zarr/zarr.json index e89e1eef..85564032 100644 --- a/tests/zarr/spec/invalid/plate/acquisition_negative_starttime.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/acquisition_negative_starttime.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/acquisition_noninteger_endtime.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/acquisition_noninteger_endtime.ome.zarr/zarr.json index 2bcfbaa2..3ad6322a 100644 --- a/tests/zarr/spec/invalid/plate/acquisition_noninteger_endtime.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/acquisition_noninteger_endtime.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/acquisition_noninteger_starttime.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/acquisition_noninteger_starttime.ome.zarr/zarr.json index 3de9e511..6846d4c8 100644 --- a/tests/zarr/spec/invalid/plate/acquisition_noninteger_starttime.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/acquisition_noninteger_starttime.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/acquisition_zero_maximumfieldcount.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/acquisition_zero_maximumfieldcount.ome.zarr/zarr.json index 7047b3fa..38e5b823 100644 --- a/tests/zarr/spec/invalid/plate/acquisition_zero_maximumfieldcount.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/acquisition_zero_maximumfieldcount.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "ate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/duplicate_columns.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/duplicate_columns.ome.zarr/zarr.json index 5f584398..bf3712a2 100644 --- a/tests/zarr/spec/invalid/plate/duplicate_columns.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/duplicate_columns.ome.zarr/zarr.json @@ -31,7 +31,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/duplicate_rows-2.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/duplicate_rows-2.ome.zarr/zarr.json index 7d838dff..9fa66670 100644 --- a/tests/zarr/spec/invalid/plate/duplicate_rows-2.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/duplicate_rows-2.ome.zarr/zarr.json @@ -36,7 +36,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/duplicate_rows.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/duplicate_rows.ome.zarr/zarr.json index a3272b5d..2e03fc82 100644 --- a/tests/zarr/spec/invalid/plate/duplicate_rows.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/duplicate_rows.ome.zarr/zarr.json @@ -31,7 +31,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/empty_columns.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/empty_columns.ome.zarr/zarr.json index 87322fa5..1c17db2e 100644 --- a/tests/zarr/spec/invalid/plate/empty_columns.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/empty_columns.ome.zarr/zarr.json @@ -24,7 +24,8 @@ "schema": { "id": "ate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/empty_rows.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/empty_rows.ome.zarr/zarr.json index 2c486bf1..b4abf354 100644 --- a/tests/zarr/spec/invalid/plate/empty_rows.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/empty_rows.ome.zarr/zarr.json @@ -24,7 +24,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/empty_wells.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/empty_wells.ome.zarr/zarr.json index be4d3a84..9ccc2e3e 100644 --- a/tests/zarr/spec/invalid/plate/empty_wells.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/empty_wells.ome.zarr/zarr.json @@ -22,7 +22,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_acquisition_id.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_acquisition_id.ome.zarr/zarr.json index 861ff932..6fd0eb78 100644 --- a/tests/zarr/spec/invalid/plate/missing_acquisition_id.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_acquisition_id.ome.zarr/zarr.json @@ -33,7 +33,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_column_name.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_column_name.ome.zarr/zarr.json index e656eaec..9c14531e 100644 --- a/tests/zarr/spec/invalid/plate/missing_column_name.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_column_name.ome.zarr/zarr.json @@ -28,7 +28,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_columns.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_columns.ome.zarr/zarr.json index 5fd4dad1..b14157f0 100644 --- a/tests/zarr/spec/invalid/plate/missing_columns.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_columns.ome.zarr/zarr.json @@ -23,7 +23,8 @@ "schema": { "id": "ate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_row_name.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_row_name.ome.zarr/zarr.json index 69642ca9..2ade098e 100644 --- a/tests/zarr/spec/invalid/plate/missing_row_name.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_row_name.ome.zarr/zarr.json @@ -28,7 +28,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_rows.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_rows.ome.zarr/zarr.json index 8a00f901..b075cfa2 100644 --- a/tests/zarr/spec/invalid/plate/missing_rows.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_rows.ome.zarr/zarr.json @@ -23,7 +23,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_well_columnIndex.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_well_columnIndex.ome.zarr/zarr.json index 8b76a13b..b853593a 100644 --- a/tests/zarr/spec/invalid/plate/missing_well_columnIndex.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_well_columnIndex.ome.zarr/zarr.json @@ -27,7 +27,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_well_path.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_well_path.ome.zarr/zarr.json index 50ba914b..7f282faa 100644 --- a/tests/zarr/spec/invalid/plate/missing_well_path.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_well_path.ome.zarr/zarr.json @@ -27,7 +27,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_well_rowIndex.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_well_rowIndex.ome.zarr/zarr.json index f8b24478..27e7e7c1 100644 --- a/tests/zarr/spec/invalid/plate/missing_well_rowIndex.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_well_rowIndex.ome.zarr/zarr.json @@ -27,7 +27,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/missing_wells.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/missing_wells.ome.zarr/zarr.json index ad8004a7..43f0f344 100644 --- a/tests/zarr/spec/invalid/plate/missing_wells.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/missing_wells.ome.zarr/zarr.json @@ -21,7 +21,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/negative_acquisition_id.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/negative_acquisition_id.ome.zarr/zarr.json index 37084fcb..51ae0578 100644 --- a/tests/zarr/spec/invalid/plate/negative_acquisition_id.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/negative_acquisition_id.ome.zarr/zarr.json @@ -33,7 +33,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/negative_endtime.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/negative_endtime.ome.zarr/zarr.json index 916b89ad..1e32799d 100644 --- a/tests/zarr/spec/invalid/plate/negative_endtime.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/negative_endtime.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/non_alphanumeric_column.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/non_alphanumeric_column.ome.zarr/zarr.json index b12c4022..76fc2355 100644 --- a/tests/zarr/spec/invalid/plate/non_alphanumeric_column.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/non_alphanumeric_column.ome.zarr/zarr.json @@ -28,7 +28,8 @@ "schema": { "id": "" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/non_integer_acquisition_id.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/non_integer_acquisition_id.ome.zarr/zarr.json index a8c8b136..21d5ba2c 100644 --- a/tests/zarr/spec/invalid/plate/non_integer_acquisition_id.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/non_integer_acquisition_id.ome.zarr/zarr.json @@ -33,7 +33,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.ome.zarr/zarr.json index 3b7406eb..d69e666f 100644 --- a/tests/zarr/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/non_integer_acquisition_maximumfieldcount.ome.zarr/zarr.json @@ -34,7 +34,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/well_1group.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/well_1group.ome.zarr/zarr.json index 21329407..bbfecc3f 100644 --- a/tests/zarr/spec/invalid/plate/well_1group.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/well_1group.ome.zarr/zarr.json @@ -27,7 +27,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/well_3groups.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/well_3groups.ome.zarr/zarr.json index 0f17e8e6..e443cfd1 100644 --- a/tests/zarr/spec/invalid/plate/well_3groups.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/well_3groups.ome.zarr/zarr.json @@ -27,7 +27,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/plate/zero_field_count.ome.zarr/zarr.json b/tests/zarr/spec/invalid/plate/zero_field_count.ome.zarr/zarr.json index f7cf0770..ccca5776 100644 --- a/tests/zarr/spec/invalid/plate/zero_field_count.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/plate/zero_field_count.ome.zarr/zarr.json @@ -29,7 +29,8 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: " + "description": "Tests for the plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/well/duplicate_images.ome.zarr/zarr.json b/tests/zarr/spec/invalid/well/duplicate_images.ome.zarr/zarr.json index e673272c..1d643118 100644 --- a/tests/zarr/spec/invalid/well/duplicate_images.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/well/duplicate_images.ome.zarr/zarr.json @@ -16,7 +16,8 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/well/empty_images.ome.zarr/zarr.json b/tests/zarr/spec/invalid/well/empty_images.ome.zarr/zarr.json index e76374be..8b5bacb9 100644 --- a/tests/zarr/spec/invalid/well/empty_images.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/well/empty_images.ome.zarr/zarr.json @@ -9,7 +9,8 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/spec/invalid/well/non_integer_acquisition_id.ome.zarr/zarr.json b/tests/zarr/spec/invalid/well/non_integer_acquisition_id.ome.zarr/zarr.json index 48e25dc6..45fcf75d 100644 --- a/tests/zarr/spec/invalid/well/non_integer_acquisition_id.ome.zarr/zarr.json +++ b/tests/zarr/spec/invalid/well/non_integer_acquisition_id.ome.zarr/zarr.json @@ -14,7 +14,8 @@ "schema": { "id": "schemas/well.schema" }, - "description": "Tests for the well JSON schema: " + "description": "Tests for the well JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/strict/invalid/label/no_colors.ome.zarr/zarr.json b/tests/zarr/strict/invalid/label/no_colors.ome.zarr/zarr.json index de9c608c..7ca473ad 100644 --- a/tests/zarr/strict/invalid/label/no_colors.ome.zarr/zarr.json +++ b/tests/zarr/strict/invalid/label/no_colors.ome.zarr/zarr.json @@ -10,7 +10,8 @@ "schema": { "id": "schemas/strict_label.schema" }, - "description": "Tests for the strict image-label JSON schema: " + "description": "Tests for the strict image-label JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/strict/invalid/plate/missing_acquisition_maximumfieldcount.ome.zarr/zarr.json b/tests/zarr/strict/invalid/plate/missing_acquisition_maximumfieldcount.ome.zarr/zarr.json index 993c7b37..a85154e4 100644 --- a/tests/zarr/strict/invalid/plate/missing_acquisition_maximumfieldcount.ome.zarr/zarr.json +++ b/tests/zarr/strict/invalid/plate/missing_acquisition_maximumfieldcount.ome.zarr/zarr.json @@ -35,7 +35,8 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/strict/invalid/plate/missing_acquisition_name.ome.zarr/zarr.json b/tests/zarr/strict/invalid/plate/missing_acquisition_name.ome.zarr/zarr.json index 47359ab3..2b0b0c36 100644 --- a/tests/zarr/strict/invalid/plate/missing_acquisition_name.ome.zarr/zarr.json +++ b/tests/zarr/strict/invalid/plate/missing_acquisition_name.ome.zarr/zarr.json @@ -35,7 +35,8 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } } \ No newline at end of file diff --git a/tests/zarr/strict/invalid/plate/missing_name.ome.zarr/zarr.json b/tests/zarr/strict/invalid/plate/missing_name.ome.zarr/zarr.json index 3fa24271..09df63a8 100644 --- a/tests/zarr/strict/invalid/plate/missing_name.ome.zarr/zarr.json +++ b/tests/zarr/strict/invalid/plate/missing_name.ome.zarr/zarr.json @@ -28,7 +28,8 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "valid": false } } } \ No newline at end of file From 1258c25e06d800bd86dad82e0ebf671e1918fa72 Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:22:49 +0100 Subject: [PATCH 4/6] add strict/valid fields to conformance json object --- .../spec/invalid/image/empty_transformations.json | 6 +++--- tests/attributes/spec/valid/image/custom_type_axes.json | 2 +- tests/attributes/spec/valid/plate/minimal_acquisitions.json | 3 +-- tests/attributes/strict/invalid/label/no_colors.json | 3 ++- .../plate/missing_acquisition_maximumfieldcount.json | 3 ++- .../strict/invalid/plate/missing_acquisition_name.json | 3 ++- tests/attributes/strict/invalid/plate/missing_name.json | 3 ++- tests/attributes/strict/valid/image/image.json | 3 ++- tests/attributes/strict/valid/image/image_metadata.json | 3 ++- tests/attributes/strict/valid/image/image_omero.json | 3 ++- .../attributes/strict/valid/image/multiscales_example.json | 3 ++- .../strict/valid/image/multiscales_transformations.json | 3 ++- .../attributes/strict/valid/plate/strict_acquisitions.json | 3 ++- .../strict/valid/plate/strict_no_acquisitions.json | 3 ++- tests/attributes/strict/valid/well/strict_acquisitions.json | 3 ++- .../strict/valid/well/strict_no_acquisitions.json | 3 ++- 16 files changed, 31 insertions(+), 19 deletions(-) diff --git a/tests/attributes/spec/invalid/image/empty_transformations.json b/tests/attributes/spec/invalid/image/empty_transformations.json index b4c5d967..fb27049a 100644 --- a/tests/attributes/spec/invalid/image/empty_transformations.json +++ b/tests/attributes/spec/invalid/image/empty_transformations.json @@ -32,7 +32,7 @@ "_conformance": { "schema": { "id": "schemas/image.schema" - } - }, - "valid": false + }, + "valid": false + } } \ No newline at end of file diff --git a/tests/attributes/spec/valid/image/custom_type_axes.json b/tests/attributes/spec/valid/image/custom_type_axes.json index 594046b2..afad10fb 100644 --- a/tests/attributes/spec/valid/image/custom_type_axes.json +++ b/tests/attributes/spec/valid/image/custom_type_axes.json @@ -1,6 +1,6 @@ { "ome": { - "version": "0.6.dev22", + "version": "0.6.dev2", "multiscales": [ { "coordinateSystems": [ diff --git a/tests/attributes/spec/valid/plate/minimal_acquisitions.json b/tests/attributes/spec/valid/plate/minimal_acquisitions.json index 6b9d798f..5c98cf35 100644 --- a/tests/attributes/spec/valid/plate/minimal_acquisitions.json +++ b/tests/attributes/spec/valid/plate/minimal_acquisitions.json @@ -30,7 +30,6 @@ "schema": { "id": "schemas/plate.schema" }, - "description": "Tests for the plate JSON schema: ", - "valid": false + "description": "Tests for the plate JSON schema: " } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/label/no_colors.json b/tests/attributes/strict/invalid/label/no_colors.json index 08ba4e66..8b5788fe 100644 --- a/tests/attributes/strict/invalid/label/no_colors.json +++ b/tests/attributes/strict/invalid/label/no_colors.json @@ -8,6 +8,7 @@ "id": "schemas/strict_label.schema" }, "description": "Tests for the strict image-label JSON schema: ", - "valid": false + "valid": false, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json b/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json index 4ab057e1..960bf690 100644 --- a/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json +++ b/tests/attributes/strict/invalid/plate/missing_acquisition_maximumfieldcount.json @@ -33,6 +33,7 @@ "id": "schemas/strict_plate.schema" }, "description": "Tests for the strict plate JSON schema: ", - "valid": false + "valid": false, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_acquisition_name.json b/tests/attributes/strict/invalid/plate/missing_acquisition_name.json index f5925f0b..bb97baf8 100644 --- a/tests/attributes/strict/invalid/plate/missing_acquisition_name.json +++ b/tests/attributes/strict/invalid/plate/missing_acquisition_name.json @@ -33,6 +33,7 @@ "id": "schemas/strict_plate.schema" }, "description": "Tests for the strict plate JSON schema: ", - "valid": false + "valid": false, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/invalid/plate/missing_name.json b/tests/attributes/strict/invalid/plate/missing_name.json index 39e777d6..fcd4e5cb 100644 --- a/tests/attributes/strict/invalid/plate/missing_name.json +++ b/tests/attributes/strict/invalid/plate/missing_name.json @@ -26,6 +26,7 @@ "id": "schemas/strict_plate.schema" }, "description": "Tests for the strict plate JSON schema: ", - "valid": false + "valid": false, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/image/image.json b/tests/attributes/strict/valid/image/image.json index 30a7d181..5a356acd 100644 --- a/tests/attributes/strict/valid/image/image.json +++ b/tests/attributes/strict/valid/image/image.json @@ -47,6 +47,7 @@ "_conformance": { "schema": { "id": "schemas/strict_image.schema" - } + }, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/image/image_metadata.json b/tests/attributes/strict/valid/image/image_metadata.json index 8bfbd253..07aae3fe 100644 --- a/tests/attributes/strict/valid/image/image_metadata.json +++ b/tests/attributes/strict/valid/image/image_metadata.json @@ -58,6 +58,7 @@ "_conformance": { "schema": { "id": "schemas/strict_image.schema" - } + }, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/image/image_omero.json b/tests/attributes/strict/valid/image/image_omero.json index 20913cd6..ecd3951a 100644 --- a/tests/attributes/strict/valid/image/image_omero.json +++ b/tests/attributes/strict/valid/image/image_omero.json @@ -161,6 +161,7 @@ "_conformance": { "schema": { "id": "schemas/strict_image.schema" - } + }, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/image/multiscales_example.json b/tests/attributes/strict/valid/image/multiscales_example.json index b31ea4d3..e15aec8d 100644 --- a/tests/attributes/strict/valid/image/multiscales_example.json +++ b/tests/attributes/strict/valid/image/multiscales_example.json @@ -147,6 +147,7 @@ "_conformance": { "schema": { "id": "schemas/strict_image.schema" - } + }, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/image/multiscales_transformations.json b/tests/attributes/strict/valid/image/multiscales_transformations.json index 1c01493b..979f8427 100644 --- a/tests/attributes/strict/valid/image/multiscales_transformations.json +++ b/tests/attributes/strict/valid/image/multiscales_transformations.json @@ -73,6 +73,7 @@ "_conformance": { "schema": { "id": "schemas/strict_image.schema" - } + }, + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/plate/strict_acquisitions.json b/tests/attributes/strict/valid/plate/strict_acquisitions.json index 61d6cde1..2102142f 100644 --- a/tests/attributes/strict/valid/plate/strict_acquisitions.json +++ b/tests/attributes/strict/valid/plate/strict_acquisitions.json @@ -33,6 +33,7 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/plate/strict_no_acquisitions.json b/tests/attributes/strict/valid/plate/strict_no_acquisitions.json index da63097d..3d67870e 100644 --- a/tests/attributes/strict/valid/plate/strict_no_acquisitions.json +++ b/tests/attributes/strict/valid/plate/strict_no_acquisitions.json @@ -26,6 +26,7 @@ "schema": { "id": "schemas/strict_plate.schema" }, - "description": "Tests for the strict plate JSON schema: " + "description": "Tests for the strict plate JSON schema: ", + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/well/strict_acquisitions.json b/tests/attributes/strict/valid/well/strict_acquisitions.json index 06932128..bec64f28 100644 --- a/tests/attributes/strict/valid/well/strict_acquisitions.json +++ b/tests/attributes/strict/valid/well/strict_acquisitions.json @@ -14,6 +14,7 @@ "schema": { "id": "schemas/strict_well.schema" }, - "description": "Tests for the strict well JSON schema: " + "description": "Tests for the strict well JSON schema: ", + "strict": true } } \ No newline at end of file diff --git a/tests/attributes/strict/valid/well/strict_no_acquisitions.json b/tests/attributes/strict/valid/well/strict_no_acquisitions.json index 989def6b..6c98269c 100644 --- a/tests/attributes/strict/valid/well/strict_no_acquisitions.json +++ b/tests/attributes/strict/valid/well/strict_no_acquisitions.json @@ -13,6 +13,7 @@ "schema": { "id": "schemas/strict_well.schema" }, - "description": "Tests for the strict well JSON schema: " + "description": "Tests for the strict well JSON schema: ", + "strict": true } } \ No newline at end of file From 1c9c63a789c455bb29b1146401021f0b055217dd Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:23:01 +0100 Subject: [PATCH 5/6] remove unused main --- tests/test_attributes.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_attributes.py b/tests/test_attributes.py index 406aaefc..8e1e51b1 100644 --- a/tests/test_attributes.py +++ b/tests/test_attributes.py @@ -70,7 +70,3 @@ def test_attributes(case_fname: Path): else: with pytest.raises(ValidationError): validator.validate(case_obj) - - -if __name__ == '__main__': - pytest.main([__file__]) \ No newline at end of file From 99869e69ef684f02acf8f0723712d5f1e6a6a9a7 Mon Sep 17 00:00:00 2001 From: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:07:51 +0100 Subject: [PATCH 6/6] remove suite tests --- tests/image_suite.json | 1216 --------------------------------- tests/label_suite.json | 158 ----- tests/plate_suite.json | 883 ------------------------ tests/strict_image_suite.json | 463 ------------- tests/strict_label_suite.json | 18 - tests/strict_plate_suite.json | 171 ----- tests/strict_well_suite.json | 41 -- tests/well_suite.json | 80 --- 8 files changed, 3030 deletions(-) delete mode 100644 tests/image_suite.json delete mode 100644 tests/label_suite.json delete mode 100644 tests/plate_suite.json delete mode 100644 tests/strict_image_suite.json delete mode 100644 tests/strict_label_suite.json delete mode 100644 tests/strict_plate_suite.json delete mode 100644 tests/strict_well_suite.json delete mode 100644 tests/well_suite.json diff --git a/tests/image_suite.json b/tests/image_suite.json deleted file mode 100644 index 71d099ef..00000000 --- a/tests/image_suite.json +++ /dev/null @@ -1,1216 +0,0 @@ -{ - "description": "TBD", - "schema": { - "id": "schemas/image.schema" - }, - "tests": [ - { - "formerly": "valid/mismatch_axes_units.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "t", - "type": "time", - "unit": "micrometer" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [0.13, 0.13], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid/untyped_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "angle" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 1], - "input": "0", - "output": "intrinsic", - "type": "scale" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid/invalid_axis_units.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micron" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [0.13, 0.13], - "input": "0", - "output": "intrinsic", - "type": "scale" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid/missing_name.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "datasets": [ - { - "path": "path/to/0", - "coordinateTransformations": [ - { - "type": "scale", - "scale": [1, 1], - "input": "path/to/0", - "output": "intrinsic" - } - ] - } - ], - "type": "gaussian", - "metadata": { - "method": "skimage.transform.pyramid_gaussian", - "version": "0.16.1", - "args": ["true", "false"], - "kwargs": { - "multichannel": true - } - }, - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid/custom_type_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "angle", - "type": "custom" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 1], - "input": "0", - "output": "intrinsic", - "type": "scale" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "invalid/duplicate_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "x", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_space_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "t", - "type": "time" - }, - { - "name": "c", - "type": "channel" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_transformation_type.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "translation", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_scale.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "translation": [1, 1], - "type": "translation", - "input": "0", - "output": "intrinsice" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/too_many_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "angle", - "type": "custom" - }, - { - "name": "t", - "type": "time" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "z", - "type": "space" - }, - { - "name": "y", - "type": "space" - }, - { - "name": "x", - "type": "space" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 1, 1, 1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_channels_color.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ], - "omero": { - "channels": [ - { - "active": true, - "coefficient": 1.0, - "color": 255, - "family": "linear", - "label": "1234", - "window": { - "end": 1765.0, - "max": 2555.0, - "min": 5.0, - "start": 0.0 - } - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_axes_name.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "type": "space", - "unit": "micrometer" - }, - { - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [0.13, 0.13], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_axes_count.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/one_space_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "t", - "type": "time" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "x", - "type": "space" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_path.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": 0, - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": 0, - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_multiscales_transformations.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ], - "coordinateTransformations": [ - { - "scale": ["invalid"], - "type": "scale" - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_transformations.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0" - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/no_datasets.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_datasets.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_axis_type.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "invalid", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/duplicate_scale.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - }, - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/no_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "axes": [], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/too_many_space_axes.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "X", - "type": "space" - }, - { - "name": "z", - "type": "space" - }, - { - "name": "y", - "type": "space" - }, - { - "name": "x", - "type": "space" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/no_multiscales.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [] - } - }, - "valid": false - }, - { - "formerly": "invalid/invalid_channels_window.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ], - "omero": { - "channels": [ - { - "active": true, - "coefficient": 1.0, - "color": "ff0000", - "family": "linear", - "label": "1234", - "window": { - "end": "100", - "max": 2555.0, - "min": 5.0, - "start": 0.0 - } - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "invalid/empty_transformations.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ] - , - "datasets": [ - { - "path": "0", - "coordinateTransformations": [] - } - ] - } - ] - } - }, - "valid": false - }, - { - "formerly": "invalid/missing_path.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "intrinsic", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "intrinsic" - } - ] - } - ] - } - ] - } - }, - "valid": false - } - ] -} diff --git a/tests/label_suite.json b/tests/label_suite.json deleted file mode 100644 index 493431a5..00000000 --- a/tests/label_suite.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "description": "Tests for the image-label JSON schema", - "schema": { - "id": "schemas/label.schema" - }, - "tests": [ - { - "formerly": "image-label/minimal", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "label-value": 1, - "rgba": [0, 0, 0, 0] - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "image-label/minimal_properties", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "label-value": 1, - "rgba": [0, 0, 0, 0] - } - ], - "properties": [ - { - "label-value": 1 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "image-label/empty_colors", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/empty_properties", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "properties": [] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/colors_no_label_value", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "rgba": [0, 0, 0, 0] - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/properties_no_label_value", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "properties": [ - { - "value": "foo" - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/colors_rgba_length", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "label-value": 1, - "rgba": [0, 0, 0] - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/colors_rgba_type", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "label-value": 1, - "rgba": [0, 0, 0, 500] - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "image-label/colors_duplicate", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": { - "colors": [ - { - "label-value": 1, - "rgba": [0, 0, 0, 0] - }, - { - "label-value": 1, - "rgba": [0, 0, 0, 0] - } - ] - } - } - }, - "valid": false - } - ] -} diff --git a/tests/plate_suite.json b/tests/plate_suite.json deleted file mode 100644 index c8c9cd71..00000000 --- a/tests/plate_suite.json +++ /dev/null @@ -1,883 +0,0 @@ -{ - "description": "Tests for the plate JSON schema", - "schema": { - "id": "schemas/plate.schema" - }, - "tests": [ - { - "formerly": "plate/minimal_no_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/minimal_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/missing_rows", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/empty_rows", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/duplicate_rows", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - }, - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_columns", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/empty_columns", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/duplicate_columns", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - }, - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_wells", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/empty_wells", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": {} - } - } - }, - "valid": false - }, - { - "formerly": "plate/duplicate_rows", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - }, - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - }, - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_column_name", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "concentration": 10 - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_row_name", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "concentration": 10 - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_well_path", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_well_rowIndex", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_well_columnIndex", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/well_1group", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A1", - "rowIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/well_3groups", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "plate/A/1", - "rowIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/non_alphanumeric_column", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A-1" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A-1/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/non_alphanumeric_row", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "A1" - } - ], - "wells": [ - { - "path": "A/A1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/missing_acquisition_id", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "maximumfieldcount": 1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/non_integer_acquisition_id", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": "0" - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/negative_acquisition_id", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": -1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/non_integer_acquisition_maximumfieldcount", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "maximumfieldcount": "0" - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/acquisition_zero_maximumfieldcount", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "maximumfieldcount": 0 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/acquisition_noninteger_starttime", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "starttime": "2022-05-13T13:48:06+00:00" - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/acquisition_negative_starttime", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "starttime": -1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/acquisition_noninteger_endtime", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "endtime": "2022-05-13T13:48:06+00:00" - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/negative_endtime", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "endtime": -1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/zero_field_count", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "field_count": 0, - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - } - ] -} diff --git a/tests/strict_image_suite.json b/tests/strict_image_suite.json deleted file mode 100644 index e0a335c5..00000000 --- a/tests/strict_image_suite.json +++ /dev/null @@ -1,463 +0,0 @@ -{ - "description": "TBD", - "schema": { - "id": "schemas/strict_image.schema" - }, - "tests": [ - { - "formerly": "valid_strict/multiscales_example.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "name": "example", - "coordinateSystems": [ - { - "name": "world", - "axes": [ - { - "name": "t", - "type": "time", - "unit": "millisecond" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "z", - "type": "space", - "unit": "micrometer" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - }, - { - "name": "intrinsic", - "axes": [ - { - "name": "t", - "type": "time", - "unit": "millisecond" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "z", - "type": "space", - "unit": "micrometer" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ] - , - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "type": "scale", - "scale": [1.0, 1.0, 0.5, 0.5, 0.5], - "input": "0", - "output": "intrinsic" - } - ] - }, - { - "path": "1", - "coordinateTransformations": [ - { - "type": "scale", - "scale": [1.0, 1.0, 1.0, 1.0, 1.0], - "input": "1", - "output": "intrinsic" - } - ] - }, - { - "path": "2", - "coordinateTransformations": [ - { - "type": "scale", - "scale": [1.0, 1.0, 2.0, 2.0, 2.0], - "input": "2", - "output": "intrinsic" - } - ] - } - ], - "coordinateTransformations": [ - { - "type": "scale", - "scale": [0.1, 1.0, 1.0, 1.0, 1.0], - "input": "world", - "output": "intrinsic" - } - ], - "type": "gaussian", - "metadata": { - "description": "the fields in metadata depend on the downscaling implementation. Here, the parameters passed to the skimage function are given", - "method": "skimage.transform.pyramid_gaussian", - "version": "0.16.1", - "args": "[true]", - "kwargs": { - "multichannel": true - } - } - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid_strict/multiscales_transformations.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "world", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - }, - { - "name": "physical", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "physical" - } - ] - } - ], - "coordinateTransformations": [ - { - "scale": [10, 10], - "type": "scale", - "input": "physical", - "output": "world" - } - ], - "name": "image_with_coordinateTransformations", - "type": "foo", - "metadata": { - "key": "value" - } - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid_strict/image_metadata.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "@id": "top", - "@type": "ngff:Image", - "multiscales": [ - { - "@id": "inner", - "name": "example", - "datasets": [ - { - "path": "path/to/0", - "coordinateTransformations": [ - { - "type": "scale", - "scale": [1, 1], - "input": "path/to/0", - "output": "physical" - } - ] - } - ], - "type": "gaussian", - "metadata": { - "method": "skimage.transform.pyramid_gaussian", - "version": "0.16.1", - "args": ["true", "false"], - "kwargs": { - "multichannel": true - } - }, - "coordinateSystems": [ - { - "name": "physical", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ] - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid_strict/image.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "physical", - "axes": [ - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1], - "type": "scale", - "input": "0", - "output": "physical" - } - ] - } - ], - "name": "simple_image", - "type": "foo", - "metadata": { - "key": "value" - } - } - ] - } - }, - "valid": true - }, - { - "formerly": "valid_strict/image_omero.json", - "description": "TBD", - "data": { - "ome": { - "version": "0.6.dev2", - "multiscales": [ - { - "coordinateSystems": [ - { - "name": "world", - "axes": [ - { - "name": "t", - "type": "time" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "z", - "type": "space", - "unit": "micrometer" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - }, - { - "name": "physical", - "axes": [ - { - "name": "t", - "type": "time" - }, - { - "name": "c", - "type": "channel" - }, - { - "name": "z", - "type": "space", - "unit": "micrometer" - }, - { - "name": "y", - "type": "space", - "unit": "micrometer" - }, - { - "name": "x", - "type": "space", - "unit": "micrometer" - } - ] - } - ], - "datasets": [ - { - "path": "0", - "coordinateTransformations": [ - { - "scale": [1, 1, 0.5, 0.13, 0.13], - "type": "scale", - "input": "0", - "output": "physical" - } - ] - }, - { - "path": "1", - "coordinateTransformations": [ - { - "scale": [1, 1, 1, 0.26, 0.26], - "type": "scale", - "input": "1", - "output": "physical" - } - ] - } - ], - "coordinateTransformations": [ - { - "translation": [0, 9, 0.5, 25.74, 21.58], - "type": "translation", - "input": "intrinsic", - "output": "world" - } - ], - "name": "image_with_omero_metadata", - "type": "foo", - "metadata": { - "key": "value" - } - } - ], - "omero": { - "channels": [ - { - "active": true, - "coefficient": 1.0, - "color": "00FF00", - "family": "linear", - "inverted": false, - "label": "FITC", - "window": { - "end": 813.0, - "max": 870.0, - "min": 102.0, - "start": 82.0 - } - }, - { - "active": true, - "coefficient": 1.0, - "color": "FF0000", - "family": "linear", - "inverted": false, - "label": "RD-TR-PE", - "window": { - "end": 815.0, - "max": 441.0, - "min": 129.0, - "start": 78.0 - } - } - ], - "id": 1, - "rdefs": { - "defaultT": 0, - "defaultZ": 2, - "model": "color" - }, - "version": "0.6.dev2" - } - } - }, - "valid": true - } - ] -} diff --git a/tests/strict_label_suite.json b/tests/strict_label_suite.json deleted file mode 100644 index 2e52fea6..00000000 --- a/tests/strict_label_suite.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "description": "Tests for the strict image-label JSON schema", - "schema": { - "id": "schemas/strict_label.schema" - }, - "tests": [ - { - "formerly": "image-label/no_colors", - "data": { - "ome": { - "version": "0.6.dev2", - "image-label": {} - } - }, - "valid": false - } - ] -} diff --git a/tests/strict_plate_suite.json b/tests/strict_plate_suite.json deleted file mode 100644 index 1537ec9d..00000000 --- a/tests/strict_plate_suite.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "description": "Tests for the strict plate JSON schema", - "schema": { - "id": "schemas/strict_plate.schema" - }, - "tests": [ - { - "formerly": "plate/strict_no_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "name": "test plate", - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/missing_name", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "columns": [ - { - "name": "A" - } - ], - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/strict_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "name": "0", - "maximumfieldcount": 1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "name": "test plate", - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/missing_acquisition_name", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "maximumfieldcount": 1 - } - ], - "columns": [ - { - "name": "A" - } - ], - "name": "test plate", - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - }, - { - "formerly": "plate/missing_acquisition_maximumfieldcount", - "data": { - "ome": { - "version": "0.6.dev2", - "plate": { - "acquisitions": [ - { - "id": 0, - "name": "0" - } - ], - "columns": [ - { - "name": "A" - } - ], - "name": "test plate", - "rows": [ - { - "name": "1" - } - ], - "wells": [ - { - "path": "A/1", - "rowIndex": 0, - "columnIndex": 0 - } - ] - } - } - }, - "valid": false - } - ] -} diff --git a/tests/strict_well_suite.json b/tests/strict_well_suite.json deleted file mode 100644 index 4f0c92de..00000000 --- a/tests/strict_well_suite.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "description": "Tests for the strict well JSON schema", - "schema": { - "id": "schemas/strict_well.schema" - }, - "tests": [ - { - "formerly": "well/strict_no_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "well": { - "images": [ - { - "path": "0" - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "plate/strict_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "well": { - "images": [ - { - "acquisition": 0, - "path": "0" - } - ] - } - } - }, - "valid": true - } - ] -} diff --git a/tests/well_suite.json b/tests/well_suite.json deleted file mode 100644 index 6dccd3ba..00000000 --- a/tests/well_suite.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "description": "Tests for the well JSON schema", - "schema": { - "id": "schemas/well.schema" - }, - "tests": [ - { - "formerly": "well/minimal_no_acquisition", - "data": { - "ome": { - "version": "0.6.dev2", - "well": { - "images": [ - { - "path": "0" - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "well/minimal_acquisitions", - "data": { - "ome": { - "version": "0.6.dev2", - "well": { - "images": [ - { - "acquisition": 1, - "path": "0" - } - ] - } - } - }, - "valid": true - }, - { - "formerly": "well/empty_images", - "data": { - "well": { - "images": [] - } - }, - "valid": false - }, - { - "formerly": "well/duplicate_images", - "data": { - "well": { - "images": [ - { - "path": "0" - }, - { - "path": "0" - } - ] - } - }, - "valid": false - }, - { - "formerly": "well/non_integer_acquisition_id", - "data": { - "well": { - "images": [ - { - "acquisition": "0", - "path": "0" - } - ] - } - }, - "valid": false - } - ] -}