JSON Schema validator for PHP
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