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.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 970404e595e3f06c7dcfa83ad3de3ef155e0a098bc5e3c70481b3d34d61df0f2 |
|
MD5 | 90191c2e55a40431047c335f6db475b4 |
|
BLAKE2b-256 | d770b25d118cef2e01ff6b3e47fd3b3e0d90d97b784e71b9916baa30f61f641d |