Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 172 Bytes
JSV = require('JSV').JSV
json = require('./test.json')
schema = require('./hal.json')
env = JSV.createEnvironment()
report = env.validate(json, schema)
console.dir(report)