jsonschema icon indicating copy to clipboard operation
jsonschema copied to clipboard

An implementation of the JSON Schema specification for Python

Results 78 jsonschema issues
Sort by recently updated
recently updated
newest added

On upgrade from 4.7 to 4.8 we ended up getting much less specific errors on "oneOf" schema validation with nested sub-schemas. I assume this is tied to the commit bd5ea732d2571b6522ecd83d79bd185590bac27d...

Waiting for Author

Hi, thanks for a great project! We've stumbled across an issue with misleading error messages, although I'm not sure if there is a useful fix. - `jsonschema` version: `3.2.0` -...

Enhancement
Error Reporting

When using a custom scheme, such as `custom://`, intra-schema relative references will fail to resolve. They only fail, however, in schemas referenced from the base schema passed to the validator....

Bug

I try to validate the user json schema using `DraftXValidator.check_schema`. But it appears that the validator doesn't check that the regex is valid. I get a crash later when validating...

Bug

Trying to figure out if there is a way to retrieve the name of a missing required property from an error (without hacking it out of error.message). For example: ```...

Enhancement
Error Reporting

As explained in the title, when resolving a schema on Python version (< 3.6) where dict implementation does not keep key insertion ordering, the object key order can be lost....

Enhancement

In Python 3.6, a Protocol was added (`os.PathLike`), which specifies that any object that provides `__fspath__()` represents a path; this includes `pathlib`, `importlib.resources.files` (Python 3.8+), and various third party libraries....

Enhancement

Hi, I would need to translate the error messages and it happens to be more complicated than I expected (or than it could be, I believe). I started using [information...

Enhancement
Error Reporting

Looks like a small regression, maybe due to the migration from `setup.cfg` to `pyproject.toml`? ```shell # works and installs the dependencies as expected $ pip install 'jsonschema[format_nongpl]==4.5.1' # raises a...

Bug

I enjoy using the `$ref` stuff (and `$id`) but I really never want my validators to _actually_ access the network. I used a RefResolver instance to map some schemas together,...

Enhancement