Prepare the ConfigKit aligned schema release

This commit is contained in:
2026-11-29 17:39:33 +00:00
parent 1c59ea26a6
commit ca5aa3f95c
4 changed files with 50 additions and 5 deletions

View File

@@ -4,14 +4,14 @@ Language-neutral contracts for shared domain inputs. Author information once in
YAML or JSON and validate the completed document. Consumers own task-specific YAML or JSON and validate the completed document. Consumers own task-specific
interpretations and projections. interpretations and projections.
| Schema | Current candidate | Document generation | Contract | | Schema | Current version | Document generation | Contract |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| Glossary | 0.2.0 | `maximumdirect.glossary.v1` | [Schema](glossary/v0.2.0/schema.json), [semantics](glossary/v0.2.0/semantics.md), [examples](glossary/v0.2.0/examples/) | | Glossary | 0.2.0 | `maximumdirect.glossary.v1` | [Schema](glossary/v0.2.0/schema.json), [semantics](glossary/v0.2.0/semantics.md), [examples](glossary/v0.2.0/examples/) |
| RPG party | 0.2.0 | `maximumdirect.rpg.party.v1` | [Schema](rpg/party/v0.2.0/schema.json), [semantics](rpg/party/v0.2.0/semantics.md), [examples](rpg/party/v0.2.0/examples/) | | RPG party | 0.2.0 | `maximumdirect.rpg.party.v1` | [Schema](rpg/party/v0.2.0/schema.json), [semantics](rpg/party/v0.2.0/semantics.md), [examples](rpg/party/v0.2.0/examples/) |
| RPG campaign | 0.2.0 | `maximumdirect.rpg.campaign.v1` | [Schema](rpg/campaign/v0.2.0/schema.json), [semantics](rpg/campaign/v0.2.0/semantics.md), [examples](rpg/campaign/v0.2.0/examples/) | | RPG campaign | 0.2.0 | `maximumdirect.rpg.campaign.v1` | [Schema](rpg/campaign/v0.2.0/schema.json), [semantics](rpg/campaign/v0.2.0/semantics.md), [examples](rpg/campaign/v0.2.0/examples/) |
[Catalog](catalog.json) lists exact versions; [catalog format](docs/catalog.md) [Catalog](catalog.json) lists exact versions; [catalog format](docs/catalog.md)
defines its fields. The current `0.2.0` versions are unpublished ConfigKit-aligned candidates. defines its fields. Release `2026.11.1` contains the ConfigKit-aligned `0.2.0` versions.
Release `2026.11.0` retains the original published `0.1.0` contracts. Release `2026.11.0` retains the original published `0.1.0` contracts.
A schema's URL mirrors its repository path, such as A schema's URL mirrors its repository path, such as
`https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json`. `https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json`.
@@ -42,7 +42,7 @@ See [compatibility](docs/compatibility.md) and the [release procedure](docs/rele
The internal Go module is only tooling and has no schema-version semantics. The internal Go module is only tooling and has no schema-version semantics.
Select a published archive, for example Select a published archive, for example
`https://forge.maximumdirect.net/eric/schemas/archive/2026.11.0.tar.gz`. `https://forge.maximumdirect.net/eric/schemas/archive/2026.11.1.tar.gz`.
Record that distribution and the exact selected schema versions. Record that distribution and the exact selected schema versions.
Bundle those directories, their referenced dependencies, and semantic documents Bundle those directories, their referenced dependencies, and semantic documents
for offline use. An unrelated schema update need not trigger a consumer upgrade. for offline use. An unrelated schema update need not trigger a consumer upgrade.

View File

@@ -1 +1 @@
2026.11.0 2026.11.1

View File

@@ -23,7 +23,7 @@ schemas follow SemVer: incompatible changes require a major, compatible
additions a minor, and compatible corrections a patch. The Go module identity additions a minor, and compatible corrections a patch. The Go module identity
is independent of these schema versions. is independent of these schema versions.
The unpublished `0.2.0` candidates retain the `.v1` markers while adopting Release `2026.11.1` adds `0.2.0` versions retaining the `.v1` markers while adopting
ConfigKit v1.4.0's native mapping handoff. Supported values, syntax, reserved ConfigKit v1.4.0's native mapping handoff. Supported values, syntax, reserved
controls, and numeric precision follow that pinned baseline. RPG party levels controls, and numeric precision follow that pinned baseline. RPG party levels
gain the int64 maximum. See [validation](validation.md) for migration advice and gain the int64 maximum. See [validation](validation.md) for migration advice and

View File

@@ -0,0 +1,45 @@
# Maximum Direct shared schemas 2026.11.1
Publication date (UTC): 2026-11-29.
## Aligned schema versions
- `glossary@0.2.0`: `maximumdirect.glossary.v1`.
- `rpg/party@0.2.0`: `maximumdirect.rpg.party.v1`.
- `rpg/campaign@0.2.0`: `maximumdirect.rpg.campaign.v1`.
These pre-stable versions adopt ConfigKit v1.4.0's native mapping-root handoff.
Domain values pass directly from native acquisition to structural and semantic
validation. The custom broader-profile domain decoders have been removed.
Schema resource JSON retains exact numeric constraints independently of domain
numeric binding. All published `0.1.0` directories and their catalog records
remain unchanged and available for consumers pinning them.
## Migration
The validator now accepts `-schema NAME` and selects the highest local SemVer,
reporting its exact version. For example:
```sh
go run ./cmd/validate -schema glossary glossary/v0.2.0/examples/weather.yml
```
`NAME@VERSION` CLI selection is removed. Consumer pinning of exact schema versions
and a source distribution remains independent of this developer-tool behavior.
Historical full validation uses the tool from `2026.11.0`; selecting an old root
with the new tool does not restore historical decoding.
Quote ambiguous strings and use ConfigKit-supported syntax. Explicit tags,
anchors, aliases, reserved controls, JSON serialization, source limits, and
numeric values follow the pinned native boundary. Dynamic integer syntax binds
to int64 and fractional/exponent syntax to finite float64, which may round.
RPG party class levels retain their positive-integer rule and gain an int64
maximum of `9223372036854775807` after native binding.
Document markers remain `.v1` under the revised pre-stable compatibility policy.
The unchanged marker does not imply unchanged acquisition behavior. Review the
[validation guide](../validation.md), [compatibility guidance](../compatibility.md),
and each selected version's semantic document before upgrading. Consumer
application adoption remains separate work; no compatibility shim is supplied.
[COPYRIGHT](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/docs/oss/attribution.md)