ExodusMovement / schemasafe

A reasonably safe JSON Schema validator with draft-04/06/07/2019-09/2020-12 support.
https://npmjs.com/@exodus/schemasafe
MIT License
156 stars 12 forks source link

Add $vocabulary support #105

Closed ChALkeR closed 4 years ago

ChALkeR commented 4 years ago

It just checks against a list of known vocabularies, we can't do anything else (and are not supposed to).

This will allow to enable more JSON Schema Test Suite tests after a bit more fixes.

codecov-commenter commented 4 years ago

Codecov Report

Merging #105 into master will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted Files Coverage Δ
src/index.js 99.02% <100.00%> (+0.01%) :arrow_up:
src/known-keywords.js 100.00% <100.00%> (ø)