The array / group metadata classes in zarr-metadata model the required / not required fields in array / group metadata documents. But there are situations where it's useful to mark all fields as not required, e.g. for a function update_metadata(old_metadata: ArrayMetadataV3, changes: ArrayMetadataUpdateV3) -> ArrayMetadataV3, or for cases (often in tests) where you only need to construct a subset of a metadata document.
So zarr-metadata should add variants of the core metadata documents where all fields are NotRequired.
The array / group metadata classes in
zarr-metadatamodel the required / not required fields in array / group metadata documents. But there are situations where it's useful to mark all fields as not required, e.g. for a functionupdate_metadata(old_metadata: ArrayMetadataV3, changes: ArrayMetadataUpdateV3) -> ArrayMetadataV3, or for cases (often in tests) where you only need to construct a subset of a metadata document.So
zarr-metadatashould add variants of the core metadata documents where all fields areNotRequired.