1.5 KiB
Schema inventory
Root catalog.json uses format_version: 1 and a schemas array with one record
per independent schema version. Each record has:
| Field | Meaning |
|---|---|
name |
Schema name, including its domain namespace, such as rpg/party. |
version |
Full SemVer, such as 0.1.0. |
contract |
Document generation, such as maximumdirect.rpg.party.v1. |
id |
Canonical absolute schema identity under https://schemas.maximumdirect.net/. |
path |
Repository-relative <name>/v<version>/schema.json. |
The ID equals the canonical domain plus the path. semantics.md and examples/
are adjacent to each schema. Multiple versions may share a document generation;
consumers pin exact versions rather than inferring a definition from the marker.
The developer CLI selects the highest local SemVer by -schema NAME and reports
its exact version. It has no historical selection mode or automatic download.
The inventory includes every active versioned schema root and all retained published versions. Names/versions, IDs, and paths are unique. Historical origin snapshots and negative fixtures remain outside that inventory. Loading registers all inventoried resources before compilation and resolves references offline.
A catalog on main includes development candidates. The catalog in an immutable
published CalVer tag identifies released versions. Its records do not carry the
distribution version or imply publication by their presence.