$npx skillfedfor your agent

jsonschema-pydantic

Convert JSON Schemas to Pydantic models

With conditionsPyPI Software DevelopmentReleased Feb 2024202.1K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jsonschema_pydantic-0.6-py3-none-any.whl
v0.6 · released 2024-02-03 · 1 runtime deps: pydantic

Yes, if you have a specific need to convert JSON Schemas to Pydantic models and can tolerate dormant maintenance. The package is simple, has low install friction, and carries no known vulnerabilities. However, verify Python and Pydantic version compatibility first, and be aware that no active support is available. Not recommended if you need ongoing updates or rely on cutting-edge Pydantic features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency on pydantic.
  • Maintenance is dormant—last release was 2024-02-03 and no commits since 2024-02-05, so expect no active support or updates.

License · maintenance · safety

(unclear) — License status is unclear; the package metadata does not declare an SPDX license or raw license text, so you cannot verify the legal terms before use.

last release 2024-02-03 (923 days) · last repo commit 2024-02-05 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 202,100 downloads/mo, #9,653 on PyPI

Verify before relying

pip install jsonschema-pydantic

from jsonschema_pydantic import jsonschema_to_pydantic

jsonschema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"},
    },
    "required": ["name"],
}

pydantic_model = jsonschema_to_pydantic(jsonschema)
  • Python version compatibility is unspecified; unclear which Python versions are actually supported.
  • Scope of jsonschema feature coverage beyond the documented list (primitive types, objects, arrays, nested objects, optional fields, default values).
  • Whether the generated Pydantic models work with current Pydantic v2 or are limited to v1.
Same gist for agents: .md · .json

What it is and what it does

jsonschema-pydantic is a lightweight utility that takes a JSON Schema object and generates a Pydantic model class from it. It handles common schema patterns—primitive types, objects, arrays, nesting, optional fields, and defaults—and outputs a ready-to-use Pydantic model for data validation. The package sits between schema definition and model instantiation, eliminating the need to hand-write Pydantic classes when you already have a schema.

The package depends only on pydantic and installs with no friction. However, it is dormant: the last commit was in February 2024, and there have been no releases or updates since. If you need active maintenance, bug fixes, or support for newer Pydantic versions or advanced schema features, this package may not be a reliable choice.

Use it for

  • Generate Pydantic models from OpenAPI or JSON Schema specifications without manual class definition.
  • Automate model creation in code-generation pipelines where schemas are the source of truth.
  • Quickly prototype data validation layers when you have a schema but no corresponding Python types.
  • Convert third-party JSON Schemas into Pydantic models for local validation and type safety.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have a specific need to convert JSON Schemas to Pydantic models and can tolerate dormant maintenance.

The package is simple, has low install friction, and carries no known vulnerabilities. However, verify Python and Pydantic version compatibility first, and be aware that no active support is available. Not recommended if you need ongoing updates or rely on cutting-edge Pydantic features.

Install

jsonschema-pydantic on PyPI

Before you install

Low friction install with a single runtime dependency on pydantic. Maintenance is dormant—last release was 2024-02-03 and no commits since 2024-02-05, so expect no active support or updates.

License in practice

License status is unclear; the package metadata does not declare an SPDX license or raw license text, so you cannot verify the legal terms before use.

Quickstart

pip install jsonschema-pydantic

from jsonschema_pydantic import jsonschema_to_pydantic

jsonschema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "age": {"type": "integer"},
    },
    "required": ["name"],
}

pydantic_model = jsonschema_to_pydantic(jsonschema)

Verify before relying

  • Python version compatibility is unspecified; unclear which Python versions are actually supported.
  • Scope of jsonschema feature coverage beyond the documented list (primitive types, objects, arrays, nested objects, optional fields, default values).
  • Whether the generated Pydantic models work with current Pydantic v2 or are limited to v1.

Package facts

LicenseNot declared unclear
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pydantic
MaintenanceDormant 923 days since the last release
Last repo commit
First released
Downloads202,100 / month, #9,653 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: jsonschema_pydantic-0.6-py3-none-any.whl

Tags

Capabilities
json schema to pydanticjsonschema pydantic conversiongenerate pydantic models from schemaschema to model generatorpydantic model factoryjson schema validator
Topics
schema-generationpydantic-tooling

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 › “jsonschema pydantic conversion”

  • jsonschema-pydanticConverts JSON Schema definitions into Pydantic model classes,…
  • linkmlLinkML is a modeling language for defining linked data schemas in…
  • camel-converterConverts strings and dictionary keys between camelCase, snake_case,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also django-pydantic-field · jsoncompat · jsonschema-pydantic-converter · pydantic_core · jsonschema-typed-v2 · pydantic-spark · dydantic · ibm-quantum-schemas · eido · marshmallow-jsonschema