The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com
Update JSON Schema Test Suite.
Change minContains: 0
now correctly allows empty array.
Fix $ref resolution for schemas without $id (@rbuckton, #1725)
Support standalone module import from ESM modules without using .default
property (@bhvngt, #1757)
Update code for breaking TS change - error in catch
has type unknown
(#1760)
Fix JTD serialiser (#1691)
Fix "not" keyword preventing validation of "allOf" and some other keywords (#1668)
Track evaluated properties with patternProperties that have always valid schemas (e.g., true) (@P0lip, #1626)
Option int32range
to disable number range checking for int32
and uint32
type in JTD schemas
Optimize validation code for const
keyword with scalar values (@SoAsEr, #1561)
Add option schemaId
to support ajv-draft-04 - Ajv for JSON Schema drat-04.
JSON Type Definition schema options:
timestamp
type as Date objects.timestamp
type.Typescript improvements:
Add JTDDataType to compile signature (@erikbrinkman, #1547) Improve JSONSchemaType for records (@erikbrinkman, #1564) Use rollup for browser bundles (@realityking, #1533) Docs corrections