1.0.13 • Published 4 years ago

jso-cli v1.0.13

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

jso-cli

Contents

Installation

npm install -g jso-cli

Generate JSON Schema

This command generates JSON schema files from any valid JSON File

jso-cli -d ./valid.input.json -o ./output.schema.json

Parameters

-d - JSON data
-o - Output file name of generated JSON Schema

You can then validate data with the schema using ajv-cli

ajv-cli validate -d ./valid.input.json -s ./output.schema.json
ajv-cli validate -d ./test.input.json -s ./output.schema.json
1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago