59 lines
3.0 KiB
Markdown
59 lines
3.0 KiB
Markdown
# Maximum Direct shared schemas
|
|
|
|
Language-neutral contracts for shared domain inputs. Author information once in
|
|
YAML or JSON and validate the completed document. Consumers own task-specific
|
|
interpretations and projections.
|
|
|
|
| Schema | Current candidate | 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/) |
|
|
| 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/) |
|
|
|
|
[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.
|
|
Release `2026.11.0` retains the original published `0.1.0` contracts.
|
|
A schema's URL mirrors its repository path, such as
|
|
`https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json`.
|
|
Hosting serves raw content from `main`; visibility does not establish publication.
|
|
Published CalVer tags and their inventories identify released versions.
|
|
|
|
## Validate
|
|
|
|
Use Go 1.27 or later and prepare pinned dependencies:
|
|
|
|
```sh
|
|
go mod download
|
|
go run ./cmd/validate -schema rpg/party rpg/party/v0.2.0/examples/party.yml
|
|
go run ./cmd/validate -schema glossary glossary/v0.2.0/examples/weather.yml
|
|
go test ./...
|
|
```
|
|
|
|
[Validation](docs/validation.md) defines native loading and error boundaries.
|
|
ConfigKit v1.4.0 owns acquisition and resolution through the completed-document
|
|
handoff; its pinned contract is linked from the validation guide. The harness
|
|
is a development tool, not a consumer SDK.
|
|
|
|
## Select a distribution
|
|
|
|
Repository snapshots use CalVer `YYYY.MM.MICRO`. Schemas have independent full
|
|
SemVer versions; document markers identify independent contract generations.
|
|
See [compatibility](docs/compatibility.md) and the [release procedure](docs/release.md).
|
|
The internal Go module is only tooling and has no schema-version semantics.
|
|
|
|
Select a published archive, for example
|
|
`https://forge.maximumdirect.net/eric/schemas/archive/2026.11.0.tar.gz`.
|
|
Record that distribution and the exact selected schema versions.
|
|
Bundle those directories, their referenced dependencies, and semantic documents
|
|
for offline use. An unrelated schema update need not trigger a consumer upgrade.
|
|
|
|
Application settings, prompts, credentials, and vocabulary remain in their own
|
|
repositories. [Existing consumers](docs/compatibility.md#existing-consumers)
|
|
require separately planned adoption. Contributors start with
|
|
[development](docs/development.md).
|
|
|
|
Original material is dedicated to the public domain under [CC0 1.0](COPYRIGHT).
|
|
|
|
[Open Source attribution notices](docs/oss/attribution.md) identify incorporated material and dependencies.
|
|
|