"a framework to extract jsonschemas from a variety of models."
Project description
jsonschema-extractor is a library and extensible framework for extracting json schema from various object and primitives.
Out of the box support exists for:
Usage
from typing import List
import jsonschema_extractor
assert jsonschema_extractor.extract(List[int]) == {
"type": "array",
"items": {"type": "integer"}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonschema-extractor-1.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema_extractor-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e28bb264378c800c85a22feacad7825ad17a0195372f106821e1eaf68d7f73c |
|
MD5 | 3816d8aa154670e88af5c181fb4fb124 |
|
BLAKE2b-256 | 5516d6994e7f447ceb6cf73adef5b5bf605e93c6f519814d1e795b7a7a36095a |