Expand description
Semantic validation for GRC-20 edits.
This module provides validation beyond structural encoding checks. Structural validation happens during decode; semantic validation requires additional context (schema, entity state).
Note: With the per-edit typing model, type enforcement is advisory. The protocol does not enforce that a property always uses the same type across edits. Applications can use SchemaContext to opt-in to type checking.
Structs§
- Schema
Context - Schema context for semantic validation.
Functions§
- validate_
edit - Validates an edit against a schema context.
- validate_
position - Validates a position string according to spec rules.
- validate_
value - Validates a single value (independent of property context).