{"library":"chai-json-schema","type":"library","category":null,"description":"Chai plugin for validating values against JSON Schema v4. Current stable version 1.5.1, maintained as a legacy plugin using Tiny Validator tv4 for schema validation. Supports draft-04 only, with no support for later drafts. Key differentiator: provides BDD and TDD assertions directly in Chai tests. Release cadence is low; last release was 2019. Consider chai-json-schema-ajv for newer JSON Schema versions.","language":"javascript","status":"maintenance","version":"1.5.1","tags":["javascript","array","assert","assertion","browser","chai","chai-plugin","json","json-schema"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install chai-json-schema","imports":["const chai = require('chai'); chai.use(require('chai-json-schema'));","const assert = require('chai').assert; assert.jsonSchema(value, schema);","expect(value).to.be.jsonSchema(schema);"]},{"cmd":"yarn add chai-json-schema","imports":[]},{"cmd":"pnpm add chai-json-schema","imports":[]}],"homepage":"http://chaijs.com","github":"https://github.com/chaijs/chai-json-schema","docs":null,"changelog":null,"pypi":null,"npm":"chai-json-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}