JSON Schema for Humans vs rustdoc
JSON Schema for Humans
json-schema-for-humans.readthedocs.iorustdoc
doc.rust-lang.orgSide by side
| Figure | JSON Schema for Humans | rustdoc |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Documentation Generators | 8.6 (#3) | 7.4 (#23) |
| Installation | The README gives `pip install json-schema-for-humans` as the installation command. | Rust's installation page recommends rustup and provides installation instructions for Windows, macOS, Linux, and other Unix-like systems. |
| Purpose | The project generates static HTML or Markdown pages documenting JSON Schema. | rustdoc generates documentation for Rust projects from a crate root or Markdown file, producing HTML, CSS, and JavaScript. |
| Support | The project README invites contributions and directs users to its contributing guide. | The Rust site directs users to the documentation, Rust Forge contributor documentation, and the Users Forum for help. |
Plans
In their own words
JSON Schema for Humans
JSON Schema for Humans generates static HTML or Markdown documentation from valid JSON Schema files. Inputs can be JSON or YAML, supplied to its command-line interface as a file, directory, glob pattern, or comma-separated list; Python methods are also available. Multiple templates produce different outputs. The default JavaScript template provides expandable sections, tabs for conditional subschemas, and anchor links. The js_offline template bundles CSS and JavaScript for offline viewing. Markdown output can be published without an HTTP server and is rendered by GitHub when browsing code. A techdocs template is described as optimized for TechDocs and MkDocs Material. References can point within a schema, to local files, or to URLs, including circular references, and the project lists JSON Schema Draft-07 support. Safe mode escapes HTML tags in descriptions by default, while configuration can allow HTML. Property names and size, property dependencies, and media are listed as unsupported. The Apache-2.0 licensed package documents installation with `pip install json-schema-for-humans`.