Skip to main content

validate_json_schema

Function validate_json_schema 

pub fn validate_json_schema(value: &Value, schema: &Value) -> Result<(), String>
Expand description

Validate one JSON value against the deterministic JSON Schema subset used by Tilo action contracts.

ยงErrors

Returns a human-readable contract violation when schema is not an object or value fails one of its supported assertions.