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

**What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.11.0 **Ajv options object** ```javascript {} ``` **JSON Schema** ```javascript const schema =...

limitation

This is solving an issue where it's impossible for me to import Ajv in a typescript project. This solves #2047 for me import { Ajv } from 'ajv'; **What issue...

**The version of Ajv you are using** **Operating system and node.js version** **Package manager and its version** **Link to (or contents of) package.json** **Error messages** **The output of `npm ls`**

installation

**What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.12.0 **Your typescript code** [Playground](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgKQMoHkByqDGALAUxAEMAVATzALgF84AzKCEOAcmICsA3VgKF4IA7AK4sAolyHwEvOHLgAxdOjgBeNvQgRWAGlnyAQgEEASmrYAjYlF28a-YIJgEo9YjmoAFYuQA2EYgATRH05AG0JKQA6JXQAXQAuEPkUuGJfYA8kgGcYKEcAcz0UmgBuULgIySco4xNE5NS5CwgLHLzC4vkyu34YSi8ffyDcQhJzGRSwgmr4RzhIpwa0LFGiMgGAHm8-AMDp2biAPnKe3hwIQVy4MCG9tZIkneHAh+IJiqro2IbJprh+lQkqxWhwCDgYLZ-jcmFRYMACNkkn9oXJ0pkCMiAQNgbl8oICqxaF0mjQSakoAQAI7CYCUwJJMLsDIeVhxclkz6LGC1Uy-CopQGYtig8GQ8kpMCwlwwBFIxqouAtNqIbFAth4wpEznQnX-Sk0ukEBmVVjKtkcvT2XiOZyudzUACyiOyxAKBE2YjgBAAHs5BIFsgtZkcFd7ZkkxOVJXcgk9Y698OsInFTn0BnBndlXe63p7vX6hIHg1JQ+oVtgkyQKFRNlmcx6xEcTvxfZBYHALld4O6YPW3QQ3uZ877-cXuUcABQVGZSGvCsS8ACUSX7uarxE9ZdDKLglJgwiggjDgpxIosYIhUP+UogcNliORAv+s6cWKFuI6BN03pEIEZr4wPOcTEs+TS3LscY3AmbwHHOAzsmBoHQgatL0oyrCAT+rAQS8FoVD0PRAA) ```typescript import { JSONSchemaType } from 'ajv' enum...

limitation
typescript

**What version of Ajv are you using? Does the issue happen if you use the latest version?** 8.12.0. Yes. **Your code** See: https://stackoverflow.com/questions/75395134/ajv-does-not-throw-type-errors-when-given-incorrect-schema-for-a-union-type-in-t and [typescript playground](https://www.typescriptlang.org/play?jsx=0&ts=4.7.2#code/JYWwDg9gTgLgBAKjgQwM4oFYDc4DMoQhwDky2xA3AFBUCmAdgK5ECiTIAYsLQDYAmcAN5U4cAPIA5FnAC8JSS2IAaEXAAqAdTGySmscSoBfGsHoxaUXMgDGtOBwgQAQmjvDRAI2RQAXHFQwUKYA5tSeyABefgFB9KGqAPQJcCDI9ACecBAwABYWeNz8qEYmZhZWtvaOYvR2tAAe5vR86A7OrkKqDMxcvHx+bD2FfAB0Cl2NUMi9-NGBISVUpuaWNnZtagDuEHANTS1V7ahuXewz-XCDnMMjeosw6WDrjjptNXYAPodbENRU1hB6AFDgBlax5VJ+MhYEYAKRBkjBEOQaketAAPG0AHw6dxwB5PPzECAeDC0awwZSqMAEJ6wbioPx48K+Tqidn4tFEmIhAwcwwqDleKJsjmcwkkHlxPnsgWqUTda59Jny9kE2jc+bS1XGURy0RQWgAR0YwENFwA2gBdRYAoHwNpI2ipNQ5ZAwVAAEVouFMwHMPHSGgIcSh2DhCIkTpdaMxjhxcjx6qJJLJFKpohpEDpMAZKqF3nzYuTkq1wRlesF7OFRY5JeIUvLOqrCrOw1raq5pdiTf5Ld2k2m7dFda7xHYHgsFbgupnVcNJrNtEtNuM-0BqAgPFoIx4EGCAApHeDncgAJTroFbnd7w-H5Gu91en1+gNBkPBM9AA) ```javascript import * as...

limitation
typescript

**What version of Ajv you are you using?** 8.11.2 **What is the problem** [The docs](https://ajv.js.org/api.html#ajv-addkeyword-definition-string-object-ajv) are missing, that `":"` also is an allowed non-leading character in custom keywords added via...

docs

**What version of Ajv are you using? Does the issue happen if you use the latest version?** latest, yes **Ajv options object** {} ```javascript import {JSONSchemaType} from "ajv" interface Foo...

limitation
typescript

**What version of Ajv are you using? Does the issue happen if you use the latest version?** latest **Ajv options object** ```{}``` ```javascript import {JSONSchemaType} from 'ajv' type Schema =...

limitation
typescript

**What version of Ajv you are you using?** 8.12.0 **What problem do you want to solve?** ``` type MyData = JTDDataType ``` for this ``` type MyData = JSONSchemaDataType ```...

enhancement

**What version of Ajv you are you using?** 8.11.0 **What problem do you want to solve?** I have a schema with a `not` clause which, on failure, returns a very...

enhancement