Sha256: ecabbf4258a93e87f6037af02db920c81e39c90e72272924b288d654e3423f23

Contents?: true

Size: 870 Bytes

Versions: 59

Compression:

Stored size: 870 Bytes

Contents

'use strict';

var metaSchema = require('./refs/json-schema-draft-07.json');

module.exports = {
  $id: 'https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js',
  definitions: {
    simpleTypes: metaSchema.definitions.simpleTypes
  },
  type: 'object',
  dependencies: {
    schema: ['validate'],
    $data: ['validate'],
    statements: ['inline'],
    valid: {not: {required: ['macro']}}
  },
  properties: {
    type: metaSchema.properties.type,
    schema: {type: 'boolean'},
    statements: {type: 'boolean'},
    dependencies: {
      type: 'array',
      items: {type: 'string'}
    },
    metaSchema: {type: 'object'},
    modifying: {type: 'boolean'},
    valid: {type: 'boolean'},
    $data: {type: 'boolean'},
    async: {type: 'boolean'},
    errors: {
      anyOf: [
        {type: 'boolean'},
        {const: 'full'}
      ]
    }
  }
};

Version data entries

59 entries across 56 versions & 8 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.18.2 test/dummy/node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.6 node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.5 node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.4 node_modules/ajv/lib/definition_schema.js
disco_app-0.16.1 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.15.2 test/dummy/node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.3 node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.2 node_modules/ajv/lib/definition_schema.js
disco_app-0.18.4 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.18.1 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.14.0 test/dummy/node_modules/ajv/lib/definition_schema.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.1 node_modules/ajv/lib/definition_schema.js
trusty-cms-4.3.5 node_modules/ajv/lib/definition_schema.js
trusty-cms-5.0.0 node_modules/ajv/lib/definition_schema.js
trusty-cms-4.3.4 node_modules/ajv/lib/definition_schema.js
trusty-cms-4.3.3 node_modules/ajv/lib/definition_schema.js
trusty-cms-4.3.2 node_modules/ajv/lib/definition_schema.js