{"_id":"chai-json-schema","_rev":"43-1d971ecef1f827cc83237ce86998abf5","name":"chai-json-schema","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.2":{"name":"chai-json-schema","version":"1.0.2","keywords":["chai","json","assertion","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.2","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"99f8cdb4cb3d5dcfd4582fef00f977a3cfe68177","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.2.tgz","integrity":"sha512-aA+Sp7d8+o+10nKzb30OGO6oKdeT79vyMdNJLyYBFAw9heQFmULKLpdFUrrex74+cz95oJAW1amWtuiMrITEpQ==","signatures":[{"sig":"MEUCIAa62+T0QqkV+zC9uZlVXTlMMJPHrDvmuVhcI3St8EnxAiEA+UEWBne22yNdvO3IE9nKi3jXLdDjMkoMJhNR+HX/DZQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.2.25","description":"Validate values against json-schema draft v04","directories":{},"dependencies":{"tv4":"~1.0.3","underscore":"~1.4.4","jsonpointer.js":"~0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"~0.4.1","mocha":"~1.11.0","grunt-cli":"~0.1","grunt-mocha":"git://github.com/Bartvds/grunt-mocha","grunt-mocha-test":"~0.4.0","grunt-contrib-jshint":"~0.6.0","mocha-unfunk-reporter":"0.1.10"}},"1.0.3":{"name":"chai-json-schema","version":"1.0.3","keywords":["chai","json","assertion","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.3","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"ed7ebd85d10e52735140c1936116683861cb163b","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.3.tgz","integrity":"sha512-H4dPBfuSbk+rGKCrR01GFIF+wJlxfNQcR4Yn+47s1ZYPwdx6HZSxsl5pZIYHUBjzhJzIFSuxtp+tnUxcL2yI/A==","signatures":[{"sig":"MEUCIQCVNh+e6YEwzxxHMQ/nMNGNJ2uCTPTe55FdU07N5Y9ugwIgFqrxyW30itG0K6mDnlcgozOzMrr02honheTAMdk+Jz4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.2.25","description":"Chai plugin to validate values against IETF standardised json-schema v04","directories":{},"dependencies":{"tv4":"~1.0.3","underscore":"~1.4.4","jsonpointer.js":"~0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"~0.4.1","mocha":"~1.11.0","grunt-cli":"~0.1","grunt-mocha":"git://github.com/Bartvds/grunt-mocha","grunt-mocha-test":"~0.4.0","grunt-contrib-jshint":"~0.6.0","mocha-unfunk-reporter":"0.1.10"}},"1.0.4":{"name":"chai-json-schema","version":"1.0.4","keywords":["chai","json","assertion","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.4","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"883cce42fd68205082b598303f0268da00d001c6","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.4.tgz","integrity":"sha512-BfGWNj0Avqkq4P+VLzERkd56YpgJxEbHqrjHb0qUzmur4SxNGCYZTTsKRD0/fN8T1rofdTO+RQ4MlQ6hyqhhXg==","signatures":[{"sig":"MEUCIQDblbmC7TlS66SYz5EGegOxgUGLWfjRlrt6tSjt6xcAtAIgMTRwrlMae62jq2gclB7kIlz4PepDIwt9zAgv1WW8tpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.2.25","description":"Chai plugin to validate values against IETF standardised json-schema v04","directories":{},"dependencies":{"tv4":"~1.0.5","underscore":"~1.4.4","jsonpointer.js":"~0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"~0.4.1","mocha":"~1.11.0","grunt-cli":"~0.1","grunt-mocha":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-contrib-jshint":"~0.6.0","jshint-path-reporter":"~0.1.2","mocha-unfunk-reporter":"0.2"}},"1.0.5":{"name":"chai-json-schema","version":"1.0.5","keywords":["chai","test","assertion","assert","testing","json","schema","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.5","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"8c35d00fb2696dc6e595340cba5ca570e8136ecf","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.5.tgz","integrity":"sha512-w186bfgnZEsF3SxMdJiw1WMJDoqqJbk9dKIBapUQqlJQKQUwMLLuXU4u2o+AetrolB6IA8yPpgx2a+FrmxcRMw==","signatures":[{"sig":"MEQCIAK13RMa+BeNyNGuMSsLHyi9D6MgKrTOrAWwoycY+u+vAiA+TAnGsQW5EjrsMnSxmb21CbPTZseqGpWZF7wz9b7wuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.2.25","description":"Chai plugin to validate values against JSON Schema v4","directories":{},"dependencies":{"tv4":"~1.0.5","jsonpointer.js":"~0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"~0.4.1","mocha":"~1.11.0","grunt-cli":"~0.1","underscore":"~1.4.4","grunt-mocha":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-contrib-jshint":"~0.6.0","jshint-path-reporter":"~0.1.2","mocha-unfunk-reporter":"0.2"}},"1.0.7":{"name":"chai-json-schema","version":"1.0.7","keywords":["chai","test","assertion","assert","testing","json","schema","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.7","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"04505206b5e773d8f1af9a81620ccfca5d8129cc","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.7.tgz","integrity":"sha512-C8GV8Sp+NfU2lA+rg7D0UOAnTzYMA41YKS7rwIaFi+Zo4xcZlapkvavyJeSNBfQjYCLZHbD/S/Pr/o3r3IpUGw==","signatures":[{"sig":"MEQCIHW58qUDCN6Sw/61VwnHYWQUAc31aq1VS5XGAc3pki6aAiAQEl7+pUiRJhtz4+akc98jsn1ANEkHWIFCtJCr3vymGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.3.11","description":"Chai plugin for JSON Schema v4","directories":{},"dependencies":{"tv4":"1.0.11","jsonpointer.js":"0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"0.4.1","mocha":"~1.11.0","grunt-cli":"~0.1","underscore":"~1.4","grunt-mocha":"~0.4.1","grunt-continue":"0.0.1","grunt-mocha-test":"~0.7.0","grunt-contrib-jshint":"0.6.3","jshint-path-reporter":"~0.1","mocha-unfunk-reporter":"~0.3.5"},"peerDependencies":{"chai":">= 1.6.1 < 2"}},"1.0.10":{"name":"chai-json-schema","version":"1.0.10","keywords":["chai","test","assertion","assert","testing","json","schema","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.0.10","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"3b1a2563e63d000c24dfb79a41ad5d324d97a055","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.0.10.tgz","integrity":"sha512-vLmWqv05lBW4gwej58ZMWmKPslwq8CWs8BKLqjiyLpaxMQW2L/vP86BzMHgC2WKFBJSE7iDbs5AiHF4bQsENJw==","signatures":[{"sig":"MEYCIQDqUYoAwZd9+tUH7twYh5nVQ0dO56TiDoyWV5RdllMCYwIhAI8jen3vflkCrEKXtTjJacuJzt6jleBk5G+dspsMXYUK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.3.11","description":"Chai plugin for JSON Schema v4","directories":{},"dependencies":{"tv4":"1.0.11","jsonpointer.js":"0.3.0"},"devDependencies":{"chai":"~1.6.1","grunt":"~0.4.2","mocha":"~1.11.0","grunt-cli":"~0.1","requirejs":"~2.1.9","grunt-bump":"0.0.11","grunt-mocha":"~0.4.1","grunt-continue":"0.0.1","grunt-mocha-test":"~0.7.0","grunt-contrib-jshint":"0.6.3","jshint-path-reporter":"~0.1","mocha-unfunk-reporter":"~0.3.7"},"peerDependencies":{"chai":">= 1.6.1 < 2"}},"1.1.0":{"name":"chai-json-schema","version":"1.1.0","keywords":["chai","test","assertion","assert","testing","json","schema","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.1.0","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"homepage":"https://github.com/Bartvds/chai-json-schema","bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"de60b7ec31f2ac49f6428c7c07e365731c578e40","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.1.0.tgz","integrity":"sha512-6vjnJhbyR8x9GzZFxDgVyWCu/3qwFNLSYF8TWm8N3KuEOQT8TsNagz5ysYmxw1NXPxSoy07kYoQQ7Z/kcpXKWQ==","signatures":[{"sig":"MEUCIGEOGEJBQZQXBFLo05GLEnHx1G8a8U2VWHqklj9SKmjWAiEA00fGmDL3Bo2eaJ9lYywvd/cp/waoV0sDt2qXpRmSq+w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.4.3","description":"Chai plugin for JSON Schema v4","directories":{},"dependencies":{"tv4":"~1.0.16","jsonpointer.js":"0.3.0"},"devDependencies":{"chai":"~1.9.0","grunt":"~0.4.2","mocha":"~1.18.0","grunt-cli":"~0.1","requirejs":"~2.1.11","grunt-bump":"0.0.11","grunt-mocha":"~0.4.10","grunt-continue":"0.0.1","grunt-mocha-test":"~0.10.0","grunt-contrib-jshint":"~0.9.2","jshint-path-reporter":"~0.1","mocha-unfunk-reporter":"~0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 2"}},"1.2.0":{"name":"chai-json-schema","version":"1.2.0","keywords":["chai","test","assertion","assert","testing","json","schema","json-schema"],"author":{"url":"https://github.com/Bartvds","name":"Bart van der Schoor"},"_id":"chai-json-schema@1.2.0","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"homepage":"https://github.com/Bartvds/chai-json-schema","bugs":{"url":"https://github.com/Bartvds/chai-json-schema/issues"},"dist":{"shasum":"182c77094f4548951e6ff5a47cb2f7bf0373c8f8","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.2.0.tgz","integrity":"sha512-6A0yxCnhnrrZDAC1Jw/YtaHVs6HB+SUD1zkT54SGQB16zyEbxW9P7I06K4yth31b7YWyyIDHdbJ0Qeh6iIPlSA==","signatures":[{"sig":"MEYCIQChVfIdqLXNJjglccR4HUYmCquWQ2o+i1vHeTocT5iLsQIhAJIq4QaBh4y21ZJT8on6og7UYzMwgDHFtUaQ96ZQSYqW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"182c77094f4548951e6ff5a47cb2f7bf0373c8f8","engines":{"node":">= 0.10"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"licenses":[{"url":"https://github.com/Bartvds/chai-json-schema/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"https://github.com/Bartvds/chai-json-schema.git","type":"git"},"_npmVersion":"1.4.9","description":"Chai plugin for JSON Schema v4","directories":{},"dependencies":{"tv4":"~1.1.9","jsonpointer.js":"0.3.0"},"devDependencies":{"chai":"^2.0","grunt":"~0.4.2","mocha":"~1.18.0","grunt-cli":"~0.1","requirejs":"~2.1.11","grunt-bump":"0.0.11","grunt-mocha":"~0.4.10","grunt-continue":"0.0.1","grunt-mocha-test":"~0.10.0","grunt-contrib-jshint":"~0.9.2","jshint-path-reporter":"~0.1","mocha-unfunk-reporter":"~0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 3"}},"1.3.0":{"name":"chai-json-schema","version":"1.3.0","keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"author":{"url":"https://github.com/chaijs","name":"Bart van der Schoor"},"license":"MIT","_id":"chai-json-schema@1.3.0","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"},{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},{"name":"enrise","email":"npm@enrise.com"}],"homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"dist":{"shasum":"c395ec76fca309366e66edc250c898dda188f8ab","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.3.0.tgz","integrity":"sha512-f5PEv9oZcguj1XMgovVm0vaZibiA3Zu4g/jHD6KZGdIJiI7dwV+ZbY3ylVnzs51ToewA5Q7zvQBruqC92ulDfg==","signatures":[{"sig":"MEUCIFYb3Bqrycf8Y06hfXpgNzz7sS08lGKhJCSetFYd8ogJAiEA83RI1cDq84b7uXfTN03Jh80LIxd75h/1Df8AH1DQ9F0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","_shasum":"c395ec76fca309366e66edc250c898dda188f8ab","engines":{"node":">= 0.10"},"gitHead":"80473eaa74e3af790b47d35629884a144cc0fbe0","scripts":{"test":"grunt test"},"_npmUser":{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},"repository":{"url":"git+https://github.com/chaijs/chai-json-schema.git","type":"git"},"_npmVersion":"2.15.1","description":"Chai plugin for JSON Schema v4","directories":{},"_nodeVersion":"0.10.46","dependencies":{"tv4":"~1.2.7","jsonpointer.js":"0.4.0"},"devDependencies":{"chai":"^3.5.0","grunt":"^1.0.1","mocha":"^2.4.5","grunt-cli":"^1.2.0","requirejs":"^2.2.0","grunt-bump":"^0.8.0","grunt-mocha":"^1.0.2","grunt-continue":"^0.1.0","grunt-mocha-test":"^0.12.7","grunt-contrib-jshint":"^1.0.0","jshint-path-reporter":"^0.1.3","mocha-unfunk-reporter":"^0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 4"},"_npmOperationalInternal":{"tmp":"tmp/chai-json-schema-1.3.0.tgz_1472050522176_0.24539583316072822","host":"packages-16-east.internal.npmjs.com"}},"1.4.0":{"name":"chai-json-schema","version":"1.4.0","keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"author":{"url":"https://github.com/chaijs","name":"Bart van der Schoor"},"license":"MIT","_id":"chai-json-schema@1.4.0","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"},{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},{"name":"enrise","email":"npm@enrise.com"}],"homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"dist":{"shasum":"5f053d746dda9f27fd122e9c1376bc1b8f3a5730","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.4.0.tgz","integrity":"sha512-A30FSwTxZUc91hniHwZtM5oscuLBuzbBjThEvf4QVJyLVXt4wTXqN/Zn5hP64zdSeBNkTAwUSV3z6R+g/ydGgA==","signatures":[{"sig":"MEUCIQDp6xq5TNXuVzvRQjKZ7vV5L1p+wHIWpbSmDJWsX41qGwIgApJIkba6Uy9/o+OIBk0eWMOHLStzMwMgdyPl4dTOjeA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","_shasum":"5f053d746dda9f27fd122e9c1376bc1b8f3a5730","engines":{"node":">= 0.10"},"gitHead":"0ed5b4bd1ede534497953ad6ef2b47797111d24e","scripts":{"test":"grunt test"},"_npmUser":{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},"repository":{"url":"git+https://github.com/chaijs/chai-json-schema.git","type":"git"},"_npmVersion":"3.10.3","description":"Chai plugin for JSON Schema v4","directories":{},"_nodeVersion":"6.7.0","dependencies":{"tv4":"~1.2.7","jsonpointer.js":"0.4.0"},"devDependencies":{"chai":"^3.5.0","grunt":"^1.0.1","mocha":"^2.4.5","grunt-cli":"^1.2.0","requirejs":"^2.2.0","grunt-bump":"^0.8.0","grunt-mocha":"^1.0.2","grunt-continue":"^0.1.0","grunt-mocha-test":"^0.12.7","grunt-contrib-jshint":"^1.0.0","jshint-path-reporter":"^0.1.3","mocha-unfunk-reporter":"^0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 4"},"_npmOperationalInternal":{"tmp":"tmp/chai-json-schema-1.4.0.tgz_1476095845352_0.814666302409023","host":"packages-16-east.internal.npmjs.com"}},"1.5.0":{"name":"chai-json-schema","version":"1.5.0","keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"author":{"url":"https://github.com/chaijs","name":"Bart van der Schoor"},"license":"MIT","_id":"chai-json-schema@1.5.0","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"},{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},{"name":"enrise","email":"npm@enrise.com"}],"homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"dist":{"shasum":"6960719e40f71fd5b377c9282e5c9a46799474f6","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.5.0.tgz","integrity":"sha512-+moX379jyiof6dPehj95of3aLn2vfaISYKzXptnGgg2mrB503qMiFcRUhMPXiIFqvLotb2zlPtsVLQY99usagQ==","signatures":[{"sig":"MEYCIQCYMJWmt9hmg/UshF3hMj4Seti+PnWzJFGniSNEQ8s3fAIhALYj6IZ8yyck+EAzDccaSbiNPm7OEMr6pp90qecm0yp4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","_shasum":"6960719e40f71fd5b377c9282e5c9a46799474f6","engines":{"node":">= 4"},"gitHead":"da14f449ccd3d8ff073edffc2af0f167b1827d64","scripts":{"test":"grunt test"},"_npmUser":{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},"repository":{"url":"git+https://github.com/chaijs/chai-json-schema.git","type":"git"},"_npmVersion":"2.15.1","description":"Chai plugin for JSON Schema v4","directories":{},"_nodeVersion":"0.10.48","dependencies":{"tv4":"~1.2.7","jsonpointer.js":"0.4.0"},"devDependencies":{"chai":"^3.5.0","grunt":"^1.0.1","mocha":"^3.1.2","grunt-cli":"^1.2.0","requirejs":"^2.2.0","grunt-bump":"^0.8.0","grunt-mocha":"^1.0.2","grunt-continue":"^0.1.0","grunt-mocha-test":"^0.13.2","grunt-contrib-jshint":"^1.0.0","jshint-path-reporter":"^0.1.3","mocha-unfunk-reporter":"^0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 5"},"_npmOperationalInternal":{"tmp":"tmp/chai-json-schema-1.5.0.tgz_1499861422094_0.10904377163387835","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"chai-json-schema","version":"1.5.1","keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"author":{"url":"https://github.com/chaijs","name":"Bart van der Schoor"},"license":"MIT","_id":"chai-json-schema@1.5.1","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"},{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"},{"name":"enrise","email":"npm@enrise.com"}],"homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"dist":{"shasum":"d9ae4c8f8c6e24ff4d402ceddfaa865d1ca107f4","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-1.5.1.tgz","fileCount":4,"integrity":"sha512-TR/xPDxRhqwFFCWg1HgL8nNWbpNfUwaib6pBN++QKpnd0t+o3+MBvAn5CM1mpdUMaM76oJAtUjGKdjGad01lIA==","signatures":[{"sig":"MEUCIGTr+Pg4HsuJKcxRUO7NAiM1UP1fyADNAtSyaDtaIJOdAiEA4YdCfVGpzl+OfFRGoo3MaC0LMHlIZ7rsLQSOWY2mZuo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2XRmCRA9TVsSAnZWagAAYBwP/3LwropqNYC84QZcnMd/\nlz0DRcijbAvlQ5fmQs1BzGQnGjEEPVvE32XoWZ685lmmcyBcWQENm6+tIvDC\nof4seaFH80twxmu8bmPO/zVGJjq49/munxmLUI+ipDkzR9eRZ7Am5opZdivU\nT2r8ti+i5N9dPrlfTI3DnUzw2h8uDHVUBP0Idd8Vob6msId4yjDn+tPIwpw2\nt8f2J0Bxjiue9OsElTrWSp8vT3eEacYfaX2wAmNTKXT+DqTQnXUSt9qPyyJ1\nziNcERBg/xv8cn8EMFiK8mIiNgcZu1vNL79RCQ0IY2LF0FQ0QGpvgBuOZrP2\nV+KUCmwYIU7bxfM4MiBH4xNixl8Hy/wS4ik8C27KkHoqqbfYuIWVw4bhiPc0\nNGpHVfLA4CNsEzXv2OqlpZtPek+ttvFtiQhhGtwwemcYFzj6eTQ/a4CT3+ys\n53cAClFD6xI1oYMbxaORP23JP62hnID0Nh4UX+bbbS357ruES0dWavD1ItoW\nTLSNCeYj2mJrxXakGESE7vjfPH9x2E7O/yEOE36LPUmEDvbw/Fbw5q+xueEf\nQTr2NAe1m9N7sNkFafAD410pCnb6f63dxhxSYGPBOcSYkbjYiBnMpn59hGaJ\nviILDbNEdotUqFFpITYnkhBL3MZVk5AjcGox4F9rAg+YuxQ1GgDYAJNiuInY\nRtvi\r\n=FF2X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index","engines":{"node":">= 6"},"gitHead":"9328e57aba514a2c589eceb4c84ab4f87070bed3","scripts":{"test":"grunt test"},"_npmUser":{"name":"enrise","email":"npm@enrise.com"},"repository":{"url":"git+https://github.com/chaijs/chai-json-schema.git","type":"git"},"_npmVersion":"6.4.1","description":"Chai plugin for JSON Schema v4","directories":{},"_nodeVersion":"10.15.1","dependencies":{"tv4":"^1.3.0","jsonpointer.js":"0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","grunt":"^1.0.1","mocha":"^6.1.4","grunt-cli":"^1.2.0","requirejs":"^2.2.0","grunt-bump":"^0.8.0","grunt-mocha":"^1.0.2","grunt-continue":"^0.1.0","grunt-mocha-test":"^0.13.2","grunt-contrib-jshint":"^2.1.0","jshint-path-reporter":"^0.1.3","mocha-unfunk-reporter":"^0.4.0"},"peerDependencies":{"chai":">= 1.6.1 < 5"},"_npmOperationalInternal":{"tmp":"tmp/chai-json-schema_1.5.1_1557754981959_0.4523850287162767","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"chai-json-schema","version":"2.0.1","description":"Chai plugin for JSON Schema v4","author":{"name":"Bart van der Schoor","url":"https://github.com/chaijs"},"keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"homepage":"http://chaijs.com","license":"MIT","repository":{"type":"git","url":"git+https://github.com/chaijs/chai-json-schema.git"},"bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"main":"./index","engines":{"node":">= 20"},"scripts":{"lint":"eslint index.js test","format":"prettier --write eslint.config.mjs package.json .prettierrc.json","format:check":"prettier --check eslint.config.mjs package.json .prettierrc.json","test:pass":"mocha test/suite.js","test:fail":"mocha test/fail.js","test":"npm run lint && npm run format:check && npm run test:pass && npm run test:fail"},"dependencies":{"jsonpointer.js":"0.4.0","tv4":"^1.3.0"},"devDependencies":{"@eslint/js":"^9.0.0","chai":"^6.2.2","eslint":"^9.0.0","mocha":"^11.0.0","prettier":"^3.0.0"},"peerDependencies":{"chai":">= 5"},"gitHead":"443ea7ad64722f19cbe2afb86885ff73a119ca71","_id":"chai-json-schema@2.0.1","_nodeVersion":"25.9.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-j4KixyoZB/b4kKjyY4NWSPZJTO4e8mPKwFXYQjB6DgHpmFxcYp+D832ce3ViUHzJ2Vlvl6MRbhOrnwf3CqLaFA==","shasum":"f66c639dadb9905b5910e634a76767e4d99842d9","tarball":"https://registry.npmjs.org/chai-json-schema/-/chai-json-schema-2.0.1.tgz","fileCount":4,"unpackedSize":15705,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/chai-json-schema@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDi2VZBYxdSDDBTqQnLtUoAzkNBh9rjLxqBRLx0qfe/IgIhAL0SUhTCq0JCAtxj0Fy33UROFbDpTVtrgmCW2W81PbqH"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7ff2e3db-8de2-448f-a2f5-c72db7b7fb38"}},"directories":{},"maintainers":[{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chai-json-schema_2.0.1_1782905909919_0.24610801957592576"},"_hasShrinkwrap":false}},"time":{"created":"2013-06-26T19:34:30.710Z","modified":"2026-07-01T11:38:30.388Z","1.0.2":"2013-06-26T19:34:34.869Z","1.0.3":"2013-06-27T16:31:01.753Z","1.0.4":"2013-07-23T23:54:44.904Z","1.0.5":"2013-08-10T21:14:58.399Z","1.0.7":"2013-11-18T21:02:41.632Z","1.0.10":"2013-11-28T17:50:00.312Z","1.1.0":"2014-03-17T18:10:22.554Z","1.2.0":"2015-08-10T19:25:36.606Z","1.3.0":"2016-08-24T14:55:24.958Z","1.4.0":"2016-10-10T10:37:26.198Z","1.5.0":"2017-07-12T12:10:23.090Z","1.5.1":"2019-05-13T13:43:02.055Z","2.0.1":"2026-07-01T11:38:30.076Z"},"bugs":{"url":"https://github.com/chaijs/chai-json-schema/issues"},"author":{"name":"Bart van der Schoor","url":"https://github.com/chaijs"},"license":"MIT","homepage":"http://chaijs.com","keywords":["array","assert","assertion","browser","chai","chai-plugin","json","json-schema","objects","schema","test","testing"],"repository":{"type":"git","url":"git+https://github.com/chaijs/chai-json-schema.git"},"description":"Chai plugin for JSON Schema v4","maintainers":[{"name":"chaijs","email":"chaijs@keithcirkel.co.uk"}],"readme":"# chai-json-schema\n\n[![npm version](https://img.shields.io/npm/v/chai-json-schema.svg?style=flat-square)](https://www.npmjs.com/package/chai-json-schema)\n[![CI](https://github.com/chaijs/chai-json-schema/actions/workflows/ci.yml/badge.svg)](https://github.com/chaijs/chai-json-schema/actions/workflows/ci.yml)\n[![downloads](https://img.shields.io/npm/dm/chai-json-schema.svg?style=flat-square)](https://www.npmjs.com/package/chai-json-schema)\n[![license](https://img.shields.io/npm/l/chai-json-schema.svg?style=flat-square)](./LICENSE-MIT)\n\n> [Chai](http://chaijs.com/) plugin with assertions to validate values against [JSON Schema v4](http://json-schema.org/).\n\nAssert both simple values and complex objects with the rich collection of [validation terms](http://json-schema.org/latest/json-schema-validation.html) ([examples](http://json-schema.org/examples.html)).\n\nFor general help with json-schema see this excellent [guide](http://spacetelescope.github.io/understanding-json-schema/) and usable [reference](http://spacetelescope.github.io/understanding-json-schema/reference/index.html).\n\n## Status\n\nMaintained on a low-frequency basis. The 2.x line supports chai 5 and 6 and changes how the bundled `tv4` instance is exposed; see the [changelog](./CHANGELOG.md) if you are upgrading from 1.x.\n\n## Compatibility\n\n|                | Supported                                             |\n| -------------- | ----------------------------------------------------- |\n| Node (runtime) | `>= 20` (per `engines.node`; CI tested on 20, 22, 24) |\n| chai (peer)    | `>= 5` (chai 5 and 6)                                 |\n| JSON Schema    | draft-04 (via `tv4`)                                  |\n\n## Notes\n\nJSON Schema validation is done by [Tiny Validator tv4](https://github.com/geraintluff/tv4). tv4 is unmaintained and only supports JSON Schema draft-04. If you need newer drafts or better performance, [`chai-json-schema-ajv`](https://github.com/chaijs/chai-json-schema-ajv) is the `ajv`-backed successor plugin.\n\nThe assertion will fail if a schema uses a `$ref` to a schema that is not added before the assertion is called. Use `chaiJsonSchema.tv4.addSchema(uri, schema)` to preset schemas.\n\nJSON Schema's main use-case is validating JSON documents and API responses, but it is also a powerful way to describe and validate _any_ JavaScript value or object.\n\n## Usage\n\nInstall from npm:\n\n```bash\nnpm install chai-json-schema\n```\n\nRegister the plugin with chai. Keep a reference to the plugin if you want to configure the bundled `tv4` instance (see [Additional API](#additional-api)):\n\n```js\nconst chai = require('chai');\nconst chaiJsonSchema = require('chai-json-schema');\n\nchai.use(chaiJsonSchema);\n```\n\n## Assertions\n\n### jsonSchema(value, schema)\n\nValidate that the given javascript value conforms to the specified JSON Schema. Both the value and schema would likely be JSON loaded from an external datasource but could also be literals or object instances.\n\n```js\nvar goodApple = {\n  skin: 'thin',\n  colors: ['red', 'green', 'yellow'],\n  taste: 10\n};\nvar badApple = {\n  colors: ['brown'],\n  taste: 0,\n  worms: 2\n};\nvar fruitSchema = {\n  title: 'fresh fruit schema v1',\n  type: 'object',\n  required: ['skin', 'colors', 'taste'],\n  properties: {\n    colors: {\n      type: 'array',\n      minItems: 1,\n      uniqueItems: true,\n      items: {\n        type: 'string'\n      }\n    },\n    skin: {\n      type: 'string'\n    },\n    taste: {\n      type: 'number',\n      minimum: 5\n    }\n  }\n};\n\n// bdd style\nexpect(goodApple).to.be.jsonSchema(fruitSchema);\nexpect(badApple).to.not.be.jsonSchema(fruitSchema);\n\ngoodApple.should.be.jsonSchema(fruitSchema);\nbadApple.should.not.be.jsonSchema(fruitSchema);\n\n// tdd style\nassert.jsonSchema(goodApple, fruitSchema);\nassert.notJsonSchema(badApple, fruitSchema);\n```\n\n## Additional API\n\nThe `tv4` instance is exported as `chaiJsonSchema.tv4` and can be accessed to add schemas for use in validations:\n\n```js\nchaiJsonSchema.tv4.addSchema(uri, schema);\n```\n\nThere are other useful methods:\n\n```js\nvar list = chaiJsonSchema.tv4.getMissingUris();\nvar list = chaiJsonSchema.tv4.getMissingUris(/^https?:/);\n\nvar list = chaiJsonSchema.tv4.getSchemaUris();\nvar list = chaiJsonSchema.tv4.getSchemaUris(/example.com/);\n\nvar schema = chaiJsonSchema.tv4.getSchema('http://example.com/item');\nvar schema = chaiJsonSchema.tv4.getSchema('http://example.com/item/#sub/type');\n\nchaiJsonSchema.tv4.dropSchemas();\n```\n\nFor more API methods and info on the validator see the [tv4 documentation](https://github.com/geraintluff/tv4#api).\n\n### Non-standard tv4 properties\n\n**Cyclical objects**\n\nThis will be passed to the internal `tv4` validate call to enable [support for cyclical objects](https://github.com/geraintluff/tv4#cyclical-javascript-objects). It allows tv4 to validate normal javascript structures (instead of pure JSON) without risk of entering a loop on cyclical references.\n\n```js\nchaiJsonSchema.tv4.cyclicCheck = true;\n```\n\nThis is slightly slower than regular validation so it is disabled by default.\n\n**Ban unknown properties**\n\n```js\nchaiJsonSchema.tv4.banUnknown = true;\n```\n\nPassed to the internal `tv4` validate call, makes validation fail on unknown schema properties. Use this to make sure your schema does not contain undesirable data.\n\n**Validate multiple errors**\n\n```js\nchaiJsonSchema.tv4.multiple = true;\n```\n\nCalls `tv4.validateMultiple` for validation instead of `tv4.validateResult`. Use this if you want to see all validation errors.\n\n### Remote references\n\nDue to the synchronous nature of assertions there is no support for dynamically loading remote references during validation.\n\nUse the asynchronous preparation feature of your test runner to preload remote schemas:\n\n```js\n// simplified example using a bdd-style async before();\n// as used in mocha, jasmine etc.\n\nbefore(function (done) {\n  // iterate missing\n  var checkMissing = function (callback) {\n    var missing = chaiJsonSchema.tv4.getMissingUris();\n    if (missing.length === 0) {\n      // all $ref's solved\n      callback();\n      return;\n    }\n    // load a schema using your favourite JSON loader\n    // (jQuery, request, SuperAgent etc)\n    var uri = missing.pop();\n    myFavoriteJsonLoader.load(uri, function (err, schema) {\n      if (err || !schema) {\n        callback(err || 'no data loaded');\n        return;\n      }\n      // add it\n      chaiJsonSchema.tv4.addSchema(uri, schema);\n      // iterate\n      checkMissing(callback);\n    });\n  };\n\n  // load first instance manually\n  myFavoriteJsonLoader.load(uri, function (err, schema) {\n    if (err || !schema) {\n      done(err || 'no data loaded');\n      return;\n    }\n    // add it\n    chaiJsonSchema.tv4.addSchema(uri, schema);\n\n    // start checking\n    checkMissing(done);\n  });\n});\n```\n\n## History\n\nSee [Releases](https://github.com/chaijs/chai-json-schema/releases).\n\n## Development\n\nIn a git checkout:\n\n```bash\nnpm install\nnpm test\n```\n\n`npm test` runs ESLint, the Prettier format check, and both Mocha suites (passing assertions and failing-on-purpose assertions). CI runs the same flow on Node 20, 22 and 24.\n\n## License\n\nCopyright (c) 2013 Bart van der Schoor\n\nLicensed under the MIT license.\n","readmeFilename":"README.md","users":{"yvesm":true,"hualei":true,"princetoad":true,"charlie.wilson":true}}