Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 839 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 839 Bytes

jsoncheck

Build Status Go Report Card

Tool for validating a batch of local or remote JSON documents by schemas.

Usage

Download the latest release: https://github.com/vodkabears/jsoncheck/releases/latest

Run:

./jsoncheck [configuration file]

Example of a configuration file

[
	{
		"schema": "schemas/regions.json",
		"data": [
			"http://127.0.0.1:3000/api/regions",
			"http://127.0.0.1:3000/api/regions/?rgid=2"
		]
	},
	{
		"schema": "schemas/offer.json",
		"data": [
			"http://127.0.0.1:3000/api/offer/?id=1",
			"file:///home/me/offer.json"
		]
	}
]