Download the PHP package yuloh/json-guard-cli without Composer
On this page you can find all versions of the php package yuloh/json-guard-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yuloh/json-guard-cli
More information about yuloh/json-guard-cli
Files in yuloh/json-guard-cli
Package json-guard-cli
Short Description A CLI tool for json-guard
License MIT
Homepage https://github.com/yuloh/json-guard-cli
Informations about the package json-guard-cli
json-guard-cli
This package is a CLI client for JSON Guard, a JSON Schema validator. You can easily validate data against a schema or check your schema itself.
Install
Installation uses Composer.
Project Install
Global Install
If you don't want to install this per project, you can install it globally and use it anywhere. If you aren't familiar with Composer's global install functionality, this tutorial should get you up and running.
Usage
Validate
Validate Data Against a Schema.
Usage:
Arguments:
- data: The data to validate.
- schema: The schema to use.
Examples:
Check
Check that a JSON Schema is valid.
Usage:
Arguments:
- schema: The schema to check.
Examples:
Loading JSON
All commands can load the JSON as a string, from a loader path, from a local file path, or from STDIN.
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Credits
- Matt Allan
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of json-guard-cli with dependencies
league/json-guard Version ^1.0
seld/jsonlint Version ^1.4
league/json-reference Version ^1.0