GitHub
github.com › python-jsonschema › jsonschema
GitHub - python-jsonschema/jsonschema: An implementation of the JSON Schema specification for Python · GitHub
An implementation of the JSON Schema specification for Python - python-jsonschema/jsonschema
Starred by 4.9K users
Forked by 609 users
Languages Python 99.8% | TypeScript 0.2%
Videos
Horejsek
horejsek.github.io › python-fastjsonschema
Fast JSON schema for Python — fastjsonschema documentation
Support only for Python 3.3 and higher. fastjsonschema implements validation of JSON documents by JSON schema. The library implements JSON schema drafts 04, 06, and 07. The main purpose is to have a really fast implementation.
GitHub
github.com › cwacek › python-jsonschema-objects
GitHub - cwacek/python-jsonschema-objects: Automatic Python binding generation from JSON Schemas · GitHub
python-jsonschema-objects provides an automatic class-based binding to JSON Schemas for use in python.
Starred by 373 users
Forked by 90 users
Languages Python
GitHub
github.com › python-jsonschema › jsonschema-specifications
GitHub - python-jsonschema/jsonschema-specifications: Support files exposing JSON from the JSON Schema specifications to Python
JSON support files from the JSON Schema Specifications (metaschemas, vocabularies, etc.), packaged for runtime access from Python as a referencing-based Schema Registry.
Starred by 12 users
Forked by 11 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › horejsek › python-fastjsonschema
GitHub - horejsek/python-fastjsonschema: Fast JSON schema validator for Python.
Fast JSON schema validator for Python. Contribute to horejsek/python-fastjsonschema development by creating an account on GitHub.
Starred by 488 users
Forked by 76 users
Languages Python 98.7% | Makefile 1.3% | Python 98.7% | Makefile 1.3%
GitHub
github.com › python-jsonschema › check-jsonschema
GitHub - python-jsonschema/check-jsonschema: A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more! · GitHub
A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more! - python-jsonschema/check-jsonschema
Starred by 300 users
Forked by 59 users
Languages Python 99.8% | Just 0.2%
GitHub
github.com › onyxfish › jsonschema
GitHub - onyxfish/jsonschema: A Python implementation of the JSON Schema validator described at http://www.json-schema.org/. MIT Copyright (c) 2008 Ian Lewis, Yusuke Muraoka.
>>> import simplejson >>> import jsonschema >>> >>> data = simplejson.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') >>> schema = { ... "type":"array", ... "items":[ ... {"type":"string"}, ... {"type":"object", ... "properties":{ ... "bar":{ ... "items":[ ... {"type":"string"}, ... {"type":"any"}, ... {"type":"number"}, ... {"type":"integer"} ... ] ... } ... } ... } ... ] ... } >>> jsonschema.validate(data,schema) Handling validation errors ValueErrors are thrown when validation errors occur.
Starred by 16 users
Forked by 4 users
Languages Python 99.6% | JavaScript 0.4% | Python 99.6% | JavaScript 0.4%
GitHub
github.com › python-jsonschema › hypothesis-jsonschema
GitHub - python-jsonschema/hypothesis-jsonschema: Tools to generate test data from JSON schemata with Hypothesis
Tools to generate test data from JSON schemata with Hypothesis - python-jsonschema/hypothesis-jsonschema
Starred by 278 users
Forked by 36 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › Julian › jsonschema › releases
Releases · python-jsonschema/jsonschema
Author python-jsonschema
GitHub
github.com › keleshev › schema
GitHub - keleshev/schema: Schema validation just got Pythonic · GitHub
Just define your schema normally and call .json_schema() on it. The output is a Python dict, you need to dump it to JSON.
Starred by 2.9K users
Forked by 217 users
Languages Python
GitHub
github.com › python-jsonschema › referencing
GitHub - python-jsonschema/referencing: Cross-specification JSON referencing (JSON Schema, OpenAPI, and the one you just made up!) · GitHub
Cross-specification JSON referencing (JSON Schema, OpenAPI, and the one you just made up!) - python-jsonschema/referencing
Starred by 52 users
Forked by 21 users
Languages Python
GitHub
github.com › p1c2u › jsonschema-path
GitHub - p1c2u/jsonschema-path: Object-oriented JSONSchema
Starred by 10 users
Forked by 8 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › python-jsonschema › jsonschema-lexer
GitHub - python-jsonschema/jsonschema-lexer: A Pygments lexer for JSON Schema
from jsonschema_lexer import JSONSchemaLexer from rich.console import Console from rich.syntax import Syntax console = Console() code = """ { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://example.com/product.schema.json", "title": "Product", "description": "A product from Acme's catalog", "type": "object", "properties": { "productId": { "description": "The unique identifier for a product", "type": "integer" }, "productName": { "description": "Name of the product", "type": "string" } } } """ syntax = Syntax(code, lexer=JSONSchemaLexer(), background_color="default", word_wrap=True) console.print(syntax)
Author python-jsonschema
GitHub
github.com › marksparkza › jschon
GitHub - marksparkza/jschon: An object-oriented JSON Schema implementation for Python.
Starred by 143 users
Forked by 12 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › altair-viz › schemapi
GitHub - altair-viz/schemapi: Auto-generate Python APIs from JSON schema specifications
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. schemapi is a package that lets you auto-generate simple Python object-based APIs given a valid JSON schema specification.
Starred by 79 users
Forked by 12 users
Languages Python 82.4% | Jupyter Notebook 17.4% | Makefile 0.2% | Python 82.4% | Jupyter Notebook 17.4% | Makefile 0.2%
Stuarteberg
stuarteberg.github.io › jsonschema
jsonschema — jsonschema 2.5.1.post17 documentation
jsonschema is an implementation of JSON Schema for Python (supporting 2.6+ including Python 3). >>> from jsonschema import validate >>> # A sample schema, like what we'd get from json.load() >>> schema = { ... "type" : "object", ... "properties" : { ... "price" : {"type" : "number"}, ...