jsonschema icon indicating copy to clipboard operation
jsonschema copied to clipboard

An implementation of the JSON Schema specification for Python

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

I need to have a schema allowing extra fields only under one specific node (ExtensionProperties). It works well using "additionalProperties": false with simple schemas: ``` { "$schema": "https://json-schema.org/draft/2019-09/schema#", "type": "object",...

Needs Simplification

After getting the go-ahead in https://github.com/python-jsonschema/jsonschema/issues/1017 I thought I would test the waters both in size and scope of potential PRs. Feel free to ask me to separate some of...

updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.9...v0.4.10) ---- 📚 Documentation preview 📚: https://python-jsonschema--1273.org.readthedocs.build/en/1273/

In continuation to #1250. The fix has seemingly undesired side effect. ```python from jsonschema import Draft202012Validator as Validator, exceptions schema = {'oneOf': [ {'properties': {'run': {'type': 'string'}}, 'required': ['run']}, {'properties':...

Bug
Error Reporting

Sometimes a schema contains annotation-only keywords (particularly e.g. `description` or `$comment`) which effectively serve no purpose when reporting validation errors and essentially make the output longer / harder to read...

Error Reporting
Dialects v2

Hey there! I'm in the market for a python jsonschema implementation to use in a large OSS project with strict requirements to vendor-in all source and build from scratch. This...

I know you do not claim that python 3.13 is work yet. using jsonschema-4.22.0-py3-none-any.whl When I tried a github actions install with allow-prereleases python 3.13 I got the error below....

Improves `best_match` in the presence of `anyOf` / `oneOf`. Calculate the most relevant error in each separate subschema and choose the deepest one. In particular, for `anyOf` / `oneOf` keywords...

updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.6.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.1...v0.6.2) ---- 📚 Documentation preview 📚: https://python-jsonschema--1296.org.readthedocs.build/en/1296/

Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.04.15 to 2024.10.09. Release notes Sourced from wntrblm/nox's releases. 2024.10.09 🎃 This release adds explicit support for Python 3.13 and drops support for running Nox itself under...

dependencies
github_actions