skip to navigation
skip to content

jsonschema-extractor 0.4

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.4.tar.gz (md5) Source 2017-08-30 4KB
jsonschema_extractor-0.4-py2.py3-none-any.whl (md5) Python Wheel 2.7 2017-08-30 8KB