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.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bcf51ab92befe3346f79c61581dcb65bae532b0de7a341d4ac57cbc72d5bfdc |
|
MD5 | 73339acf3e65f1e176b933f1f25b1a53 |
|
BLAKE2b-256 | 441791f798b7674221658f57f0ab7b03afe1c0f33c1ba17c088ee3521fca0a7b |