A Dockerfile providing the setup for running the better-ajv-errors JSON validator.
Move your instance and schema JSON files to ./json.
$ mkdir json
$ mv [files] json
$ docker build -t [image_name] .
$ docker run -it [image_name] bash
# node validate.js schema_file instance_file
# node validate.js json/schema.json json/valid.json
# node validate.js json/schema.json json/invalid.json
REQUIRED must have required property 'longitude'
> 1 | {"latitude":48.9,"lognitude":2.2}
| ^ ☹️ longitude is missing here!