This project is no longer maintained. Recommended alternatives:
This package is a validator for JSON Schema. It fully supports draft 4 of the specification.
- Passes the entire draft 4 JSON Schema Test Suite.
- Fully customizable with custom rule sets.
- Helpful error messages with JSON Pointers.
composer require league/json-guard
Complete documentation is available here.
Please see CHANGELOG for more information about what has changed recently.
You need to run a web server while testing.
$ composer test-server
Once the server is running, you can run the test suite.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.