ajv
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)
**What issue does this pull request resolve?** Adds warning about grapheme clusters to maxLength / minLength docs. **What changes did you make?** Only docs **Is there anything that requires more...
**What version of Ajv are you using? Does the issue happen if you use the latest version?** latest (8.13.0) **Ajv options object** ```javascript const options = { discriminator: true, async...
**What version of Ajv you are you using?** latest **What problem do you want to solve?** `const schema = { type: 'object', properties: { name: { type: 'string', title: 'Name',...
Make the discriminator code generation throw MissingRefError when the $ref does not synchronously resolve so that compileAsync can loadSchema and retry. **What issue does this pull request resolve?** #2427 **What...
**What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.13.0 - happening in latest version - yes **Ajv options object** ``` {}...
Originally by @yonran - I had to start a fresh PR and cherry-pick due to some unknown coveralls error on his PR. Description taken from original. **What issue does this...
The use of "not more" with the reverse ordering of the sentence made this difficult to parse. After reversing the order and removing negation, the surrounding paragraphs were updated to...
I've got a custom keyword that I'd like to be able to set a dynamic error message with, based on schema properties for the field being validated. I cannot find...
**What version of Ajv you are you using?** `8.12.0` **What problem do you want to solve?** We have a server-side "repository" of schemas that we lazy-compile (and cache) only when...
While build process using Craco Getting error **Cannot find module 'ajv/dist/compile/codegen'** Below is the call stack generated By craco Build using node version **"v16.15.1"** and npm version **"8.11.0"**. This issue...