API for file validation against a JSON Schema
The library could provide an API such as:
validate(path, schema)
to validate a given file (there are examples to reuse in gofff) with the corresponding JSON Schema.
The jschon package can be used and this function can be used as an example.