Expand description
Schema validation for CRDT messages
Provides runtime validation of messages against JSON schemas to ensure contract compliance between client and server implementations.
Structs§
- Schema
Validator - Schema validator for CRDT messages
Enums§
- Validation
Error - Validation error types
Functions§
- get_
validator - Get the global schema validator instance
- is_
validation_ enabled - Check if validation is enabled (only in debug builds)
- validate_
json - Validate JSON data using the global validator
- validate_
json_ conditional - Validate JSON with conditional execution based on build type
- validate_
message - Validate a message using the global validator
- validate_
message_ conditional - Validate message with conditional execution based on build type