{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"Converts Django REST Framework serializers to JSON Schema and provides fields to validate JSON data against schemas or serializers, enabling shared validation between client-side and server-side.","skillfed_tags":["json-schema","form-generation","validation"],"use_cases":["Generate web forms dynamically from DRF serializers using client-side libraries.","Validate JSON payloads in REST endpoints against a predefined JSON Schema without custom logic.","Accept flexible JSON structures in a single field while maintaining schema-based validation.","Share validation rules between a Django backend and a frontend form library to keep them in sync.","Build APIs that accept polymorphic or nested JSON data with schema-driven validation."],"what_it_does":"drf-jsonschema-serializer bridges Django REST Framework serializers and JSON Schema, allowing you to use the same validation rules on both client and server. It provides a converter that turns a DRF serializer into a JSON Schema representation, and field types that validate incoming JSON data against a schema or serializer definition. This is useful when you want to generate client-side forms dynamically from your server-side serializer definitions, or when you need to accept and validate arbitrary JSON payloads that conform to a known schema.\n\nThe package depends on django, djangorestframework, and jsonschema. It is stable (Production/Stable status) and supports Python 3.10, 3.11, and 3.12. Maintenance has slowed\u2014the last release was 779 days ago\u2014but the repository remains open and not archived, suggesting it is suitable for projects that do not require frequent updates.","worth_installing":"Yes, if you are building a Django REST API that needs to share schema-based validation with a client-side form library or accept flexible JSON payloads. The low install friction and permissive license make it a safe choice. However, the aging maintenance status (779 days since last release) means it is best suited to stable projects that do not require frequent updates or rapid bug fixes. Check that your versions of django and djangorestframework are compatible before adopting."},"id":"drf-jsonschema-serializer","links":{"html":"https://skillfed.io/packages/drf-jsonschema-serializer","md":"https://skillfed.io/packages/drf-jsonschema-serializer.md","pypi":"https://pypi.org/project/drf-jsonschema-serializer/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-06-26","license_spdx":null,"license_treatment":"permissive","name":"drf-jsonschema-serializer","python_support":"supports_current","summary":"JSON Schema support for Django REST Framework"},"popularity":{"monthly_downloads":168495,"position":10446,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
