The JSON Schema file
This function will check that the supplied files are not empty and are accessible
and it will then validate that the JSON file is valid (and well formed) against the
supplied schema file. Currently only version 4 of the JSON schema is supported.