schema-tools
schema-tools copied to clipboard
Validate, sanitize and document JSON schemas
- [x] maxLength - [x] minLength - [ ] multipleOf - [ ] uniqueItems - [ ] contains etc etc etc
Maybe the `trim` should be replaced with https://github.com/mafintosh/is-my-json-valid#filtering-away-additional-properties
for example when adding a property that is an array, there is no way to set its `items` parameters.
Things like `uri` and `date-time` - should they always be in the list of formats? Or only when used?
When additional properties on a nested object, still prints something like: ``` data.instances.0 has additional properties ```
When documenting schemas, it would be nice to add links to the source file and the tests
When validating an object against a schema, return [Validation](http://folktale.origamitower.com/api/v2.1.0/en/folktale.validation.html) object with text message. Or maybe to Result http://folktale.origamitower.com/api/v2.1.0/en/folktale.result.html?
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [semantic-release](https://togithub.com/semantic-release/semantic-release) | [`19.0.3` -> `19.0.5`](https://renovatebot.com/diffs/npm/semantic-release/19.0.3/19.0.5) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [node](https://togithub.com/nodejs/node) | |...