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


Download files

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

Source Distribution

jsonschema-extractor-0.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonschema_extractor-0.4-py2.py3-none-any.whl (9.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file jsonschema-extractor-0.4.tar.gz.

File metadata

File hashes

Hashes for jsonschema-extractor-0.4.tar.gz
Algorithm Hash digest
SHA256 dea894190f621e2e2de772b0dd0c645c7fb5d767c9287b63ae5a59b842f41ff4
MD5 e82063acac945292ea40a91c25ec9e6e
BLAKE2b-256 2cb0239fd264a998025010f2672a3478a32a276a830062f66f48fabd4e6165ea

See more details on using hashes here.

File details

Details for the file jsonschema_extractor-0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jsonschema_extractor-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fb0aec4fd92144e05c242fe033f47d3ad36803fdfbe0a97b0186876b34ed78c1
MD5 a113e640dd1888e16eabfc212ed5a1a2
BLAKE2b-256 5a0ff605d43d2cb00442a610bf8ecce99b4ddda12266bf8419c35b10f91f8bdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page