Skip to main content

check_schema

Function check_schema 

Source
pub fn check_schema(schema: &Value) -> Result<(), Vec<String>>
Expand description

Whether schema is a well-formed schema for this validator: an object or a boolean, with known-typed keywords. Unknown keywords are allowed (JSON Schema is open); wrong-typed known keywords are reported.