Skip to content

RFC-8: v2 - #667

Merged
joshmoore merged 19 commits into
ome:mainfrom
normanrz:rfc8-revision-2
Nov 24, 2026
Merged

joshmoore merged 19 commits into
ome:mainfrom
normanrz:rfc8-revision-2

Conversation

@normanrz

@normanrz normanrz commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates the RFC-8 text with the revisions developed in ome/ngff-rfc8-revisions. They follow the round-1 review, Damien Goutte-Gattat's extensibility proposal and Benedikt Best's comment in #627. A summary of all changes, with rules and examples, is in rfc8_revision_changes.md.

Summary of changes

Area Round-1 RFC-8 Revised RFC-8
Node types collection, multiscale, singlescale collection, multiscale. Singlescale is removed and 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
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
References {"id": …} {"type": …, "ref": …}, plus 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, remote references, snake_case, singlescale, legacy multiscales In RFC-8 or not covered Deferred to sub-RFCs

The revision also:

  • Defines the extension manifest, 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.
  • Archives this text as rfc/8/versions/v2-2026-11, next to v0 and v1.
  • Adds a Changelog section summarizing the changes between v0, v1 and v2.

Future work

The RFC lists these as future work rather than part of this revision:

  • Restricting which traits can be used on which node types.
  • Revising the mustUnderstand flag.
  • A strategy for managing extensions.

🤖 Generated with Claude Code

Update the RFC-8 text with the revisions developed in
https://github.com/ome/ngff-rfc8-revisions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Automated Review URLs

@normanrz normanrz changed the title RFC-8: revision 2 RFC-8: v2 Nov 16, 2026
@normanrz
normanrz marked this pull request as draft November 16, 2026 12:15
DragaDoncila and others added 2 commits November 17, 2026 10:29
Brings in ome/ngff-rfc8-revisions#63.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy of the revised text as versions/v2-2026-11, with a fixed status
table instead of the live rfc-status directive and anchors prefixed
with v2 (as done for v1). Also fixes two broken in-page links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| `"type"` | string | yes | Value MUST be a string identifying the node type. |
| `"id"` | string | yes | Value MUST be the identifier of the declared object. IDs MUST be unique within the JSON document where they are defined. IDs MUST follow the [ID rules](#ids). |
| `"name"` | string | no | Value MUST be a non-empty string intended for human-readable display. |
| `"traits"` | array | no | Value MUST be an array of `Trait` objects. [See traits section](#traits). |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table is missing version row

@normanrz normanrz Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Added version and extensionManifest to the Node, Collection and Multiscale schema tables in eb3b07f. Both are only allowed on the root node of a metadata document (the node directly under ome); the Field: version section now says so explicitly, and there is a new Field: extensionManifest section.

That being said, we'll likely change this in a next revision to pull out a container with {version, extensionManifest,content:Node}.

Both fields are only allowed on the root node of a metadata document.
Adds them to the Node, Collection and Multiscale schema tables and
adds a Field: extensionManifest section. Applied to the v2 snapshot too.

Addresses review comment by will-moore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
normanrz and others added 2 commits November 17, 2026 11:21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1 gets the history up to v1, v2 the full changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jo-mueller

Copy link
Copy Markdown
Contributor

I'm just seeing that under versions/ we already have a v1 version of RFC8 which is slightly different from what we have under the current rfc8/index.md (at least author-wise).

Are the contents of rfc8/index.md and rfc8/versions/v1-2026-08/index.md identical otherwise? Then I would suggest to

  • update the document under versions/v1-2026-08/index.md with the state of the current rfc8/index.md
  • update rfc8/index.md as suggested in this PR.

Basically, move the contents of an RFC document only to versions when a new version is created.

@normanrz

Copy link
Copy Markdown
Contributor Author

I think this PR is correct:
v0 - original
v1 - reordered RFC
v2 - this new revision

the index document should be the same as v2

@normanrz
normanrz marked this pull request as ready for review November 17, 2026 12:07
normanrz added a commit to ome/ngff-rfc8-revisions that referenced this pull request Nov 17, 2026
Backport root-only version/extensionManifest and link fixes from ome/ngff#667
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jo-mueller

Copy link
Copy Markdown
Contributor

@normanrz so v2-2026-11/index.md‎ is essentially v1 - reordered RFC?

@normanrz

Copy link
Copy Markdown
Contributor Author

No. rfc/8/versions/v2-2026-11/index.md is essentially rfc/8/index.md, for now. rfc/8/versions/v1-2026-08/index.md is v1.

@lubianat

Copy link
Copy Markdown
Contributor

Great news! I will do a human review later in the day.

This comment was marked as low quality.

}
],
"type": "collection",
"id": "000003"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "000003"
"id": "000003",

