GitXplorerGitXplorer
m

jsonschema-valid

public
25 stars
5 forks
1 issues

Commits

List of commits on branch main.
Unverified
3459ed5121bf9d907bae17f2ef46ab1e2beef453

chore: Release jsonschema-valid version 0.5.2

bbadboy committed 10 months ago
Unverified
915965f5863dc7f9c42fc727acc7e93eab5705e4

Update textwrap dependency

bbadboy committed 10 months ago
Unverified
ff303459f6eb5ecdd93a9466560cd32bdae1c3a0

chore: Release jsonschema-valid version 0.5.1

bbadboy committed 2 years ago
Unverified
fce839e4c8f79d56db616cc8783b46b44685587a

Don't use default features for some dependencies

bbadboy committed 2 years ago
Unverified
670b591c1e6771130431a5f6e0548cc05ee14c26

(cargo-release) version 0.5.0

bbadboy committed 2 years ago
Unverified
48fcd782f3894673a6fe6af5351142f05ccfbdd4

Add changelog entry

bbadboy committed 2 years ago

README

The README file for this repository.

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 from https://json-schema.org/draft-04/schema
  • src/draft6.json comes from https://json-schema.org/draft-06/schema
  • src/draft7.json comes from https://json-schema.org/draft-07/schema

Release process

This project uses cargo-release and follows the Semantic Versioning process.

To release a new version:

  1. Make sure all changes are in the CHANGELOG.md. Add missing changes and commit them.
  2. Run cargo release [level]
    • [level] should be one of major, minor or patch depending on the inluded changes.
  3. You're done.

License

This code is released under the Mozilla Public License, v. 2.0. See LICENSE.