2 releases
Uses old Rust 2015
0.4.1-alpha.2 | Apr 5, 2021 |
---|
#103 in #json-schema
115KB
2K
SLoC
jsonschema-valid
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 fromhttps://json-schema.org/draft-04/schema
src/draft6.json
comes fromhttps://json-schema.org/draft-06/schema
src/draft7.json
comes fromhttps://json-schema.org/draft-07/schema
Release process
This project uses cargo-release
and follows the Semantic Versioning process.
To release a new version:
- Make sure all changes are in the CHANGELOG.md. Add missing changes and commit them.
- Run
cargo release [level]
[level]
should be one ofmajor
,minor
orpatch
depending on the inluded changes.
- You're done.
License
This code is released under the Mozilla Public License, v. 2.0. See LICENSE.
Dependencies
~9.5MB
~183K SLoC