pub fn validate(
bundle: &Bundle,
ty: &Value,
value: &Value,
) -> Result<(), Vec<Violation>>Expand description
Checks value against the JSON Schema type ty, a canonical type
reference of bundle ({"kind": "jsonschema", "name", "schema"}).
Err lists every violation found, in the order met; a type that is not
a JSON Schema type of the bundle, or a $ref that resolves to nothing,
is one violation at the root.