json-schema-filter
json-schema-filter copied to clipboard
Filters (removes) objects from document based on passed json-schema
Perhaps I'm missing something, but the example shows validation keys that I don't see anywhere in the source code: 'required', or blocks like this: ` "age": { "description": "Age in...
ref: https://stackoverflow.com/questions/12017693/why-use-object-prototype-hasownproperty-callmyobj-prop-instead-of-myobj-hasow
Any chance this will get additional properties support? I'm trying to use this to filter map/dictionary style responses but I'm a JS noob and have been having a hard time...
I think there is a clash because the GeoJSON object has a object called `properties`.
Hey I am using this module to whitelist keys that can be exposed by API. IMHO the filter should not omit key-value pairs that have `null` as value. As the...
I'm using [tv4](https://github.com/geraintluff/tv4) for validation, and I like how it fully supports referencing schemas by URIs as per the [spec](http://json-schema.org/latest/json-schema-core.html#anchor25). Would you be up for supporting the [`addSchema`](https://github.com/geraintluff/tv4#addschemauri-schema) function from...
What do you think of adding code to this library to check that the input is an object? Right now, the code below would throw an error: ``` javascript var...