json-gate
json-gate copied to clipboard
A friendly, fast JSON schema validator
The max and min length strings were indented with spaces, while everything else was with tabs. This caused odd display issues.
I think the readme/comments should be reworded, it says that if you pass a callback the function will execute asynchronously which is not true. It still runs synchronously, it just...
Right now the pattern attribute in the schema is always supposed to be a string. However, if we want a regular expression which ignores case, it cannot be done with...
Hi, I think "extends" based inheritance is nit supported yet, right?! So that would be nice. Thanks
This feature remove all non-matching properties from original JSON object. How to use: `additionalProperties: 'remove'` See bellow: ``` // Schema { str: { type: 'string' }, additionalProperties: 'remove' } ```...
Add a creditcard format. This feature checks if a string contains a valid credit card number.
Adds tests schema and object Describes in README
Hello! What about multiple error support during validation? It can be very usefull sometimes. For example, not to force users of my site to submit erroneous form again and again.