types-jsonschema
Typing stubs for jsonschema
Decision gist · record as of 2026-08-14
Yes, if you use jsonschema and run static type checking. It adds no runtime overhead and works with mypy 2.1.0 and pyright 1.1.409. Install it alongside jsonschema in projects where type safety is a priority. Not necessary if you don't use a type checker.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction install with a single runtime dependency (referencing).
- Actively maintained as part of typeshed, with recent updates and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,523,610 downloads/mo, #1,386 on PyPI
Alternatives
Verify before relying
pip install types-jsonschema
# In your code, import jsonschema normally;
# type checkers will use the stubs automatically
import jsonschema
schema = {"type": "object"}
jsonschema.validate({"key": "value"}, schema)- Whether the stubs cover all jsonschema 4.26.0 APIs or only a subset.
- How frequently the stubs are updated relative to jsonschema releases.
- Whether type checker integration works transparently without additional configuration.
What it is and what it does
This is a type stub package that provides type annotations for the jsonschema library. It allows static type checkers to understand and validate code that uses jsonschema. The stubs are maintained as part of the typeshed project and are tested against mypy 2.1.0 and pyright 1.1.409.
When installed, the stubs enable your type checker to catch type errors in code that uses jsonschema for JSON validation. This is useful in larger codebases where type safety matters and you want to validate schema definitions and validation calls before runtime.
Use it for
- Enable type checkers to validate code that uses jsonschema for JSON validation.
- Catch type errors in schema definitions and validation calls before runtime.
- Provide IDE autocomplete and type hints when working with jsonschema.
- Ensure type consistency in data validation pipelines that rely on jsonschema.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use jsonschema and run static type checking.
It adds no runtime overhead and works with mypy 2.1.0 and pyright 1.1.409. Install it alongside jsonschema in projects where type safety is a priority. Not necessary if you don't use a type checker.
Install
types-jsonschema on PyPI
Before you install
Low friction install with a single runtime dependency (referencing). Actively maintained as part of typeshed, with recent updates and no known vulnerabilities.
Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-jsonschema
# In your code, import jsonschema normally;
# type checkers will use the stubs automatically
import jsonschema
schema = {"type": "object"}
jsonschema.validate({"key": "value"}, schema)
Verify before relying
- Whether the stubs cover all jsonschema 4.26.0 APIs or only a subset.
- How frequently the stubs are updated relative to jsonschema releases.
- Whether type checker integration works transparently without additional configuration.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagereferencing |
| Maintenance | Actively maintained 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,523,610 / month, #1,386 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_jsonschema-4.26.0.20260518-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs for jsonschema”
- types-jsonschemaProvides type hints for the jsonschema package, enabling static type…
- jsonschema-gentypesGenerates Python TypedDict types from JSON Schema definitions, with…
- kubernetes-typedA mypy plugin that adds type checking support for Kubernetes objects,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-toml · types-html5lib · types-ujson · types-simplejson · types-jmespath · types-colorama · types-pysftp · types-python-http-client · check-jsonschema · types-python-jose