this repository is an ajv example.
ajv: The fastest JSON Schema validator for Node.js and browser.
npm install
npm start
$ npm start
> node ./index.js
[
{
keyword: 'type',
dataPath: '.age',
schemaPath: '#/properties/age/type',
params: { type: 'integer' },
message: 'should be integer'
}
]