| Crates.io | jsonschema-valid-compat |
| lib.rs | jsonschema-valid-compat |
| version | 0.4.1-alpha.2 |
| created_at | 2021-04-05 19:54:13.767951+00 |
| updated_at | 2021-04-05 21:29:48.043465+00 |
| description | A simple JSON schema validator. |
| homepage | |
| repository | https://github.com/mdboom/jsonschema-valid |
| max_upload_size | |
| id | 379515 |
| size | 1,065,384 |
A simple JSON schema validator for Rust. Unlike many of the alternatives, this just focusses on validating a document against a schema and providing nice error messages. There is no object mapping magic or anything like that.
Supports JSON Schema Drafts 4, 6, and 7.
This repository includes copies of the JSON schema metaschemas, which are compiled into the binary. These are all listed in the JSON schema specification links page. Specifically:
src/draft4.json comes from https://json-schema.org/draft-04/schemasrc/draft6.json comes from https://json-schema.org/draft-06/schemasrc/draft7.json comes from https://json-schema.org/draft-07/schemaThis project uses cargo-release and follows the Semantic Versioning process.
To release a new version:
cargo release [level]
[level] should be one of major, minor or patch depending on the inluded changes.This code is released under the Mozilla Public License, v. 2.0. See LICENSE.