jsonsvalidator performs JSON schema validation using a specified schema and an arbitrary config (YAML or JSON) file.
./jsonsvalidator validate --schema /path/to/schema.json --config /path/to/config.yaml
- The
/path/to/schema
must be a fully qualified path. - Currently, the validator does not handle remote schemas, yet.
- According to the author's observations, the library which does the actual
validation ignores
$ref
s during validation if a schema file is used for validation. Currently, this application only recognizes validation by local schema file.
$ make all
- Update so that remote schemas IE URLs can be used for validation.
Semantic Version Library (spec ver. 2.0.0 compliant)
This may change IE it's experimental. In order to bump the version on this app one must tag a commit to the version one wants:
- git commit -am 'some message here'
- git tag x.x.x-foo OR some other valid semantic in conformance with semver 2.0.0 (semver.org)
- The build will automatically add the build date, hash, and other details into the binary so
app version
reflects the proper information