2.5 KiB
Maximum Direct shared schemas
Language-neutral contracts for shared domain inputs. Author information once in YAML or JSON, validate the completed document, and let each consumer derive the view required by its task.
| Document | Contract | Semantics | Schema |
|---|---|---|---|
| Party | maximumdirect.rpg.party.v1 |
Party | party.schema.json |
| Campaign | maximumdirect.rpg.campaign.v1 |
Campaign | campaign.schema.json |
| Glossary | maximumdirect.glossary.v1 |
Glossary | glossary.schema.json |
Start with the synthetic examples. Every standalone document has a
schema_version. Glossaries contain named collections under collections.
Additional fields are permitted; consumers define which extensions they support.
Application settings, prompts, credentials, and reference vocabulary belong in
their respective repositories.
Validate
Install Go 1.27 or later and prepare the pinned dependencies:
go mod download
go run ./cmd/validate examples/party.yml examples/campaign.yml examples/glossary.yml
go test ./...
Validation defines the YAML profile, command, and semantic checks. ConfigKit owns composition before the completed-document boundary. The Go harness is a development tool, not a consumer SDK.
Select a distribution
VERSION identifies the schema-set candidate, initially v1.0.0. Publication is
separate from implementation. Select an immutable tag using the
release procedure, then bundle the complete schemas/
directory and semantic documentation for offline use.
For example, after publication:
https://forge.maximumdirect.net/eric/schemas/archive/v1.0.0.tar.gz
https://forge.maximumdirect.net/eric/schemas/raw/tag/v1.0.0/schemas/glossary.schema.json
The raw URL is also that schema's $id. Its tag identifies the schema-set
release; document headers carry only the major contract version. Existing
applications require their own adoption work. See the
consumer compatibility inventory.
Contributors start with development.
Original material is dedicated to the public domain under CC0 1.0.
Open Source attribution notices identify incorporated material and dependencies.