Skip to main content

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

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
jsonschema_extractor-0.6-py2.py3-none-any.whl (9.0 kB) Copy SHA256 hash SHA256 Wheel 3.6 Dec 17, 2017
jsonschema-extractor-0.6.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None Dec 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page