json-schemer-lint

0.5.4 • Public • Published

JSON Schemer Lint

JSON Schemer Lint is a CLI tool that surfaces any deviations between JSON files and the JSON schema specification, as set by json-schema.org.

Supported JSON Schema Drafts

At the moment, only Draft 2019-09 is supported by JSON Schemer Lint.

Installation

Prerequisites:

  • Node.js - This tool was built with v12.8.1, though earlier versions might be supported.
  • NPM or yarn - You can use whichever package manager you prefer.

Install using Node Package Manager (NPM):

npm install json-schemer-lint --save-dev

Install using Yarn:

yarn add json-schemer-lint --dev

Usage

Lint a single JSON file using the CLI:

json-schemer-lint example.json

You can also lint a directory containing JSON files:

jsons-schemer-lint directory_with_json/

Versioning

This project uses SemVer for versioning.

License

This project is licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i json-schemer-lint

Weekly Downloads

0

Version

0.5.4

License

MIT

Unpacked Size

45.4 kB

Total Files

81

Last publish

Collaborators

  • domarp