When running the validate-json command in cli using PHP 7.2 or later, the following deprecation warning shows:
PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in
~/.composer/vendor/justinrainbow/json-schema/bin/validate-json on line 16