Skip to main content
Version:
3.0.0
Source:

https://github.com/maykinmedia/drf-jsonschema-serializer

Keywords:

django, rest, jsonschema

Tests and PyPI publishing Coverage status Linting and code quality black Documentation Status

python-versions django-versions pypi-version

JSON Schema support for Django REST Framework

Overview

drf-jsonschema-serializer is a library built around Django REST Framework. It does the following:

  • Convert a DRF serializer into a JSON Schema.

  • Provides JSONSchemaField that can validate JSON data according to a JSON schema.

  • Provides a SerializerJSONField that can validate JSON data according to a serializer for a field.

This lets you use client-side form libraries such as react-jsonschema-form to generate a web form from a serializer. This way you can use the same schema for client-side form generation and validation as you use for REST service input validation.

See the documentation for getting started and usage examples.

Credits and roadmap

Many thanks to https://github.com/isprojects for the initial work on this library. As of September 2021, Maykin Media has taken up maintenance of this package after transferring it from isprojects. See the issues on Github for the roadmap.

See also CREDITS.txt for a full history of authorship.

Metadata

Release files for drf-jsonschema-serializer 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-jsonschema-serializer 3.0.0
File Size Uploaded Provenance Actions
drf_jsonschema_serializer-3.0.0.tar.gz 14.9 kB Without provenance Details for drf_jsonschema_serializer-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for drf-jsonschema-serializer 3.0.0
File Interpreter ABI Platform Actions
drf_jsonschema_serializer-3.0.0-py3-none-any.whl Python 3 none any Details for drf_jsonschema_serializer-3.0.0-py3-none-any.whl

Total release size: 23.9 kB

Release files / drf_jsonschema_serializer-3.0.0.tar.gz

Download URL drf_jsonschema_serializer-3.0.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8a42c6079225f789cd55321897073b576d15db3406d008e92f44febb017a232a
BLAKE2b-256 checksum
How to use checksums
c607bb376e2af6f600351fd5f70e93939fcb09869c520a0a79dc415c652d3d58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / drf_jsonschema_serializer-3.0.0-py3-none-any.whl

Download URL drf_jsonschema_serializer-3.0.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0e5cce095a5638b0bb7867aa060ed59ab9eed2f54ba5058dd9b483c9c887ed5
BLAKE2b-256 checksum
How to use checksums
2f711f500097efe09e04c3be862ab26c997314237a8b0a16dc3e3047fee23f4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for drf-jsonschema-serializer 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page