source: imaps-frontend/node_modules/ajv/lib/definition_schema.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 872 bytes
Line 
1'use strict';
2
3var metaSchema = require('./refs/json-schema-draft-07.json');
4
5module.exports = {
6 $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js',
7 definitions: {
8 simpleTypes: metaSchema.definitions.simpleTypes
9 },
10 type: 'object',
11 dependencies: {
12 schema: ['validate'],
13 $data: ['validate'],
14 statements: ['inline'],
15 valid: {not: {required: ['macro']}}
16 },
17 properties: {
18 type: metaSchema.properties.type,
19 schema: {type: 'boolean'},
20 statements: {type: 'boolean'},
21 dependencies: {
22 type: 'array',
23 items: {type: 'string'}
24 },
25 metaSchema: {type: 'object'},
26 modifying: {type: 'boolean'},
27 valid: {type: 'boolean'},
28 $data: {type: 'boolean'},
29 async: {type: 'boolean'},
30 errors: {
31 anyOf: [
32 {type: 'boolean'},
33 {const: 'full'}
34 ]
35 }
36 }
37};
Note: See TracBrowser for help on using the repository browser.