pub fn validate(value: &Value, schema: &Value, spec: &Value) -> Vec<Violation>
Validate value against schema, resolving $refs through the spec’s components/schemas. Returns every violation found.
value
schema
$ref
components/schemas