source: trip-planner-front/node_modules/ajv/dist/refs/json-schema-2020-12/index.js@ 76712b2

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

initial commit

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