skip to navigation
skip to content

jsonschema-extractor 0.6

a framework to extract jsonschema's from a variety of models.

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"}
}
 
File Type Py Version Uploaded on Size
jsonschema-extractor-0.6.tar.gz (md5) Source 2017-12-17 4KB
jsonschema_extractor-0.6-py2.py3-none-any.whl (md5) Python Wheel 3.6 2017-12-17 8KB