source: trip-planner-front/node_modules/ajv/dist/refs/json-schema-2019-09/index.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 938 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const metaSchema = require("./schema.json");
4const applicator = require("./meta/applicator.json");
5const content = require("./meta/content.json");
6const core = require("./meta/core.json");
7const format = require("./meta/format.json");
8const metadata = require("./meta/meta-data.json");
9const validation = require("./meta/validation.json");
10const META_SUPPORT_DATA = ["/properties"];
11function addMetaSchema2019($data) {
12 ;
13 [
14 metaSchema,
15 applicator,
16 content,
17 core,
18 with$data(this, format),
19 metadata,
20 with$data(this, validation),
21 ].forEach((sch) => this.addMetaSchema(sch, undefined, false));
22 return this;
23 function with$data(ajv, sch) {
24 return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch;
25 }
26}
27exports.default = addMetaSchema2019;
28//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.