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.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6b34731c8113855227557752c6e322d4382f015e7e8fd408110b65ab9488ea |
|
MD5 | 3d56cbdfc04a54a9f8ff8a740b2fc7b4 |
|
BLAKE2b-256 | 4fa21690abb1a949adc258008fd41fdb4b14ef6a3acd19b940d544dcbffb93a4 |