Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 775 Bytes

File metadata and controls

21 lines (13 loc) · 775 Bytes

CLI wrapper for Newtonsoft.Json.Schema

Getting started

Install dotnet core 2

Using the app

To use the app just grab a zip from Releases folder and run dotnet JsonSchemaValidator.dll [pathToSchemaFile] [pathToJsonToValidate]

Validation errors will be output to the command line.

You can test the app by running it on FruitDb.schema.json and FruitDb.json from this repo.

Deployment to Bamboo

  1. Open in Visual studio 2017 (or vim?)
  2. Change what you want
  3. Publish the app (from VS or run dotnet publish -c Release)
  4. Copy all files in the publish folder to /var/lib/json-validator
  5. Run chmod o+x /var/lib/json-validator/*.dll