Skip to content

Commit 4b0582e

Browse files
authored
Merge branch 'main' into omero_metadata_optional
2 parents da24b78 + f7da49b commit 4b0582e

2 files changed

Lines changed: 9 additions & 15 deletions

File tree

index.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ short_title: OME-Zarr
44
---
55

66
# 🚧 Dev: 0.6.dev3 🚧
7-
(ngff-spec:spec:head)=
7+
(ngff-spec:spec:0.6.dev3)=
88

99
**Feedback:** [Forum](https://forum.image.sc/tag/ome-ngff), [Github](https://github.com/ome/ngff/issues)
1010

@@ -145,11 +145,11 @@ A well group SHOULD NOT be present if there are no images in the well.
145145
The "OME-Zarr Metadata" contains metadata keys as specified below for discovering certain types of data, especially images.
146146

147147
The OME-Zarr Metadata is stored in the various `zarr.json` files throughout the above array hierarchy.
148-
In this file, the metadata is stored under the namespaced key `ome` in `attributes`.
149-
The version of the OME-Zarr Metadata is denoted as a string in the `version` attribute within the `ome` namespace.
150-
151148
The OME-Zarr Metadata version MUST be consistent within a hierarchy.
152149

150+
The group `attributes` MUST contain a key `ome`. The value of the `ome` key MUST be a JSON
151+
object that MUST contain a `version` key, the value of which MUST be a string specifying the version of the OME-Zarr specification defined by [this document](ngff-spec:spec:0.6.dev3).
152+
153153
```jsonc
154154
{
155155
// ...
@@ -1584,9 +1584,8 @@ In addition to the `multiscales` key, the OME-Zarr Metadata in this image-level
15841584
whose value is also a JSON object.
15851585
The `image-label` object stores information about the display colors, source image,
15861586
and optionally, further arbitrary properties of the label image.
1587-
That `image-label` object SHOULD contain the following keys: first, a `colors` key,
1587+
That `image-label` object SHOULD contain a `colors` key,
15881588
whose value MUST be a JSON array describing color information for the unique label values.
1589-
Second, a `version` key, whose value MUST be a string specifying the version of the OME-Zarr `image-label` schema.
15901589

15911590
Conforming readers SHOULD display labels using the colors specified by the `colors` JSON array, as follows.
15921591
This array contains one JSON object for each unique custom label.
@@ -1671,11 +1670,8 @@ and MUST NOT be a duplicate of any other `name` in the `rows` array.
16711670
Care SHOULD be taken to avoid collisions on case-insensitive filesystems
16721671
(e.g. avoid using both `Aa` and `aA`).
16731672

1674-
The `plate` object MUST contain a `version` key
1675-
whose value MUST be a string specifying the version of the plate specification.
1676-
1677-
The `plate` object MUST contain a `wells` key
1678-
whose value MUST be an array of JSON objects defining the wells of the plate.
1673+
The `plate` dictionary MUST contain a `wells` key
1674+
whose value MUST be a list of JSON objects defining the wells of the plate.
16791675
Each well object MUST contain a `path` key
16801676
whose value MUST be a string specifying the path to the well subgroup.
16811677
The `path` MUST consist of a `name` in the `rows` array,
@@ -1721,9 +1717,6 @@ If multiple acquisitions were performed in the plate,
17211717
it MUST contain an `acquisition` key whose value MUST be an integer identifying the acquisition
17221718
which MUST match one of the acquisition JSON objects defined in the [plate metadata](#plate-md).
17231719

1724-
The `well` object SHOULD contain a `version` key
1725-
whose value MUST be a string specifying the version of the well specification.
1726-
17271720
:::{dropdown} Example
17281721
For example the following JSON object defines a well with four fields of view.
17291722
The first two fields of view were part of the first acquisition

version_history.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1717

1818
### Removed
1919

20-
- Removed `version` field from `multiscales` metadata in the image schema (`schemas/image.schema`) since it is already required at `ome > version`
20+
- Removed `version` field from `multiscales` metadata in the image schema (`schemas/image.schema`) since it is already required at `ome > version`.
21+
- Removed `version` field from `plate`, `well` and `labels` metadata in the spec document since it is already required at `ome > version`.
2122

2223
## [0.6.dev2] - 2025-12-02
2324

0 commit comments

Comments
 (0)