{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/16"}],"enrichment":{"capability":"Generates JSON Schema (2020-12 draft) from Python dataclasses with no external dependencies, using only the standard library.","skillfed_tags":["schema-generation","dataclass-tooling","json-schema"],"use_cases":["Generate OpenAPI or JSON Schema documentation from dataclass-based API request/response models.","Validate incoming JSON data against a schema derived from your dataclass definitions.","Export dataclass structures as reusable schema files for cross-language API contracts.","Add schema metadata (descriptions, examples, validation rules) to dataclasses without a full validation framework.","Build lightweight schema-driven tools or code generators that operate on dataclass definitions."],"what_it_does":"warchant_dc_schema is a lightweight, zero-dependency library that converts Python dataclasses into valid JSON Schema (2020-12 draft) documents. It reads dataclass field types, defaults, and optional metadata annotations to produce schema output suitable for validation, documentation, or API specifications.\n\nThe package is designed as a minimal alternative when you only need schema generation from plain dataclasses. It supports nested dataclasses, optional fields, datetime types, and custom metadata via typing.Annotated. You can also customize dataclass-level schema properties using a SchemaConfig inner class. Recent versions add patternProperties and additionalProperties support. The library includes a CLI tool and a test suite demonstrating supported features.","worth_installing":"Yes, if you need lightweight JSON schema generation from dataclasses and want to avoid large dependencies. The zero-dependency design and standard-library-only approach make it easy to integrate. However, dormant maintenance (last commit 2024-02-13) means you should expect no active bug fixes or feature updates; use it for stable, self-contained schema generation tasks, not as a foundation for rapidly evolving systems."},"id":"warchant-dc-schema","links":{"html":"https://skillfed.io/packages/warchant-dc-schema","md":"https://skillfed.io/packages/warchant-dc-schema.md","pypi":"https://pypi.org/project/warchant-dc-schema/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-02-13","license_spdx":null,"license_treatment":"permissive","name":"warchant_dc_schema","python_support":"supports_current","summary":"Generate JSON schema from python dataclasses"},"popularity":{"monthly_downloads":102621,"position":12858,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.10"}
