jsonschema-path
JSONSchema Spec with object-oriented paths
Install
jsonschema-path on PyPI
pip
pip install jsonschema-pathuv
uv add jsonschema-pathpoetry
poetry add jsonschema-pathPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — PyYAML, attrs, pathable, referencing |
| Maintenance | actively maintained — 86 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: jsonschema_path-0.5.0-py3-none-any.whl
Keywords: jsonschema, swagger, spec
About jsonschema-path
from the package's own PyPI description — quoted content, verbatim
JSONSchema Path
.. image:: https://img.shields.io/pypi/v/jsonschema-path.svg :target: https://pypi.python.org/pypi/jsonschema-path .. image:: https://travis-ci.org/p1c2u/jsonschema-path.svg?branch=master :target: https://travis-ci.org/p1c2u/jsonschema-path .. image:: https://img.shields.io/codecov/c/github/p1c2u/jsonschema-path/master.svg?style=flat :target: https://codecov.io/github/p1c2u/jsonschema-path?branch=master .. image:: https://img.shields.io/pypi/pyversions/jsonschema-path.svg :target: https://pypi.python.org/pypi/jsonschema-path .. image:: https://img.shields.io/pypi/format/jsonschema-path.svg :target: https://pypi.python.org/pypi/jsonschema-path .. image:: https://img.shields.io/pypi/status/jsonschema-path.svg :target: https://pypi.python.org/pypi/jsonschema-path
About
Object-oriented JSONSchema
Key features
- Traverse schema like paths
- Access schema on demand with separate dereferencing accessor layer
Installation
.. code-block:: console
pip install jsonschema-path
Alternatively you can download the code and install from the repository:
.. code-block::...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides object-oriented traversal and dereferencing of JSON Schema documents, allowing you to navigate schema structures like file paths and resolve `$ref` references on demand.
Low friction: pure-Python wheel with four stable runtime dependencies (PyYAML, attrs, pathable, referencing). Actively maintained with recent releases; last commit 2026-07-27.
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must retain license notices in distributions.
Usage
from jsonschema_path import SchemaPath
d = {"properties": {"name": {"type": "string"}}}
path = SchemaPath.from_dict(d)
name_path = path / "properties" / "name"
with name_path.open() as contents:
print(contents)
Requires Python 3.10 or later (supports 3.10–3.14).
Verdict: A lightweight, actively maintained library for navigating JSON Schema documents with object-oriented paths and implicit reference resolution. No known vulnerabilities, permissive license, and low install friction make it suitable for OpenAPI/Swagger tooling and schema validation pipelines.
Needs verification
- Performance characteristics and typical cache hit rates under real-world schema sizes.
- Compatibility with external `$ref` handlers beyond the standard referencing registry.
Similar packages
permissive · top 1,000 on PyPI
pathablepermissive · top 1,000 on PyPI
openapi-pydanticpermissive · top 1,000 on PyPI
referencingpermissive · top 100 on PyPI
openapi-spec-validatorpermissive · top 1,000 on PyPI
openapi-schema-validatorpermissive · top 1,000 on PyPI
resolvelibpermissive · top 1,000 on PyPI
jsonpointerpermissive · top 1,000 on PyPI
poetry-plugin-exportpermissive · top 1,000 on PyPI
jsonschema-specificationspermissive · top 100 on PyPI