Changes for version v0.7.0 - 2025-12-18

  • Added is_valid() convenience method: boolean validation that defaults to max_errors => 1 and stores the first (and only) error retrievable via error().
  • validate() now accepts optional per-call overrides (hash or hashref) for max_errors, trace_on, trace_limit, compile_on, and content_assert, while remaining backward compatible with existing call patterns.
  • Fixed object validation to accumulate multiple errors up to max_errors (instead of returning on the first failure), improving error reporting in complex payloads.
  • Added/updated unit tests: t/084_is_valid.t.

Documentation

JSON Schema Exception

Modules

Lean, recursion-safe JSON Schema validator (Draft 2020-12)

Provides

in lib/JSON/Schema/Validate.pm