UNPKG

436 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const properties_1 = require("./properties");
4const def = {
5 keyword: "optionalProperties",
6 schemaType: "object",
7 error: properties_1.error,
8 code(cxt) {
9 if (cxt.parentSchema.properties)
10 return;
11 (0, properties_1.validateProperties)(cxt);
12 },
13};
14exports.default = def;
15//# sourceMappingURL=optionalProperties.js.map
\No newline at end of file