Skip to content

Commit a1aeb10

Browse files
author
Sander Beekhuis
committed
docs: Note about ajv and chai-json-schema-ajv in readme
1 parent b0a71c6 commit a1aeb10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ The assertion will fail if a schema use a `$ref` to a schema that is not added b
2020

2121
JSON Schema's main use-case is validating JSON documents and API responses, but it is also a powerful way to describe and validate *any* JavaScript value or object.
2222

23+
It seems that tv4 is not actively developed anymore, nor does it support versions of JSON schema after draft-04.
24+
However this chai plugin will use tv4 as its backend for the forseeable future. If you want newer versions of the JSON-schema or more performance you could look at using
25+
[ajv](https://github.com/epoberezkin/ajv) in conjunction with [chai-json-schema-ajv](https://github.com/up9cloud/chai-json-schema-ajv)
26+
2327
## Usage
2428

2529

@@ -216,7 +220,7 @@ before(function (done) {
216220
````
217221

218222
## History
219-
See [Releases](https://github.com/chaijs/chai-json-schema/releases).
223+
See [Releases](https://github.com/chaijs/chai-json-schema/releases).
220224

221225
## Build
222226

0 commit comments

Comments
 (0)