Expand description
Structural validation that a SchemaValue matches a given
SchemaType inside a SchemaGraph.
Structs§
- Prepared
Value Validator - Immutable validation preparation bound to one borrowed graph and root type. Each validation uses fresh error and path state; no invocation state is cached.
- Value
Path - Path through a
SchemaValuetree to a specific failing node.
Enums§
- Result
Side - Value
Error - All errors raised by
validate_value. - Value
Path Segment - A path segment inside a
SchemaValuetree.
Functions§
- validate_
record_ fields - Validate the field values of a record against a set of named field types
defined in
graph, without materialising a temporary recordSchemaType. - validate_
value - Validate that
valuestructurally conforms toty(in the context ofgraph).