pub fn validate(schema: &Value, value: &Value) -> Result<(), Vec<String>>Expand description
Validates a value against a schema, returning every violation found.
Call check_supported on the schema first; keywords outside the
supported set are reported here as violations too, so an unchecked schema
can never pass a value it does not understand.