opis/json-schema
Opis JSON Schema validates JSON documents against JSON Schema drafts 2020-12 to 06. Includes custom errors, PHP filters, schema reuse/mappers, slots, pointers, URI templates, $data, casting, and custom formats/media types.
Fixed
Helper::$numberScale and Helper::$useBCMath properties (#123)Added
Validator::setStopAtFirstError() (#107)$error keyword (#97)Added
Fixed
Added
Opis\JsonSchema\Errors\CustomError - you can throw a CustomError exception from filters or formats to provide a custom error messageOpis\JsonSchema\CompliantValidator - a validator class that disables custom keywords of opis/json-schema (such as filters), making the validation compliant with the default json-schema behaviourFixed
Added new parser options.
Bugfix:
This major release is a ground-up rewrite of the library. For more details on how to upgrade to this version, please take a look at our migration guide.
patternProperties fix
Fixed typo
URI bugfix
Fixed File loader
Bugfix
Added additional checks to date related formats.
Fixed date-time format
How can I help you explore Laravel packages today?