jsonschema-rs
jsonschema-rs copied to clipboard
JSON Schema validation library
I have JSON schema splitted to more than one file (with refs) in local filesystem. I use in python: `jsonschema_rs.JSONSchema.from_str` and then `validate`. Result: >failed to resolve json-schema:///myschema.schema.json: cannot resolve...
In our use case, we're accepting small patches to a JSON document and we'd like to be able to validate the changed path only. From a public API standpoint, we'd...
Hi @Stranger6667! Thank you very much for creating this awesome library! I've written some code that adds ajv-ish way to define custom keywords. Would you be considering adding something like...
I just ran across this library and had a look at the docs... I didn't see any examples of how to extend with a custom keyword. Is this possible?
This library has wide support of JSON Schema, supporting several drafts. Would it be possible to also support related tabular data schemas like [JSON Table Schema](http://dataprotocols.org/json-table-schema/) or [CSV on the...
The core idea behind this library is to store all keywords as a tree similar to the original schema JSON object. However, the implementation is not as efficient as I'd...
I'm using `jsonschema-rs` inside PostgreSQL via `plpython3u`. When I use PG's `TRANSFORM FOR TYPE JSONB` instead of python's `json.loads(...)` floats are converted to `decimal.Decimal`. This results in: ``` ValueError: Unsupported...
Validating multipleOf values non integer values is problematic. It can be argued if this is a bug or a logical result of how floats work, but the result below will...
- [ ] Avoid lifetimes. There is already `Arc` inside validators, this might be a way to avoid refs to the schema. - [ ] Rename `validate` to `iter_errors` and...
The underlying crate knows how to serialize the validation results according to the JSON Schema spec. The Python bindings miss it at the moment