Added
iter_errorsfor#[jsonschema::validator]-generated validators.
Fixed
- Per-branch context on generated
anyOfandoneOfvalidation errors, matching runtime validators. $recursiveRefin generated validators incorrectly resolved to the innermost$recursiveAnchor(it should resolve to the outermost one).- Integer instances just outside the
i64/u64range incorrectly compared against numeric bounds through lossyf64rounding underarbitrary-precision(e.g.{"minimum": -9223372036854775808}accepted-9223372036854775809).
Changed
- One canonical number spelling from
canonical::json::to_stringunderarbitrary-precision("1e-2"becomes"0.01","1.50"becomes"1.5") and correctly-rounded float parsing (serde_json'sfloat_roundtrip).
Performance
- Faster
multipleOfvalidation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.