Module validation

Module validation 

Source
Expand description

Schema Validation

JSON Schema validation for SType payloads. Schema Fidelity is the mandatory QoM metric.

Structs§

SchemaValidator
Schema validator with caching for performance
ValidationResult
Result of schema validation
ValidatorBuilder
Builder for creating validators with common schemas

Constants§

DEFAULT_MAX_NESTING_DEPTH
Default maximum nesting depth for JSON payloads
DEFAULT_MAX_PAYLOAD_SIZE
Default maximum payload size (1 MB)
DEFAULT_MAX_SCHEMAS
Default maximum schema cache size

Functions§

check_nesting_depth
Check JSON nesting depth (to prevent stack overflow attacks)