Skip to main content

Module schema

Module schema 

Source
Expand description

Schema system — optional JSON Schema validation with merge hints.

Schemas use x-agentstategraph-merge annotations to tell the merge engine how to handle each field. This enables CRDT-inspired auto-resolution of concurrent changes.

Structs§

Schema
A schema definition with merge hints.
ValidationError
A schema validation error.
ValidationResult
Validation result for a state tree against a schema.

Enums§

EnforcementMode
How strictly the schema is enforced.
MergeHint
How a field should be merged when both sides change it.