cybertk / cybertk/abao

Replace `tv4` JSON Schema validator

Open
#236 0 comments 0 reactions 1 assignee Claimed by @plroebuck View on GitHub
enhancement
Dominant language
CoffeeScript
Stars
352
Forks
57
PR merge metrics
No merged PRs in 30d

Description

As the [tv4](https://github.com/geraintluff/tv4) package no longer seems to get any love (last updated in Sep 2015), I've looked around for a replacement.

[Benchmarks](https://github.com/ebdrup/json-schema-benchmark/) show the [ajv](https://github.com/epoberezkin/ajv) package to be an excellent candidate -- it's about 50 times faster than `tv4` and passes all tests (except one which no JS implementation can). It also supports
JSON Schema draft-07. While not a drop-in replacement, its API is very similar in many respects to `tv4` so _hopefully_ minimal changes will be needed for the migration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.