Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.18 KB

readme.md

File metadata and controls

29 lines (17 loc) · 1.18 KB

Matter In Motion. JSON Schema Validator

NPM Version NPM Downloads

Node.js framework for building applications (cli, server, etc...).

JSON Schema

(JSON Schema)[(http://json-schema.org)] validator extension for matter in motion framework. Adds Ajv as validators.jsonschema with two plugins ajv-merge-patch and ajv-keywords

Installation

npm i @matter-in-motion/validators.jsonschema

Usage

  1. Add validators.jsonschema to your extensions in the settings.
const validator = app.require('validators.jsonschema');
const valid = validator.validate(schema, data);

Settings

All of the Ajv options

License: MIT.