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.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0aec4fd92144e05c242fe033f47d3ad36803fdfbe0a97b0186876b34ed78c1 |
|
MD5 | a113e640dd1888e16eabfc212ed5a1a2 |
|
BLAKE2b-256 | 5a0ff605d43d2cb00442a610bf8ecce99b4ddda12266bf8419c35b10f91f8bdc |