https://github.com/mathiaspius/yaml-validator
YAML validation using schemas written in yaml
https://github.com/mathiaspius/yaml-validator
Last synced: 10 months ago
JSON representation
YAML validation using schemas written in yaml
- Host: GitHub
- URL: https://github.com/mathiaspius/yaml-validator
- Owner: MathiasPius
- License: mit
- Created: 2020-01-25T17:28:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-13T21:10:48.000Z (over 2 years ago)
- Last Synced: 2025-06-15T01:47:34.330Z (12 months ago)
- Language: Rust
- Size: 198 KB
- Stars: 35
- Watchers: 2
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yaml-validator ![Test Status] [![Latest Version]][crates.io] [![Docs]][docs.rs]
[Test Status]: https://github.com/MathiasPius/yaml-validator/workflows/library-tests/badge.svg
[Latest Version]: https://img.shields.io/crates/v/yaml-validator
[crates.io]: https://crates.io/crates/yaml-validator
[Docs]: https://docs.rs/yaml-validator/badge.svg
[docs.rs]: https://docs.rs/yaml-validator
YAML validation using schemas written in yaml
This project is really two parts:
* [yaml-validator](yaml-validator/), a Rust library for validating YAML files against schemas that are themselves defined in YAML.
* [yaml-validator-cli](yaml-validator-cli/), a command-line interface using the `yaml-validator` library to validate YAML files
Documentation for both are somewhat lacking at the moment, but [yaml-validator-cli](yaml-validator-cli/) is by far the most useable of the two, and contains a lot of examples for how to get started using it to write schemas.