a framework to extract jsonschema's 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
Built Distribution
Close
Hashes for jsonschema_extractor-0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08eecb9809b08b9c18e0791f103bbeb66d84fba435ace92720827d0442011ece |
|
MD5 | 2e81d942ea7edc8ad368b53e3aecc32f |
|
BLAKE2b-256 | 0b797483f0075806156f868de611d66f5089c33af3308613d409c425be663932 |