Architecture of stranger6667/jsonschema
stranger6667/jsonschema is 673 source files holding 12,976 symbols across 7 modules, written mainly in Rust, Python, Ruby. The largest module is crates, with 466 files, and 33 files are entry points into the dependency graph.
How jsonschema fits together
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.
Largest modules
- crates: 466 files and 132,691 lines of code
- examples: 5 files and 182 lines of code
- fuzz: 5 files and 384 lines of code
- ecosystem: 2 files and 400 lines of code
- playground: 2 files and 734 lines of code
- profiler: 1 file and 175 lines of code
- tools: 1 file and 179 lines of code
Languages
By file count: Rust 422 files, Python 33 files, Ruby 24 files, JavaScript 2 files, Shell 1 file.
Documentation
Repowise documents jsonschema in 475 pages generated from the source.
More on jsonschema: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos