{"library":"ajv-draft-04","type":"library","category":null,"description":"Extends Ajv (v8.5+) to support JSON Schema draft-04 validation. Version 1.0.0 is the first stable release. Maintained by the Ajv team, it is the recommended way to validate draft-04 schemas with Ajv v8. It seamlessly integrates with Ajv's API and options, enabling strict mode, custom keywords, and formats. Unlike the older ajv v6, which natively supported draft-04, this package allows using the latest Ajv with legacy schemas. Ships TypeScript definitions.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","Ajv","JSON-Schema","validation","draft-04","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ajv-draft-04","imports":["import Ajv from 'ajv-draft-04'","const Ajv = require('ajv-draft-04')","import Ajv from 'ajv-draft-04'\nimport addFormats from 'ajv-formats'\naddFormats(ajvInstance)"]},{"cmd":"yarn add ajv-draft-04","imports":[]},{"cmd":"pnpm add ajv-draft-04","imports":[]}],"homepage":"https://github.com/ajv-validator/ajv-draft-04#readme","github":"https://github.com/ajv-validator/ajv-draft-04","docs":null,"changelog":null,"pypi":null,"npm":"ajv-draft-04","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}