ajv icon indicating copy to clipboard operation
ajv copied to clipboard

The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

Results 288 ajv issues
Sort by recently updated
recently updated
newest added

**Problem** Allow some advanced logic for data validation based on annotation keywords etc. **Solution** Do not short-circuit anyOf keyword with allErrors: true option Provide a separate option to override this...

enhancement
option

**What version of Ajv you are you using?** 8.10.0 **What problem do you want to solve?** Allow `if`/`then`/`else` validation failures to return more meta in the error to derive what...

enhancement

**What version of Ajv are you using? Does the issue happen if you use the latest version?** `8.13.0` **Ajv options object** ```javascript ajv = new Ajv({}); ``` **JSON Schema** ```json...

bug

**What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.13.0 With 8.12.0 the following TypeScript code works: ``` import Ajv from 'ajv';...

bug
breaking

When using the electron-store plug-in (https://github.com/sindresorhus/electron-store), it prompts Cannot find module 'ajv/dist/compile/codegen'. What is the problem?

compatibility
missing info

**What issue does this pull request resolve?** This PR fixes issues #2350 and #2343. It removes the (deep) dependency on `punycode`, a deprecated module. **What changes did you make?** I...

## Motivation When developing a RESTful server using Express.js, Fastify.js, etc. in a Node environment, it uses json-schema to validate API request inputs. If you're using json-schema to validate request...

question

**What version of Ajv you are you using?** 8.12.0 **What problem do you want to solve?** I have an existing schema where I'm trying to use it's integer properties as...

enhancement

*What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.12.0 **Ajv options object** none ```typescript import Ajv, { JTDSchemaType } from 'ajv/dist/jtd'...

missing info
bug report

**What version of Ajv you are you using?** 8.12.0 **What problem do you want to solve?** Currently is not possible to assign different compilation options to each specific schema. For...

enhancement