repowiserepowise

App

stranger6667 / jsonschema

A high-performance JSON Schema validator for Rust

★ 837stars on GitHubRustMIT

Claude Code, Cursor, Codex or VS Code. No key. You approve one sign-in in your browser.

Setup instructions on GitHub

Releases on GitHub (latest rust-v0.62.0, Nov 21, 2026)

Repowise maps public repos from their source. Not affiliated with stranger6667. What is Repowise?

github.com/stranger6667/jsonschemaIndexed at 5632f84

What is jsonschema?

jsonschema is a validator that checks JSON documents against JSON Schema definitions. It compiles a schema into a reusable Validator, which then tests each JSON instance against that schema and reports whether it conforms. The core is written in Rust, and the project also provides Python and Ruby bindings and a command line interface. Its code health is 6.8 out of 10 (Fair), ranked #165 of 4,000+ indexed repos. The last commit to jsonschema was on Oct 16, 2026, and 4 people have contributed.

As of commit 5632f84, indexed Oct 16, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsjsonschema.md

Repo facts: type, license, health, rank, contributors
jsonschema facts
TypeApp
LicenseMIT
Code health6.8 / 10 (Fair)
Health rank#165 of 4,000+ indexed repos
Last commitOct 16, 2026
Contributors4
Bus factor1
Size673 files, 134,745 lines

Explore jsonschema

Ask about this code in your agent

This connects Repowise to jsonschema's code. It does not install jsonschema.

Useful if you want to change or fork jsonschema: your agent can ask how it is put together and get answers that cite its files.

Ask about jsonschema

Answers come from jsonschema's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

jsonschema is a validator that checks JSON documents against JSON Schema definitions, compiling a schema into a reusable Validator that tests each instance and reports whether it conforms. The core is written in Rust, and the project also provides Python and Ruby bindings and a command line interface. Most of the 673 files sit under the crates directory, which holds 466 of them, and the Application layer accounts for 364 files, with Data, Config and Docs & Tooling layers making up the rest. The library source is crates/jsonschema/src/lib.rs, and the canonical files crates/jsonschema/src/canonical/parse.rs and crates/jsonschema/src/canonical/algebra.rs support the experimental schema canonicalization feature. The CLI entry point is crates/jsonschema-cli/src/main.rs, which provides the validate command, where a schema and instance go in and a validation outcome or Structured Output v1 report comes out in flag, list or hierarchical form. To start reading, open crates/jsonschema/src/lib.rs for the library and crates/jsonschema-cli/src/main.rs for the command line tool.

Files per layer in jsonschema7 layers.

Basis: Inferred · knowledge graph· as of 5632f84

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of stranger6667/jsonschema from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

stranger6667/jsonschema FAQ

What is jsonschema?

jsonschema is a JSON Schema validator for Rust that checks JSON documents against schemas. It supports popular JSON Schema drafts and provides bindings for Python and Ruby.

How does jsonschema work?

jsonschema compiles a schema into a reusable Validator and uses it to check JSON instances. It can also produce Structured Output v1 reports in flag, list or hierarchical form.

What language is jsonschema written in?

jsonschema is written mainly in Rust. Its repository also contains Python and Ruby files that provide bindings to the library.

How is the jsonschema code organized?

Most of the jsonschema code sits in the crates directory. crates/jsonschema holds the library and crates/jsonschema-cli holds the command line tool.

Who is jsonschema for?

jsonschema is for checking JSON data against JSON Schema in Rust programs, and from Python and Ruby through its bindings. It also provides a command line interface for validating files.

What license does jsonschema use?

jsonschema uses the MIT license, identified as MIT. The license id is given in the project's metadata.

Code health

6.7out of 10Fair

Hotspots average 5.9, the place fixes pay off most.

On the leaderboards:#9 of 24 Rust repos

Key features of jsonschema

  • Supports popular JSON Schema drafts, with the current status listed on the Bowtie Report.
  • Allows custom keywords and format validators.
  • Fetches remote references over the network or from files, in blocking and non-blocking modes.
  • Bundles schemas into Compound Schema Documents and dereferences $ref entries.
  • Produces Structured Output v1 reports in flag, list and hierarchical forms.
  • Validates schema documents against meta-schemas, including custom metaschemas.

How stranger6667/jsonschema works

Most of the code sits under the crates directory, which holds 466 of the 673 files in the repository. crates/jsonschema/src/lib.rs is the source of the jsonschema library crate, which the index lists as a hotspot file. crates/jsonschema/src/canonical/parse.rs and crates/jsonschema/src/canonical/algebra.rs sit in the canonical directory and support the experimental schema canonicalization feature. crates/jsonschema-cli/src/main.rs is the entry point of the jsonschema-cli crate, which provides the validate command. A schema and an instance go in, and the result comes out as a validation outcome or as Structured Output v1 reports in flag, list or hierarchical form.

The codebase has 673 files and 12,976 symbols in 7 modules, led by Rust, Python and Ruby. Code health is 6.7 out of 10, rated fair.