Skip to main content

validate_value

Function validate_value 

pub fn validate_value(schema: &Value, data: &Value) -> Result<(), SchemaError>
Expand description

Validate a JSON value against ZeroClaw’s minimal SOP schema subset. Supported keywords are type, required, properties, and items. Malformed or unsupported type declarations fail closed.