https://github.com/remexre/json-schema
A crate for parsing JSON Schemas and using them to validate values.
https://github.com/remexre/json-schema
json-schema
Last synced: about 2 months ago
JSON representation
A crate for parsing JSON Schemas and using them to validate values.
- Host: GitHub
- URL: https://github.com/remexre/json-schema
- Owner: remexre
- License: mit
- Created: 2017-05-26T21:27:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T17:27:50.000Z (about 8 years ago)
- Last Synced: 2025-02-15T00:41:19.649Z (4 months ago)
- Topics: json-schema
- Language: Rust
- Size: 38.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json-schema
A crate for parsing and using JSON Schemas, as specified in
[draft-wright-json-schema-01](https://tools.ietf.org/html/draft-wright-json-schema-01)
and [draft-wright-json-schema-validation-01](https://tools.ietf.org/html/draft-wright-json-schema-validation-01).[](https://travis-ci.org/remexre/json-schema)
[](https://crates.io/crates/json-schema)
[](https://docs.rs/json-schema)**TODO Document**
This crate requires Rust 1.18.0 or later, due to use of
[`pub_restricted`](https://github.com/rust-lang/rfcs/blob/master/text/1422-pub-restricted.md).## Known Issues
- `JsonSchema` does not implement `Deserialize` or `Serialize`, although it does provide
[`JsonSchema::from_value`](https://docs.rs/json-schema/*/json_schema/struct.JsonSchema.html#method.from_value) and
[`JsonSchema::to_value`](https://docs.rs/json-schema/*/json_schema/struct.JsonSchema.html#method.to_value).
- Does not implement the `default` or `examples` keywords.
- Does not implement the `format` keyword.