Skip to content

struct: allow dtype field to be JSON object sans configuration#63

Merged
normanrz merged 2 commits into
zarr-developers:mainfrom
d-v-b:fix-struct-dtype-schema-constraint
Jul 14, 2026
Merged

struct: allow dtype field to be JSON object sans configuration#63
normanrz merged 2 commits into
zarr-developers:mainfrom
d-v-b:fix-struct-dtype-schema-constraint

Conversation

@d-v-b

@d-v-b d-v-b commented May 17, 2026

Copy link
Copy Markdown
Contributor

This change makes the schema permit data types declared in the object-with-no-configuration form, e.g. {"name": "float64"}. Verbose but permitted by the spec.

We can minimize changes like this by settling on reusable JSON schemas for the Zarr v3 spec (xref zarr-developers/zarr-specs#347)

@d-v-b

d-v-b commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

it might be nice to make these changes a bit more auditable -- should we add a revision history to the spec document?

@normanrz

Copy link
Copy Markdown
Member

Feel free to add that to the struct readme.

Assisted-by: ClaudeCode:claude-fable-5
@d-v-b

d-v-b commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Feel free to add that to the struct readme.

done

@normanrz
normanrz merged commit 4da7b37 into zarr-developers:main Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants