pub fn compile(schema: &Value) -> Result<Validator, ValidationError<'static>>Expand description
Compile one JSON Schema validator.
§Errors
Returns the schema compiler’s validation error when schema is not a valid
JSON Schema for the detected draft.