jo-mueller and others added 3 commits November 19, 2026 08:21
Co-Authored-By: Joel Lüthi <joel.luethi@outlook.com>
@jo-mueller

jo-mueller commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

I'm quickly chiming in here. I think there are two options here, both are feasible. The current state of this PR (@normanrz correct me if i'm wrong): RFC8 is posted here in two different places:

  • rfcs/8/versions/v2-2026-117index.md
  • rfcs/8/index.md

This means, that every change we make to either of the documents we must also make to the other, otherwise we may end up with two different versions of the same document. Even if the discrepancies are minimal, I think this is to be avoided at all costs because it will lead to confusion.

So if we keep both documents, let's ensure that

  • the documents end up in sync
  • both have the same anchor, i.e. (rfcs:rfc8:version2)= at the top. This ensures that reviews/comments about the document can reference it via [text](#rfcs:rfc8:version2) and the cross-reference will always point to the correct destination, even if the target document moves around in the repo. In that scenario, I think we also recently discovered that if two documents share the same anchor, sphinx will just pick any anchor to forward to for a cross-reference, which is ok in this case.
  • When v3 then lands, it will replace the version under rfcs/8/index.md and the reference will resolve to the remaining anchor, which is then under rfcs/8/versions/v2-2026-117index.md

The other option, of course, is to remove rfcs/8/versions/v2-2026-117index.md entirely and create it only when v2 is archived/replaced by a future v3. It would mildly favor this route, the downside is that the URL https://ngff.openmicroscopy.org/rfc/8/index.html won't always refer to the same state of the document.

Personal opinion: I think anchors are the better kind of cross-reference, but it's not a hill I would die on :)

ping @joshmoore for editor's opinion

Regarding Tiago's review of the RFC text itself: I think the things discovered by the copilot could be fixed, but I don't think it's a must - author's choice.

jo-mueller and others added 3 commits November 20, 2026 09:10
Co-authored-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com>
@lubianat

Copy link
Copy Markdown
Contributor

A note here that given changes are all somewhat minor, I think that whenver @normanrz says it is ready to merge, we can go ahead and merge it.

normanrz added a commit to ome/ngff-rfc8-revisions that referenced this pull request Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
normanrz added a commit to ome/ngff-rfc8-revisions that referenced this pull request Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@normanrz

Copy link
Copy Markdown
Contributor Author

Merged in normanrz#6 and fixed a few typos.

Ready to merge!

Comment thread rfc/8/versions/v2-2026-11/index.md Resolved
jo-mueller
jo-mueller previously approved these changes Nov 24, 2026
@jo-mueller

jo-mueller commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Ok, I have some ideas about how to better structure references here (plz use only myst references and avoid relative path references 👉 👈 ) see changelog section, but @lubianat and I can also do that post-hoc so that this can go out now.

Co-authored-by: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com>
@lubianat
lubianat requested a review from jo-mueller November 24, 2026 12:54
@joshmoore
joshmoore merged commit ec10c04 into ome:main Nov 24, 2026
5 checks passed
@lubianat

Copy link
Copy Markdown
Contributor

Thank you, @normanrz et al. I think this is worth some announcement in the NGFF thread in image.sc ;)

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.

7 participants