|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
872 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | var metaSchema = require('./refs/json-schema-draft-07.json');
|
|---|
| 4 |
|
|---|
| 5 | module.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.