YJ Schema Validator

Sample colored output

1. Description

YJ Schema Validator is a lightweight Java CLI tool for validating YAML and JSON files against JSON Schema definitions (drafts 2019-09/2020-12). Built with Spring Boot, Jackson, and NetworkNT.
— Project Overview

2. Features

  • Dual Format Support: Validates YAML and JSON files seamlessly.

  • Remote Schemas: Fetch via HTTP/HTTPS (with timeout & SSL options).

  • Flexible Outputs: Console (colored), JSON, YAML, JUnit (alpha) for CI.

  • Batch Processing: Multiple files; exits 0/1 for success/failure.

  • Schema Override: Ignore embedded $schema.

  • Java 17+; fat JAR ready.

Supported drafts: V2019-09 and V2020-12 only. For older drafts, see NetworkNT docs.

3. License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

4. Acknowledgments