1.0.0 • Published 4 years ago

@matter-in-motion/validators.jsonschema v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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.