Repository navigation
Cross-spec liaison: Overlay, Arazzo and JSON Schema — starting with aliases #42
Description
The 28 August office hours (#40) turned up something better than a wish: work already underway in another specification group that solves a problem on this roadmap, with a named person keen to move it, a release train with room on it, and a standing meeting anyone here can walk into.
This issue is to make that a maintained relationship rather than a thing that happened once on a call.
The concrete opening: semantic aliases
On aliases (#20), from inside the Overlay specification work:
One of the things that we've talked about in the Overlay spec is having basically something like semantic aliases. And the perfect example is schema. There are certain rules that you want to apply to a schema — an object schema, a JSON Schema. But those can be in a dozen different places in an OpenAPI document, and to try to write a
giventhat finds all those places is a nightmare.
That is the same problem #20 exists to solve, being solved by another group, for another format, right now. And the complementary half from this side: aliases here are registered per format version (OAS2, OAS3, OAS3.1), so an alias can absorb version differences behind one name — which is the thing #41 needs.
Status on their side, as reported on the call: Overlay 1.2 has shipped, 1.3 is starting, and Lorna Mitchell is keen to get something going on aliases. Meetings are every other Tuesday morning, with a channel in the OpenAPI Slack.
And the demo that writes itself, proposed on the call:
An Overlay example of how to replace nasty JSON-Path-based rules with alias-based rules in your OpenAPI would be incredibly meta, and also very fantastic.
That is not just a nice demo. #28 (JSON Path vs RFC 9535) is blocked on the absence of a migration path, and an Overlay that mechanically rewrites rules is a candidate migration path — for the alias move now, and possibly for the RFC move later.
Why these three specifications and not others
For me, JSON Schema, the rules format and Overlays are these special specs that have a universality that OpenAPI, AsyncAPI or Arazzo don't.
They describe other documents rather than describing an API. They are the ones that have to work across formats — which is also why #24 (multi-format is a goal, not an accident) and this issue are the same argument seen from two sides.
What this issue is for
- Show up, don't summon. The stated posture is to join other people's meetings and channels rather than open new ones. Overlay: every other Tuesday morning, OpenAPI Slack. Arazzo: every second Wednesday afternoon, dedicated channel in the OpenAPI Slack — the invitation was made explicitly on the call. JSON Schema and AsyncAPI the same way.
- Carry the aliases conversation into the Overlay 1.3 cycle while there is room on it, and bring back whatever shape they land on, so Elevate aliases out of the core ruleset into their own namespace, and get rules off JSONPath #20 does not invent a second incompatible vocabulary for the same idea.
- Bring the conformance-suite question to JSON Schema. Their test suite is the model for Build the conformance suite — and no blessed implementation #9 — the tiering (MUST pass to claim compliance, MAY pass for an additional layer) and the reason it works: essentially every major validator runs it.
- Report back here. One comment per cycle on what changed in each group and what it implies for this format. If nobody writes it down, the cross-pollination lives in one person's head, which is how we got here.
Checkpoints
- Aliases raised in the Overlay channel and on an Overlay call during the 1.3 cycle
- The alias vocabulary in Elevate aliases out of the core ruleset into their own namespace, and get rules off JSONPath #20 reconciled with Overlay's semantic aliases, or the divergence written down with a reason
- A worked example of an Overlay rewriting JSON-Path rules to alias-based rules
- JSON Schema test-suite tiering summarised into Build the conformance suite — and no blessed implementation #9
- Arazzo 1.1/1.2 support tracked in Arazzo: 1.1 support, and teaching the format about document-level
extends#12 rather than in a call transcript
Related: #20 (aliases) · #41 (ruleset modularity) · #28 (JSON Path and the missing migration path) · #24 (multi-format) · #12 (Arazzo) · #9 (conformance suite).
Raised in the office hours of 28 August 2026 — notes in #40.
Activity