skillfed

jsonschema-path

JSONSchema Spec with object-oriented paths

jsonschema-path Permissive license Apache-2.0 Active 10 v0.5.0 released

Install

jsonschema-path on PyPI

pip

pip install jsonschema-path

uv

uv add jsonschema-path

poetry

poetry add jsonschema-path

Package 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

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::...

Read as markdown · JSON record · Source repository

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.
json schema navigationjsonschema path traversalschema reference dereferencingopenapi schema accessjson schema object orientedswagger spec navigationschema path resolution

Similar packages