ichiki1023 / json-schema-example

this repository is an ajv example.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-schema-example

this repository is an ajv example.
ajv: The fastest JSON Schema validator for Node.js and browser.

How to use?

npm install
npm start

output

$ npm start
> node ./index.js

[
  {
    keyword: 'type',
    dataPath: '.age',
    schemaPath: '#/properties/age/type',
    params: { type: 'integer' },
    message: 'should be integer'
  }
]

About

this repository is an ajv example.


Languages

Language:JavaScript 100.0%