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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for jsonschema_extractor-0.8.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 881f526bb04e869517ae917e9b63f752a80c8dca995788e034c4b730113e0778 |
|
MD5 | 281c135f9bda2c58098b39724ab9954a |
|
BLAKE2b-256 | 9eefeed445d0263b69c796005798b48270d6801b4f20738dca70a64e9fbbe6a9 |