alpha
Login
or
Join now
andri.dk
/
statesman
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/andrioid/statesman. xstate inspired schema compatible statechart library for Go
fsm
go
statecharts
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
statesman
/
docs
3 files
at
main
Andri Óskarsson
schema: vendor machineSchema.json and validate $schema locally
5w ago
848303b6
persistence-contract.md
schema: vendor machineSchema.json and validate $schema locally Promote the Stately schema from the test-fixture schema/testdata/ to a first-class schema/machineSchema.json (byte-preserving move; provenance kept as a link to statelyai/schema). Docs (architecture, schema-subset) now link the vendored copy instead of Stately's GitHub blob URL and drop the stale internal/schema/ path. Repoint every example machine.json's $schema at the vendored file by relative path -- valid, offline, no network reference -- and add one to simple for parity. The loader ignores $schema, so regeneration is a no-op. Declare $schema (string) at the vendored schema's root so a $schema-carrying document validates under additionalProperties:false; this matches the loader's existing rule (root-only, nested rejected). A minimal, deliberate deviation from upstream verbatim -- structure is untouched, and the schema pin test expects it so a re-vendor that drops it fails loudly. Add schema.TestVendoredSchemaSurface to guard the vendored file (nothing embeds it). Verified: strict Draft-2020-12 validation passes for all four examples.
1 month ago
schema-subset.md
schema: vendor machineSchema.json and validate $schema locally Promote the Stately schema from the test-fixture schema/testdata/ to a first-class schema/machineSchema.json (byte-preserving move; provenance kept as a link to statelyai/schema). Docs (architecture, schema-subset) now link the vendored copy instead of Stately's GitHub blob URL and drop the stale internal/schema/ path. Repoint every example machine.json's $schema at the vendored file by relative path -- valid, offline, no network reference -- and add one to simple for parity. The loader ignores $schema, so regeneration is a no-op. Declare $schema (string) at the vendored schema's root so a $schema-carrying document validates under additionalProperties:false; this matches the loader's existing rule (root-only, nested rejected). A minimal, deliberate deviation from upstream verbatim -- structure is untouched, and the schema pin test expects it so a re-vendor that drops it fails loudly. Add schema.TestVendoredSchemaSurface to guard the vendored file (nothing embeds it). Verified: strict Draft-2020-12 validation passes for all four examples.
1 month ago
transition-algorithm.md
initial
1 month ago