refactors validation routines into a Validators util class
composer require justinrainbow/json-schema:~1.3