From 13e5fa4c880088d396432f11780c8958fdd982e6 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Sun, 17 May 2026 11:44:10 +0200 Subject: [PATCH 1/2] allow dtype fields to be JSON objects without configuration --- data-types/struct/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-types/struct/schema.json b/data-types/struct/schema.json index a12c92d..471c0ac 100644 --- a/data-types/struct/schema.json +++ b/data-types/struct/schema.json @@ -19,7 +19,7 @@ "type": "object" } }, - "required": ["name", "configuration"], + "required": ["name"], "additionalProperties": false } ] From a70eb95014872006fb5ce45b55f497c3bc8a21e9 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Tue, 14 Jul 2026 13:59:32 +0200 Subject: [PATCH 2/2] docs(struct): add change log entry for relaxed dtype schema Assisted-by: ClaudeCode:claude-fable-5 --- data-types/struct/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data-types/struct/README.md b/data-types/struct/README.md index 2fcefa3..58cce1d 100644 --- a/data-types/struct/README.md +++ b/data-types/struct/README.md @@ -268,7 +268,9 @@ Variable-length codecs (e.g. `vlen-utf8`) are not compatible with the ## Change log -No changes yet. +- Relaxed the JSON schema to permit field data types declared as a JSON + object without a `configuration` key, e.g. `{"name": "float64"}` + ([#63](https://github.com/zarr-developers/zarr-extensions/pull/63)). ## Current maintainers