From bf1e0eda0e3ca0e8f195f394996e3eb8ff35b839 Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Thu, 5 Nov 2026 10:05:37 +0100 Subject: [PATCH 1/9] adds RFC-15 --- rfc/15/index.md | 265 ++++++++++++++++++++++++++++++++++++++++++++++++ rfc/index.md | 1 + 2 files changed, 266 insertions(+) create mode 100644 rfc/15/index.md diff --git a/rfc/15/index.md b/rfc/15/index.md new file mode 100644 index 00000000..1bbbd409 --- /dev/null +++ b/rfc/15/index.md @@ -0,0 +1,265 @@ +--- +authors: + - name: Draga Doncila Pop + github: DragaDoncila + affiliation: Image Cooperative, Australia + role: Author + date: "2026-11-04" + - name: Norman Rzepka + github: normanrz + affiliation: scalable minds, Germany + role: Author + date: "2026-11-04" +manual_status: D3 +status_note: authors open PR +description: snake_case naming of metadata fields +date: "2026-11-04" +--- + +# RFC-15: snake_case naming of metadata fields + +(rfcs:rfc15)= + +Use `snake_case` for all multi-word keys in the OME-Zarr metadata, matching the Zarr metadata in the same document. + +## Status + +This RFC is a draft. +Authors are opening a PR (`D3`). + +```{rfc-status} +``` + +## Overview + +The OME-Zarr specification says that multi-word keys should be written in `camelCase` ([naming style](https://ngff.openmicroscopy.org/specifications/dev/index.html#naming-style)). +The specification doesn't follow this rule. +Today it mixes five styles: `camelCase`, `snake_case`, `kebab-case`, all-lowercase run-together words, and dotted names. +The Zarr v3 metadata that sits next to the OME-Zarr metadata in every `zarr.json` uses `snake_case` throughout. + +This RFC proposes `snake_case` as the single naming style for all keys and type identifiers in the OME-Zarr metadata, and renames every key that doesn't follow it. +This is a breaking change. +It is proposed now, before 1.0, so that the names are settled once and stay stable after that. + +## Background + +### Zarr metadata uses snake_case + +Since version 0.5, OME-Zarr metadata is stored under the `ome` key in the `attributes` of a Zarr v3 `zarr.json` document. +The keys that Zarr defines in that same document all use `snake_case`: + +```json +{ + "zarr_format": 3, + "node_type": "array", + "data_type": "uint16", + "chunk_grid": {"name": "regular", "configuration": {"chunk_shape": [1, 64, 64, 64]}}, + "chunk_key_encoding": {"name": "default", "configuration": {"separator": "/"}}, + "fill_value": 0, + "codecs": [{"name": "sharding_indexed", "configuration": {"chunk_shape": [1, 32, 32, 32], "index_location": "end"}}], + "dimension_names": ["c", "z", "y", "x"], + "storage_transformers": [] +} +``` + +Zarr codec and extension names follow the same style, e.g. `sharding_indexed`, `index_codecs` and `index_location`. +A group's `zarr.json` with OME-Zarr metadata therefore mixes `zarr_format` and `node_type` with `coordinateTransformations` and `coordinateSystems` in the same JSON object tree. +People who write and read these files by hand, and libraries that model them, have to remember which part of the document uses which style. + +### The OME-Zarr metadata is not consistent with itself + +Within the OME-Zarr metadata itself, multi-word keys use several styles side by side: `camelCase` (e.g. `coordinateTransformations`), `snake_case` (e.g. `field_count`), run-together lowercase (e.g. `maximumfieldcount`), `kebab-case` (e.g. `label-value`) and dotted names (e.g. `bioformats2raw.layout`). + +The naming-style section of the specification already admits this: "some parts of the specification don't obey this convention as they were added before this was adopted, but they should be updated in due course." +This RFC does that update, but toward `snake_case` instead of `camelCase`. + +The specification has also moved in both directions. +Version 0.6 renamed the `byDimension` fields `input_axes` and `output_axes` to `inputAxes` and `outputAxes`, to be consistent with the other transformations. +A rule that holds for the whole document, including the Zarr part, would end this kind of churn. + +### Implementations + +OME-Zarr is implemented in many languages, e.g. Python, JavaScript and TypeScript, Java, Scala, Rust, C/C++. +These languages have different naming conventions, so no choice of style matches all of them, and the style of the format shouldn't be picked to suit any one language. +What all implementations have in common is that they already read and write the `snake_case` Zarr metadata. +Using the same style for the OME-Zarr metadata doesn't add anything new for them. + +### Related conventions + +Several formats close to OME-Zarr use `snake_case` keys: + +- **Zarr v3**: all core metadata keys, codec names and codec configuration keys. +- **Neuroglancer precomputed** and **TensorStore** specs, e.g. `data_type`, `voxel_offset` and `chunk_sizes`. + +N5 is one example of a related format that uses `camelCase` (`dataType`, `blockSize`). + +## Proposal + +1. All multi-word keys in the OME-Zarr metadata MUST be written in `snake_case`: lowercase ASCII letters and digits, with words separated by a single underscore, i.e. matching `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. +2. The same rule applies to identifiers that the specification defines as values of discriminator fields, e.g. transformation `type` values. +3. Existing keys and identifiers that don't follow this rule are renamed (see [Renaming](#renaming) for examples). +4. The "Specification naming style" section of the specification is replaced with the rule in (1) and (2), using MUST instead of "should". +5. Pending RFCs that add metadata (e.g. RFC-8) MUST use `snake_case` for their new keys. + +## Requirements + +The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [IETF RFC 2119](https://tools.ietf.org/html/rfc2119). + +## Renaming + +Every multi-word key and identifier that isn't already `snake_case` is renamed by splitting it into its words, lowercasing them and joining them with underscores. +Some examples: + +| Current | Proposed | +|---|---| +| `coordinateTransformations` | `coordinate_transformations` | +| `longName` | `long_name` | +| `label-value` | `label_value` | +| `maximumfieldcount` | `maximum_field_count` | +| `byDimension` (transformation type) | `by_dimension` | + +Keys that are already `snake_case` or single words (e.g. `field_count`, `version`, `path`) are not changed. +The full list of renames will be part of the specification change. + +### Not renamed + +- **Transitional metadata.** `bioformats2raw.layout` and the keys inside `omero` (e.g. `defaultT` and `defaultZ` in `rdefs`) are marked as transitional. + They describe data that bioformats2raw and OMERO already produce, and are expected to be replaced rather than developed further. + Renaming them would break existing data for no lasting benefit. +- **Vocabulary values.** Values that are terms from a controlled vocabulary, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), are not identifiers defined by the metadata structure, and keep their current spelling. +- **User-defined keys.** Keys chosen by users, such as the per-label entries in `image-label > properties`, are not covered by this rule. + +## Example + +A multiscale image's group metadata before and after this RFC: + +```json +"ome": { + "version": "0.6", + "multiscales": [{ + "name": "example", + "coordinateSystems": [{ + "name": "physical", + "axes": [ + {"name": "z", "type": "space", "unit": "micrometer", "longName": "depth"}, + {"name": "y", "type": "space", "unit": "micrometer"}, + {"name": "x", "type": "space", "unit": "micrometer"} + ] + }], + "datasets": [{ + "path": "0", + "coordinateTransformations": [{ + "type": "scale", + "scale": [0.5, 0.25, 0.25], + "input": {"path": "0"}, + "output": {"name": "physical"} + }] + }] + }] +} +``` + +```json +"ome": { + "version": "0.x", + "multiscales": [{ + "name": "example", + "coordinate_systems": [{ + "name": "physical", + "axes": [ + {"name": "z", "type": "space", "unit": "micrometer", "long_name": "depth"}, + {"name": "y", "type": "space", "unit": "micrometer"}, + {"name": "x", "type": "space", "unit": "micrometer"} + ] + }], + "datasets": [{ + "path": "0", + "coordinate_transformations": [{ + "type": "scale", + "scale": [0.5, 0.25, 0.25], + "input": {"path": "0"}, + "output": {"name": "physical"} + }] + }] + }] +} +``` + +## Stakeholders + +* Socialization: + * OME-Zarr Hackathon 2027 + +## Implementation + +### Specification + +- Rename the keys and identifiers in the specification text, the tables of fields, and all examples. +- Replace the "Specification naming style" section with the rule from the [Proposal](#proposal). +- Add an entry to the version history listing every rename. + +### Schemas and tests + +- Rename the properties in the JSON schemas. + Internal `$defs` names MAY be renamed for consistency, but aren't part of the metadata. +- Update the conformance examples and test cases. + Add test cases that check that the old spellings are rejected for the new version. + +### Libraries + +The change is a mechanical rename. +Readers that support several versions choose the key names based on `ome > version`. +Writers write the new names when writing the new version. +Converting existing metadata is a key-by-key rename, plus updating `ome > version`, which upgrade tools can implement with a simple lookup table. + +## Drawbacks, risks, alternatives, and unknowns + +### Breaking change + +Every reader and writer has to be updated, and data written with the new version can't be read by tools that only know older versions. +This cost is real, but: + +- The next releases already contain breaking changes (RFC-3, RFC-4, RFC-5), so implementations are being updated anyway. +- The rename is mechanical and doesn't change the meaning of any field. +- Readers already have to branch on `ome > version` to read older data. +- The cost only grows with time. + After 1.0 a change like this would be much harder to justify. + +### Open questions + +- Should the vocabulary values, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), be renamed too? +- Should the transitional `omero` and `bioformats2raw.layout` metadata be renamed too? + +## Abandoned ideas + +### Use camelCase everywhere + +This is what the current naming-style section asks for. +It would also be a breaking change: keys such as `field_count`, `maximumfieldcount` and `label-value` would need renaming. +The size of the change is similar either way. +`snake_case` was chosen because it matches the Zarr metadata that every OME-Zarr document is embedded in. + +### Accept both spellings + +Allowing both `coordinateTransformations` and `coordinate_transformations` within one version would avoid breaking writers, but every reader would have to handle both, and documents with both keys would need rules for which one wins. +A clean rename tied to a version keeps readers simple. + +### Leave the names as they are + +The current mix is the result of history, not design, and the naming-style section already says that it should be fixed. +Leaving it would keep the inconsistency in 1.0 for good. + +## Compatibility + +This change is not backwards compatible. +Documents written with the new version MUST use the new names. +Readers SHOULD NOT accept the old names for the new version. +Readers MAY keep reading older versions with their original names, and upgrade tools MAY convert older metadata to the new names. + +No data in arrays is affected. +Only the JSON metadata changes. + +## Testing + +The JSON schemas and conformance test cases in the specification repository are updated with the renamed keys. +Implementations can check themselves against these test cases. diff --git a/rfc/index.md b/rfc/index.md index 7151e0bc..052e1898 100644 --- a/rfc/index.md +++ b/rfc/index.md @@ -17,6 +17,7 @@ 8/index 9/index 10/index +15/index ``` Requests for comments (RFCs) are used to discuss and capture From 98fe5255eb32a797632d79e3d3496ff24cc025a2 Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Mon, 9 Nov 2026 17:48:24 +0100 Subject: [PATCH 2/9] Apply suggestion from @lubianat Co-authored-by: Tiago Lubiana --- rfc/15/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index 1bbbd409..f4675ec3 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -189,7 +189,7 @@ A multiscale image's group metadata before and after this RFC: * Socialization: * OME-Zarr Hackathon 2027 - + * NGFF issue tracker since October 2025 ([#347](https://github.com/ome/ngff/issues/347)) ## Implementation ### Specification From ff759dadf49e29aefe0bf885ec0da8dc1e5cf4ea Mon Sep 17 00:00:00 2001 From: Tiago Lubiana Date: Mon, 9 Nov 2026 13:55:59 -0300 Subject: [PATCH 3/9] remove two extra spaces --- rfc/15/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index f4675ec3..8e68ae13 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -189,7 +189,7 @@ A multiscale image's group metadata before and after this RFC: * Socialization: * OME-Zarr Hackathon 2027 - * NGFF issue tracker since October 2025 ([#347](https://github.com/ome/ngff/issues/347)) + * NGFF issue tracker since October 2025 ([#347](https://github.com/ome/ngff/issues/347)) ## Implementation ### Specification From 1151f5c5f6a68a2080ec553a65cc30880e1b9fc5 Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Tue, 17 Nov 2026 11:35:49 +0100 Subject: [PATCH 4/9] Apply batched suggestions from code review Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com> --- rfc/15/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index 8e68ae13..472af04f 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -62,20 +62,20 @@ The keys that Zarr defines in that same document all use `snake_case`: } ``` -Zarr codec and extension names follow the same style, e.g. `sharding_indexed`, `index_codecs` and `index_location`. -A group's `zarr.json` with OME-Zarr metadata therefore mixes `zarr_format` and `node_type` with `coordinateTransformations` and `coordinateSystems` in the same JSON object tree. +Zarr codec and extension names also follow the same style, e.g. `sharding_indexed`, `index_codecs` and `index_location`. +An OME-Zarr file's `zarr.json` therefore mixes Zarr identifiers like `zarr_format` and `node_type` with OME-Zarr identifiers like `coordinateTransformations` and `coordinateSystems` in the same JSON object tree. People who write and read these files by hand, and libraries that model them, have to remember which part of the document uses which style. ### The OME-Zarr metadata is not consistent with itself -Within the OME-Zarr metadata itself, multi-word keys use several styles side by side: `camelCase` (e.g. `coordinateTransformations`), `snake_case` (e.g. `field_count`), run-together lowercase (e.g. `maximumfieldcount`), `kebab-case` (e.g. `label-value`) and dotted names (e.g. `bioformats2raw.layout`). +Within the OME-Zarr metadata itself, multi-word keys use several styles side-by-side: `camelCase` (e.g. `coordinateTransformations`), `snake_case` (e.g. `field_count`), run-together lowercase (e.g. `maximumfieldcount`), `kebab-case` (e.g. `label-value`) and dotted names (e.g. `bioformats2raw.layout`). The naming-style section of the specification already admits this: "some parts of the specification don't obey this convention as they were added before this was adopted, but they should be updated in due course." This RFC does that update, but toward `snake_case` instead of `camelCase`. The specification has also moved in both directions. Version 0.6 renamed the `byDimension` fields `input_axes` and `output_axes` to `inputAxes` and `outputAxes`, to be consistent with the other transformations. -A rule that holds for the whole document, including the Zarr part, would end this kind of churn. +A rule that holds for the whole document, including the Zarr part, together with a pre-1.0 comprehensive renaming, would end this kind of churn. ### Implementations @@ -95,7 +95,7 @@ N5 is one example of a related format that uses `camelCase` (`dataType`, `blockS ## Proposal -1. All multi-word keys in the OME-Zarr metadata MUST be written in `snake_case`: lowercase ASCII letters and digits, with words separated by a single underscore, i.e. matching `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. +1. All OME-Zarr metadata multi-word keys under the `ome` key in a `zarr.json` MUST be written in `snake_case`: lowercase ASCII letters and digits, with words separated by a single underscore, i.e. matching `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. 2. The same rule applies to identifiers that the specification defines as values of discriminator fields, e.g. transformation `type` values. 3. Existing keys and identifiers that don't follow this rule are renamed (see [Renaming](#renaming) for examples). 4. The "Specification naming style" section of the specification is replaced with the rule in (1) and (2), using MUST instead of "should". From 7f0fcae9055d317297dc2fa75a40bc2cabf2aa75 Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Tue, 17 Nov 2026 11:37:41 +0100 Subject: [PATCH 5/9] RFC-15: exclude extension-defined keys and identifiers Co-Authored-By: Claude Opus 5.5 --- rfc/15/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rfc/15/index.md b/rfc/15/index.md index 472af04f..6af6c6c2 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -97,6 +97,7 @@ N5 is one example of a related format that uses `camelCase` (`dataType`, `blockS 1. All OME-Zarr metadata multi-word keys under the `ome` key in a `zarr.json` MUST be written in `snake_case`: lowercase ASCII letters and digits, with words separated by a single underscore, i.e. matching `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. 2. The same rule applies to identifiers that the specification defines as values of discriminator fields, e.g. transformation `type` values. + Identifiers defined by extensions are excluded (see [Not renamed](#not-renamed)). 3. Existing keys and identifiers that don't follow this rule are renamed (see [Renaming](#renaming) for examples). 4. The "Specification naming style" section of the specification is replaced with the rule in (1) and (2), using MUST instead of "should". 5. Pending RFCs that add metadata (e.g. RFC-8) MUST use `snake_case` for their new keys. @@ -128,6 +129,8 @@ The full list of renames will be part of the specification change. Renaming them would break existing data for no lasting benefit. - **Vocabulary values.** Values that are terms from a controlled vocabulary, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), are not identifiers defined by the metadata structure, and keep their current spelling. - **User-defined keys.** Keys chosen by users, such as the per-label entries in `image-label > properties`, are not covered by this rule. +- **Extension-defined keys and identifiers.** Keys and identifiers defined by extensions, such as custom transformation or axis types, are not defined by the specification and are not covered by this rule. + Extensions SHOULD follow the same `snake_case` style for consistency. ## Example From 4b0227eb59b46d53935a4bf6d98fa15d24fcd5ff Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Tue, 24 Nov 2026 11:19:21 +0000 Subject: [PATCH 6/9] RFC-15: kebab-case for vocabulary terms, SI spelling for units Co-Authored-By: Claude Opus 5.5 --- rfc/15/index.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index 6af6c6c2..6af3faad 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -98,9 +98,12 @@ N5 is one example of a related format that uses `camelCase` (`dataType`, `blockS 1. All OME-Zarr metadata multi-word keys under the `ome` key in a `zarr.json` MUST be written in `snake_case`: lowercase ASCII letters and digits, with words separated by a single underscore, i.e. matching `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. 2. The same rule applies to identifiers that the specification defines as values of discriminator fields, e.g. transformation `type` values. Identifiers defined by extensions are excluded (see [Not renamed](#not-renamed)). -3. Existing keys and identifiers that don't follow this rule are renamed (see [Renaming](#renaming) for examples). -4. The "Specification naming style" section of the specification is replaced with the rule in (1) and (2), using MUST instead of "should". -5. Pending RFCs that add metadata (e.g. RFC-8) MUST use `snake_case` for their new keys. +3. Values that are terms from a controlled vocabulary defined by the specification, e.g. orientation terms and interpolation methods, are not discriminator identifiers in the sense of (2). + Multi-word vocabulary terms SHOULD be written in `kebab-case`: lowercase ASCII letters and digits, with words separated by a single hyphen, i.e. matching `^[a-z][a-z0-9]*(-[a-z0-9]+)*$`. + Units MUST be spelled according to SI conventions, i.e. as UDUNITS-2 unit names (e.g. `micrometer`, `millisecond`). +4. Existing keys and identifiers that don't follow these rules are renamed (see [Renaming](#renaming) for examples). +5. The "Specification naming style" section of the specification is replaced with the rules in (1), (2) and (3), using MUST instead of "should" for (1) and (2). +6. Pending RFCs that add metadata (e.g. RFC-8) MUST use `snake_case` for their new keys. ## Requirements @@ -127,7 +130,9 @@ The full list of renames will be part of the specification change. - **Transitional metadata.** `bioformats2raw.layout` and the keys inside `omero` (e.g. `defaultT` and `defaultZ` in `rdefs`) are marked as transitional. They describe data that bioformats2raw and OMERO already produce, and are expected to be replaced rather than developed further. Renaming them would break existing data for no lasting benefit. -- **Vocabulary values.** Values that are terms from a controlled vocabulary, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), are not identifiers defined by the metadata structure, and keep their current spelling. +- **Vocabulary values.** Values that are terms from a controlled vocabulary, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), are not identifiers defined by the metadata structure. + They follow the `kebab-case` and SI rules in [Proposal](#proposal) (3), which the existing terms already do, so none of them are renamed. + Unlike keys and `type` values, which implementations typically map to fields or classes, vocabulary terms are usually handled as plain strings, so they don't need to match the `snake_case` of the Zarr metadata. - **User-defined keys.** Keys chosen by users, such as the per-label entries in `image-label > properties`, are not covered by this rule. - **Extension-defined keys and identifiers.** Keys and identifiers defined by extensions, such as custom transformation or axis types, are not defined by the specification and are not covered by this rule. Extensions SHOULD follow the same `snake_case` style for consistency. @@ -198,7 +203,8 @@ A multiscale image's group metadata before and after this RFC: ### Specification - Rename the keys and identifiers in the specification text, the tables of fields, and all examples. -- Replace the "Specification naming style" section with the rule from the [Proposal](#proposal). +- Replace the "Specification naming style" section with the rules from the [Proposal](#proposal). +- Make the interpolation method names consistent with the vocabulary rule, e.g. `windowed sinc` becomes `windowed-sinc`. - Add an entry to the version history listing every rename. ### Schemas and tests @@ -230,7 +236,6 @@ This cost is real, but: ### Open questions -- Should the vocabulary values, such as RFC-4 orientation terms (`left-to-right`), interpolation methods (`bspline-cubic`) and units (`micrometer`), be renamed too? - Should the transitional `omero` and `bioformats2raw.layout` metadata be renamed too? ## Abandoned ideas @@ -242,6 +247,12 @@ It would also be a breaking change: keys such as `field_count`, `maximumfieldcou The size of the change is similar either way. `snake_case` was chosen because it matches the Zarr metadata that every OME-Zarr document is embedded in. +### One style for keys and all values + +Using `snake_case` for vocabulary terms as well (e.g. `left_to_right`), or `kebab-case` for `type` values as well (e.g. `by-dimension`), would give a single style for every string the specification defines. +Discriminator `type` values select which fields an object has and typically map to classes in implementations, like keys do, so they follow the key style, as Zarr's codec names (e.g. `sharding_indexed`) do. +Vocabulary terms are plain string values, the existing terms are already `kebab-case`, and units follow established SI spelling, so renaming them would break data without a clear benefit. + ### Accept both spellings Allowing both `coordinateTransformations` and `coordinate_transformations` within one version would avoid breaking writers, but every reader would have to handle both, and documents with both keys would need rules for which one wins. From 3a56cffcab18f0c1ac4904f268250b089f8d378d Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Tue, 24 Nov 2026 14:30:14 +0000 Subject: [PATCH 7/9] RFC-15: clarify byDimension history and version compatibility Co-Authored-By: Claude Opus 5.5 --- rfc/15/index.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index 6af3faad..9dc5d5a1 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -74,7 +74,7 @@ The naming-style section of the specification already admits this: "some parts o This RFC does that update, but toward `snake_case` instead of `camelCase`. The specification has also moved in both directions. -Version 0.6 renamed the `byDimension` fields `input_axes` and `output_axes` to `inputAxes` and `outputAxes`, to be consistent with the other transformations. +RFC-5 introduced the `byDimension` transformation with the fields `input_axes` and `output_axes`, and they were renamed to `inputAxes` and `outputAxes` when RFC-5 was merged into version 0.6, to be consistent with the other transformations. A rule that holds for the whole document, including the Zarr part, together with a pre-1.0 comprehensive renaming, would end this kind of churn. ### Implementations @@ -266,9 +266,16 @@ Leaving it would keep the inconsistency in 1.0 for good. ## Compatibility This change is not backwards compatible. -Documents written with the new version MUST use the new names. -Readers SHOULD NOT accept the old names for the new version. -Readers MAY keep reading older versions with their original names, and upgrade tools MAY convert older metadata to the new names. +It applies only to the version that adopts it and later versions. +The specifications of earlier versions (0.6 and older) are not changed. + +- For the new version, writers MUST write the new names only, and readers MUST read the new names. + Readers SHOULD NOT accept the old names for the new version. +- For earlier versions, readers and writers MUST keep using the names defined by that version's specification. + Writers MUST NOT write the new names into documents of an earlier version. + +Readers that support several versions MUST choose the names based on `ome > version`. +Upgrade tools that convert older metadata to the new version MUST rename the keys and identifiers to the new names. No data in arrays is affected. Only the JSON metadata changes. From 63914d8a2d52c027d42d51c47fbdf97c7fb8d94a Mon Sep 17 00:00:00 2001 From: Tiago Lubiana Date: Mon, 30 Nov 2026 08:56:49 -0300 Subject: [PATCH 8/9] RFC-15: add Virginie Uhlmann as editor Co-Authored-By: Claude Opus 5.5 --- rfc/15/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rfc/15/index.md b/rfc/15/index.md index 9dc5d5a1..a0fa8792 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -10,6 +10,13 @@ authors: affiliation: scalable minds, Germany role: Author date: "2026-11-04" +editors: + - name: Virginie Uhlmann + orcid: 0000-0002-2859-9241 + github: vuhlmann + affiliation: BioVisionCenter + role: Editor + date: "2026-11-30" manual_status: D3 status_note: authors open PR description: snake_case naming of metadata fields From e67e2382d824d62d538032e659f239d9ebad5f27 Mon Sep 17 00:00:00 2001 From: Tiago Lubiana Date: Mon, 30 Nov 2026 09:10:31 -0300 Subject: [PATCH 9/9] update manual status to R1 --- rfc/15/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rfc/15/index.md b/rfc/15/index.md index a0fa8792..ff51f802 100644 --- a/rfc/15/index.md +++ b/rfc/15/index.md @@ -17,8 +17,8 @@ editors: affiliation: BioVisionCenter role: Editor date: "2026-11-30" -manual_status: D3 -status_note: authors open PR +manual_status: R1 +status_note: under review description: snake_case naming of metadata fields date: "2026-11-04" --- @@ -202,7 +202,7 @@ A multiscale image's group metadata before and after this RFC: ## Stakeholders -* Socialization: +* Socialization: * OME-Zarr Hackathon 2027 * NGFF issue tracker since October 2025 ([#347](https://github.com/ome/ngff/issues/347)) ## Implementation