Files
schemas/README.md

57 lines
2.8 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 | Initial version | Document generation | Contract |
| --- | --- | --- | --- |
| Glossary | 0.1.0 | `maximumdirect.glossary.v1` | [Schema](glossary/v0.1.0/schema.json), [semantics](glossary/v0.1.0/semantics.md), [examples](glossary/v0.1.0/examples/) |
| RPG party | 0.1.0 | `maximumdirect.rpg.party.v1` | [Schema](rpg/party/v0.1.0/schema.json), [semantics](rpg/party/v0.1.0/semantics.md), [examples](rpg/party/v0.1.0/examples/) |
| RPG campaign | 0.1.0 | `maximumdirect.rpg.campaign.v1` | [Schema](rpg/campaign/v0.1.0/schema.json), [semantics](rpg/campaign/v0.1.0/semantics.md), [examples](rpg/campaign/v0.1.0/examples/) |
[Catalog](catalog.json) lists exact versions; [catalog format](docs/catalog.md)
defines its fields. Release `2026.11.0` contains these initial pre-stable versions.
A schema's URL mirrors its repository path, such as
`https://schemas.maximumdirect.net/glossary/v0.1.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@0.1.0 rpg/party/v0.1.0/examples/party.yml
go run ./cmd/validate -schema glossary@0.1.0 glossary/v0.1.0/examples/weather.yml
go test ./...
```
[Validation](docs/validation.md) defines the YAML profile and error boundaries.
ConfigKit owns composition before the completed-document handoff. 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.