serde-json-schema

Crates.ioserde-json-schema
lib.rsserde-json-schema
version0.1.1
sourcesrc
created_at2019-08-30 21:00:47.895152
updated_at2023-10-26 20:06:49.37845
descriptionminimal json-schema type
homepage
repositoryhttps://github.com/hoodie/serde-json-schema
max_upload_size
id161016
size37,733
Hendrik Sollich (hoodie)

documentation

https://docs.rs/serde-json-schema

README

serde-json-schema

Minimal implementation of json-schema using serde-json.

Example

// hang in there

Features/TODO

  • JSON Schema Core Type
  • JSON Schema Validation (partial, possibly different crate or optional feature)
  • Codegen (definitely different crate)
  • RootSchema vs SubSchema handling (is that used often?)
  • References
  • Test Serialization
  • Complete Feature List
  • Detect enum
  • Detect const

License

serde-json-schema is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Any help in form of descriptive and friendly issues or comprehensive pull requests are welcome!

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in serde-json-schema by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 29

cargo fmt