+JSON example
+Shortened version from https://fafb-ffn1.storage.googleapis.com/landing.html
+
+{
+ "dimensions": {
+ "x": [
+ 4e-9,
+ "m"
+ ],
+ "y": [
+ 4e-9,
+ "m"
+ ],
+ "z": [
+ 4e-8,
+ "m"
+ ]
+ },
+ "position": [
+ 109421.8984375,
+ 41044.6796875,
+ 5417
+ ],
+ "crossSectionScale": 2.1875,
+ "projectionOrientation": [
+ -0.08939177542924881,
+ -0.9848012924194336,
+ -0.07470247149467468,
+ 0.12882165610790253
+ ],
+ "projectionScale": 27773.019357116023,
+ "layers": [
+ {
+ "type": "image",
+ "source": {
+ "url": "precomputed://gs://neuroglancer-fafb-data/fafb_v14/fafb_v14_orig"
+ },
+ "blend": "default",
+ "name": "fafb_v14",
+ "visible": false
+ },
+ {
+ "type": "image",
+ "source": {
+ "url": "precomputed://gs://neuroglancer-fafb-data/fafb_v14/fafb_v14_clahe"
+ },
+ "blend": "default",
+ "name": "fafb_v14_clahe"
+ },
+ {
+ "type": "segmentation",
+ "source": {
+ "url": "precomputed://gs://fafb-ffn1-20190805/segmentation"
+ },
+ "segments": [
+ "710435991"
+ ],
+ "skeletonRendering": {
+ "mode2d": "lines_and_points",
+ "mode3d": "lines"
+ },
+ "name": "fafb-ffn1-20190805"
+ },
+ ...
+ ],
+ "showAxisLines": false,
+ "showSlices": false,
+ "layout": "xy-3d"
+}
+
+
+
+
+### MoBIE collections
+
+The MoBIE collection table allows users to specify a collection of images and segmentations (label mask images) and configure their rendering.
+
+Each row in the table corresponds to one (single-channel) image or segmentation.
+
+To open multi-channel images the image URI must be added several times and a `channel` column must be added to specify which channel to load.
+
+One can specify an affine transformation for each image.
+
+One can configure a grid layout to render multiple images side-by-side.
+
+The same image can be opened multiple times, with different rendering settings or different transformations.
+
+- [Example table](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/resources/collections/blobs-grid-table.txt)
+- [More example tables](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/resources/collections)
+- [More details](https://mobie.github.io/tutorials/mobie_collection_table.html)
+
+
+### Webknossos datasource-properties.json
+Webknossos uses a JSON format to define "datasets", which is a non-nestable collection of images with some metadata attached. It mirrors some of the OME-Zarr multiscale metadata for compatibility reasons.
+
+
+JSON example
+
+{
+ "id": {
+ "name": "l4_sample3",
+ "team": ""
+ },
+ "dataLayers": [
+ {
+ "name": "color",
+ "category": "color",
+ "boundingBox": {
+ "topLeft": [
+ 3072,
+ 3072,
+ 512
+ ],
+ "width": 1024,
+ "height": 1024,
+ "depth": 1024
+ },
+ "elementClass": "uint8",
+ "mags": [
+ {
+ "mag": [
+ 1,
+ 1,
+ 1
+ ],
+ "path": "./color/1",
+ "axisOrder": {
+ "x": 1,
+ "y": 2,
+ "z": 3,
+ "c": 0
+ },
+ "channelIndex": 0
+ },
+ {
+ "mag": [
+ 2,
+ 2,
+ 1
+ ],
+ "path": "./color/2-2-1",
+ "axisOrder": {
+ "x": 1,
+ "y": 2,
+ "z": 3,
+ "c": 0
+ },
+ "channelIndex": 0
+ }
+ ],
+ "numChannels": 1,
+ "dataFormat": "zarr"
+ },
+ {
+ "name": "segmentation",
+ "boundingBox": {
+ "topLeft": [
+ 3072,
+ 3072,
+ 512
+ ],
+ "width": 1024,
+ "height": 1024,
+ "depth": 1024
+ },
+ "elementClass": "uint32",
+ "mags": [
+ {
+ "mag": [
+ 1,
+ 1,
+ 1
+ ],
+ "path": "./segmentation/1",
+ "axisOrder": {
+ "x": 1,
+ "y": 2,
+ "z": 3,
+ "c": 0
+ },
+ "channelIndex": 0
+ },
+ {
+ "mag": [
+ 2,
+ 2,
+ 1
+ ],
+ "path": "./segmentation/2-2-1",
+ "axisOrder": {
+ "x": 1,
+ "y": 2,
+ "z": 3,
+ "c": 0
+ },
+ "channelIndex": 0
+ }
+ ],
+ "largestSegmentId": 2504697,
+ "numChannels": 1,
+ "dataFormat": "zarr",
+ "category": "segmentation"
+ }
+ ],
+ "scale": {
+ "factor": [
+ 11.24,
+ 11.24,
+ 28
+ ],
+ "unit": "nanometer"
+ }
+}
+
+
+
+### STAC
+from the Geo Community https://stacindex.org/ https://stacspec.org/
+
+### Separate declaration and reference keys
+
+Several existing formats use different keys for declaring an object and for referring to it, as the [declarations](#declaration-interface) and [references](#reference-interface) in this RFC do:
+
+- **[OME-XML](https://www.openmicroscopy.org/Schemas/)** declares objects with an `ID` attribute (e.g. ``) and refers to them with dedicated `…Ref` elements (e.g. ``).
+- **[FHIR](https://hl7.org/fhir/references.html)** declares resources with an `id` and refers to them with a `Reference` data type whose `reference` field names the type and ID of the target (e.g. `"reference": "Patient/123"`).
+- **[STAC](https://github.com/radiantearth/stac-spec)** declares catalogs, collections and items with an `id` and links between them with link objects that carry an `href` and a `rel` describing the relationship.
+
+### BIDS
+https://direct.mit.edu/imag/article/doi/10.1162/imag_a_00103/119672/The-Past-Present-and-Future-of-the-Brain-Imaging
+
+https://github.com/bids-standard/bids-specification-pdf-releases/blob/1.10.0/bids-spec.pdf
+
+People worked on getting ome-zarr into BIDS
+https://github.com/bids-standard/bids-examples/tree/master/micr_XPCTzarr
+
+### OMERO.figure
+OMERO.figure uses a JSON file to specify the layout and rendering settings for images, as well as some info on page(s) layout. Until now, these images are hosted and rendered by OMERO, but support for OME-Zarr images is underway at https://github.com/ome/omero-figure/pull/619. Here, the OMERO Image ID is replaced by an OME-Zarr URL and rendering happens in the browser. See [the demo](https://will-moore.github.io/omero-figure/?file=https://gist.githubusercontent.com/will-moore/fe0e260544b46af6e1e523b288fc85bc/raw/30547e61d4d8753ef0016f0a70435f1aafb43c2f/OMERO.figure_NGFF_demo.json).
+
+The OMERO.figure json format is [described here](https://github.com/ome/omero-figure/blob/master/docs/figure_file_format.rst#json-format).
+
+
+JSON example
+Shortened version from https://gist.githubusercontent.com/will-moore/fe0e260544b46af6e1e523b288fc85bc/raw/30547e61d4d8753ef0016f0a70435f1aafb43c2f/OMERO.figure_NGFF_demo.json
+
+{
+ "panels": [
+ {
+ "x": 32.776939633609516,
+ "y": 299.60384546911166,
+ "width": 157,
+ "height": 160.5839416058394,
+ "zoom": 100,
+ "dx": 0,
+ "dy": 0,
+ "labels": [],
+ "deltaT": [],
+ "rotation": 0,
+ "selected": false,
+ "pixel_size_x_symbol": "µm",
+ "pixel_size_x_unit": "MICROMETER",
+ "rotation_symbol": "°",
+ "max_export_dpi": 1000,
+ "vertical_flip": false,
+ "horizontal_flip": false,
+ "imageId": "https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0062A/6001240.zarr",
+ "name": "6001240.zarr",
+ "sizeZ": 236,
+ "theZ": 118,
+ "sizeT": 1,
+ "theT": 0,
+ "channels": [
+ {
+ "active": true,
+ "coefficient": 1,
+ "color": "0000FF",
+ "family": "linear",
+ "inverted": false,
+ "label": "LaminB1",
+ "window": {
+ "end": 1500,
+ "max": 65535,
+ "min": 0,
+ "start": 0
+ }
+ },
+ {
+ "active": true,
+ "coefficient": 1,
+ "color": "FFFF00",
+ "family": "linear",
+ "inverted": false,
+ "label": "Dapi",
+ "window": {
+ "end": 1500,
+ "max": 65535,
+ "min": 0,
+ "start": 0
+ }
+ }
+ ],
+ "orig_width": 271,
+ "orig_height": 275,
+ "pixelsType": "uint16",
+ "zarr": {
+ // consolidate zarr metadata here
+ }
+ }
+ ]
+}
+
+
+
+### Rust traits
+
+[Traits](#traits), as used in this RFC, were inspired by the [concept of the same name](https://doc.rust-lang.org/book/ch10-02-traits.html) in the Rust programming language.
+
+### Extensions
+
+The design of the [extensibility mechanism](#extensions) was influenced by:
+
+- the [OME-Zarr Extensibility Manifesto](https://github.com/gouttegd/yamf-playground/blob/main/ome-zarr/EXTENSIBILITY_MANIFESTO.md), which is itself the result of a discussion that took place in an OME-Zarr hackathon held in Heidelberg in June 2026; the [“Rationale” section](#rationale-for-ome-zarr-extensions) in the present RFC is essentially a condensed version of that document;
+- the [Proposal for a generic extensibility scheme](https://github.com/gouttegd/yamf-playground/blob/main/EXTENSIBILITY.md) – what this RFC calls a “trait” is essentially what that proposal called a “class extension”.
+
+### Zarr Extensions & Zarr Conventions
+
+The underlying Zarr format has its own mechanisms to support extensibility. Specifically, it has a concept of “Zarr Extensions”, formally defined in the [Zarr specification](https://zarr-specs.readthedocs.io/en/latest/v3/core/index.html#extensions), as well as a concept of [“Zarr Conventions”](https://github.com/zarr-conventions/zarr-conventions-spec/tree/v1), a community-driven initiative to allow defining additional and optional metadata attributes.
+
+Briefly, the most important characteristics of the Zarr-level mechanisms are:
+
+* Zarr Extensions
+ * can only be used at specification-defined extension points;
+ * must be registered into a dedicated GitHub repository prior to being used in any implementation;
+ * may be refused registration at the discretion of the Zarr Format Working Group (ZFWG);
+ * avoid naming conflicts between independently developed extensions through the aforementioned registration step (no one can register an extension with the same name as a previously registered extension).
+* Zarr Conventions
+ * can only define new keys in the `attributes` dictionary (or into subdictionaries within the `attributes` dictionary);
+ * are only intended for optional, safely ignorable data;
+ * do not require any approval and can be freely created by anyone;
+ * must be declared in any Zarr file in which they are used through a dedicated top-level `zarr_conventions` dictionary;
+ * may be registered into a dedicated GitHub repository;
+ * have no mechanisms to avoid naming conflicts between independently developed Zarr Conventions.
+
+Because they are strictly reserved for Zarr-defined extension points, Zarr Extensions were not considered as a possible solution for OME-Zarr extensibility. Basically, Zarr Extensions are for Zarr-defined extension points and OME-Zarr extensions (as defined in the present RFC) are for OME-Zarr-defined extension points; OME-Zarr extensions do _not_ supersede or replace Zarr Extensions, which MUST still be used whenever one wants to extend a Zarr extension point (for example, defining a new Zarr codec CANNOT be done using an OME-Zarr extension).
+
+Zarr Conventions _were_ considered as a candidate mechanism for OME-Zarr extensibility. We rejected them for essentially three reasons: (a) there is a considerable misalignment between Zarr Conventions and our [desired characteristics](#desired-characteristics-for-ome-zarrs-extensibility-mechanism), (b) though it is _not_ listed as a “desired characteristic”, it is our intention that “OME-Zarr extensions” could be used in a broader OME context than just OME-Zarr, which precludes relying on a Zarr-specific mechanism; (c) the stability of the Zarr Conventions specification is unclear, notably as, according to the [governance document](https://github.com/zarr-conventions/zarr-conventions-spec/blob/main/GOVERNANCE.md), the specification of Zarr Conventions can be changed at anytime with the approval of two members of the Zarr Conventions’ “Core Developers Group” (CDG) – we believe that this falls short of the rigorous RFC process used for the OME-Zarr specification.
+
+Regarding point (a) above, the main misalignments were:
+
+**No support for `mustUnderstand`.** Zarr Conventions are explicitly intended for “safely ignorable” data only, and therefore have no mechanisms allowing an extension to self-declare whether it is in fact “safely ignorable” or not.
+
+**No mechanisms to avoid conflicts between independently developed extensions.** Each Zarr Convention has a unique identifier (either a UUID or, in the absence of a UUID, a URL), but the identifier only identifies the Zarr Convention itself – it is not used to distinguish the _keys_ that are defined by the convention. The keys defined by a Zarr Convention are distinguished from keys defined by other Zarr Conventions by either
+
+* a prefix freely chosen by the Zarr Convention’s author, that is prepended to every key;
+* moving all the keys in a subdictionary whose name is itself freely chosen by the Zarr Convention’s author.
+
+It is entirely left to the author of any given Zarr Convention to take care of choosing a prefix (or a subdictionary name) that will not conflict with any other Zarr Convention – something that may be difficult, or even impossible, to achieve given that, though a central registry of Zarr Conventions exists:
+
+* registration is not mandatory;
+* the registry does not allow to query Zarr Conventions by prefix (the “registry” is merely a list of links to GitHub repositories), meaning a Zarr Convention author wishing to check whether the prefix he was planning to use has not already been used (at least in the Zarr Conventions that have been registered) would have to iterate through the `README.md` of every registered Zarr Conventions – impractical and clearly not scalable.
+
+Furthermore, not only the Zarr Conventions specification does not prevent conflicting prefixes (again, leaving that responsibility to each Zarr Convention author), it is also silent as to what should happen when a naming conflict does occur.
+
+For example, if the creator of a Zarr fileset wants to use two Zarr Conventions that happen to use the same prefix (or the same subdictionary name), it is unclear whether (a) this is simply not possible or (b) the creator is allowed to unilaterally change the prefix (or subdictionary name) of one of the two Conventions so that it does not conflict with the other. If (b), then this creates a validation problem because the JSON-Schema that the Zarr Convention may provide to allow validating its data will _not_ be aware of the renaming.
+
+(Incidentally the latter point is an illustration of why trying to use prefixes in JSON as a poor man’s namespacing system is generally a bad idea. Prefixes work as a namespacing system in XML because XML has built-in support for prefixed namespaces; JSON has not.)
+
+Overall, the Zarr Conventions specification seems to have been designed under the optimistic assumption that name conflicts will be infrequent enough that they can safely be left to individual Zarr Conventions’ authors and/or to implementations to deal with. We believe that a proper extensibility system without mandatory central registration should be designed under the pessimistic assumption that name conflicts will happen all the time.
+
+
+
+## Future possibilities
+
+The collections mechanism is a possibility for extending OME-Zarr in a backwards-compatible manner.
+
+Future additions include:
+
+- Additional node types, such as tables, meshes
+- Additional path formats, such as S3 URLs
+- A `source` trait on any node ("derived from"), and a node type for data that is not OME-Zarr (a path, possibly into an archive, and the data's own coordinate systems), so derived images can name what they came from across the format boundary (user stories 3, 9, 11)
+- Traits stating the extent of a node per resolution level and whether absent chunks are unwritten or fill, so sparse and sub-region images render correctly (user story 11)
+- A rule that a node's `id` is the identifier a provenance record (such as the `provenance:` Zarr convention) uses for it, so that process history and node relationships can be joined (user story 11)
+
+Within the collections proposal, there are also opportunities for standardizing further metadata:
+
+- Rendering state
+- Expressing relationships between nodes in a collection
+
+Future work:
+
+- Implementing the [URL pipeline specification](https://github.com/jbms/url-pipeline) proposed by Jeremy Maitin-Shephard
+
+### Extensibility
+
+Future work on the extensibility system will be likely to include:
+
+**Revising the `mustUnderstand` flag.** In particular,
+
+- is a boolean flag enough, or should we allow for more requirement levels?
+- the `mustUnderstand` flag is currently set at the level of an entire extension, and applies to all custom types defined by that extension; should we allow a finer, per-type granularity?
+- is that flag really needed at all?
+
+This will likely happen in future revisions of the present RFC.
+
+**Limiting where specific traits can be used.** In the current proposal, any custom trait can be used on any node. We may consider a system (to be designed) allowing to express constraints about which trait can be used on which node type.
+
+If such a system is thought to be desirable, it will likely be added in future revisions of the present RFC.
+
+**Defining an extension management strategy.** The present RFC is deliberately silent on the issue on _how_ extensions will be managed – it merely defines the extensibility system and states that, on a technical level, anyone can create an extension.
+
+Future RFCs may define a strategy for the community to actually manage the extensions – which will be required to avoid, as much as possible, the uncontrolled proliferation of possibly redundant extensions.
+
+Given that we strongly recommend that extensions are identified by a URI-based identifier, we envision a system where URI namespaces could be used to distinguish between extensions depending on their level of community support. For example, while the general rule would remain that anyone can create an extension, there could be a dedicated namespace (e.g. `https://community-extensions.openmicroscopy.org/`) in which an extension ID can only be minted with some level of approval from the community. How this approval should be sought and granted remains to be defined and is out of scope for the present RFC, but the important point here is that such a strategy can easily be added on top of the mechanism defined here, without requiring any changes to said mechanism – because a “community-approved” extension would _not_, technically, be any different from any other extension.
+
+
+
+## Performance
+
+**Multiple requests to collect metadata.** Assembling a collection from path-referenced nodes requires one metadata request per node (fetching the `zarr.json` of each referenced Zarr group or the standalone JSON file). For large collections or high-latency storage backends (e.g. S3, HTTP), this can result in significant startup latency. Implementations MAY mitigate this by fetching node metadata in parallel and SHOULD consider caching resolved node metadata.
+Writers MAY additionally use Zarr consolidated metadata to bundle the `zarr.json` documents of referenced nodes into the root group, so that readers can load the whole tree in one request (see [Consolidated metadata](#rfcs:rfc8:metadata-storage-consolidated)).
+The individual `zarr.json` files remain the source of truth.
+
+
+
+## Compatibility
+
+### Backwards compatible
+
+The v1.0 goal is to replace the existing labels, HCS and
+bioformats2raw.layout structures with the new extensibility framework. Expressing these data using RFC-8 extensibility framework will be discussed in topic-specific sub-RFCs. See the "Features deferred to subsequent sub-RFC” section for details.
+
+### Forward compatible
+Existing implementations need to be updated to be able to understand the new collection objects.
+
+
+
+## Testing
+
+As part of the changes to the OME-Zarr specification, JSON schema files will be provided that can be used to validate collections metadata.
+Additional link checkers can be used to verify the existence and validity of nodes.
+
+
+
+## Tutorials and Examples
+
+
+
+## Additional considerations
+
+
+
+### Security
+
+This proposal allows collection metadata to reference other metadata documents through `Path` objects.
+The core of this RFC only defines the `relative` path format, which introduces the security considerations below that implementations MUST address.
+
+**Path traversal.** Relative paths (e.g. `../../sensitive/data`) may be used to reference files outside the intended storage scope.
+Implementations SHOULD validate that resolved paths remain within an expected root directory or storage namespace, and MUST NOT follow paths that escape a defined sandbox without explicit user consent.
+
+**Resource exhaustion.** Cyclic or very deeply nested paths may cause implementations to issue an unbounded number of requests.
+Implementations MUST detect cycles as described in [Path resolution](#rfcs:rfc8:path-interface-resolution) and MAY limit the depth to which they resolve nested paths.
+
+
+
+
+
+
+
+
+## Changelog
+
+| Date | Description | Link |
+| - | - | - |
+| 2026-06-03 | RFC assigned and published ([v0](../v0-2026-07/index.md)) | [ome/ngff#343](https://github.com/ome/ngff/pull/343) |
+| 2026-08-25 | Restructured for readability ([v1](../v1-2026-08/index.md)) | [ome/ngff#588](https://github.com/ome/ngff/pull/588) |
+| 2026-10-19 | [Comment 1](../../comments/1/index.md) (J. Nunez-Iglesias) | [ome/ngff#632](https://github.com/ome/ngff/pull/632) |
+| 2026-10-19 | [Comment 2](../../comments/2/index.md) (B. Best) | [ome/ngff#627](https://github.com/ome/ngff/pull/627) |
+| 2026-11-01 | [Comment 3](../../comments/3/index.md) (C. Bevilacqua) | [ome/ngff#647](https://github.com/ome/ngff/pull/647) |
+| 2026-11-17 | Revised in response to the first round of comments ([v2](../v2-2026-11/index.md)) | [ome/ngff#667](https://github.com/ome/ngff/pull/667) |
+
+### Changes from v0 to v1
+
+v1 restructured the document for readability, without changing the proposal.
+The RFC was renamed to "Collections and Extensibility", the Overview and Background were rewritten,
+and the content was regrouped into building blocks, abstract structure, core classes and a single Extensions section,
+followed by the user stories and examples.
+
+### Changes from v1 to v2
+
+v2 addresses the first round of comments, Damien Goutte-Gattat's extensibility proposal and [Comment 2](../../comments/2/index.md).
+
+| Area | v1 | v2 |
+| - | - | - |
+| Node types | `collection`, `multiscale`, `singlescale` | `collection`, `multiscale`. `singlescale` is deferred to a sub-RFC. |
+| Type-specific metadata | `attributes` dictionary | `traits` list of typed objects |
+| Free-form metadata | `attributes` | Removed. Everything beyond the node fields is a trait. |
+| Extensions | Prefixed names (`myorg:foo`) | URI-based types, declared in an `extensionManifest` on the root node |
+| Type tiers | — | Built-in types are core (MUST), recommended (SHOULD) or optional (MAY); custom types start as optional |
+| IDs | Optional on nodes, unique per document | Required on every declaration, unique per document, restricted character set, UUIDv7 recommended if UUIDs are used |
+| Names | Required, unique within the collection | Optional, not required to be unique |
+| `version` | Required on a node used as the root of the `ome` key | Required on the root node only; listed in the node schemas |
+| References | `{"id": …}` | `{"type": …, "ref": …}` with an optional `path`, or a plain ID string where the field fixes the target type |
+| Paths | `{"type": "zarr", "path": …}` | `{"type": "zarr", "format": "relative", "href": …}` |
+| Multiscale layout | `singlescale` child nodes | `data` list of `array` objects with `downsamplingTransformations` |
+| Consolidated metadata | — | Non-normative section: an optional cache for IO performance |
+| HCS, labels, `bioformats2raw.layout`, remote references, snake_case, singlescale, legacy multiscales | In RFC-8 or not covered | Deferred to sub-RFCs |
+
+v2 also:
+
+- Defines the extension manifest, extension schemas (JSON Schema or LinkML) and the `mustUnderstand` flag.
+- Adds rules for path resolution, including cycle detection.
+- Adds user story 11 (training crops), new prior art and abandoned ideas, and future work on extensibility.
+- Adds Damien Goutte-Gattat, Draga Doncila Pop and Juan Nunez-Iglesias as co-authors.