UNPKG

@squiz/json-schema-library

Version:

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation

16 lines (11 loc) 622 B
# Tasks - [ ] compile needs another parameter for rootschema, in case refs are defined elsewhere ### possibly - [ ] remove hard coded schema interpretation - [ ] Improve -- _oneOf-Error messages_ (specific errors where possible, instead of one-of-error) - [ ] Add -- Resolve $ref local json-pointer without requiring compiled schema - [ ] Refactor -- move type validation as keyword to validation/keywords - [ ] Refactor -- Use addValidation to setup base validation mappings? - [ ] Features -- latest draft support - [ ] Refactor -- improve performance - [ ] Feature -- Helper to find a json- and json-schema-pointer