Is it possible to run the json-schema-validator from the command line?
Is there a jar file for json-schema-validator? I found a jar at:
[http://mvnrepository.com/artifact/com.github.fge/json-schema-validator/2.1.8][1]
but it appears to be corrupt/incomplete/something (I'm not a Java programmer). Applying java.exe to the jar file:
java -jar json-schema-validator-2.1.8.jar
results in this error message:
"no main manifest attribute, in json-schema-validator-2.1.8.jar"
What does that mean?
Here are my questions:
Where can I obtain the correct jar file for json-schema-validator?
Once I obtain the jar file, how do I use it on a command line to validate a json file against a json-schema file? That is, on the command line I would like to type something like this:
java -jar json-schema-validator-2.1.8.jar instance.json schema.json
and have the validator validate instance.json against schema.json and display the results of the validation on the command line.
Thanks!