Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
431 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const properties_1 = require("./properties");
|
---|
4 | const def = {
|
---|
5 | keyword: "optionalProperties",
|
---|
6 | schemaType: "object",
|
---|
7 | error: properties_1.error,
|
---|
8 | code(cxt) {
|
---|
9 | if (cxt.parentSchema.properties)
|
---|
10 | return;
|
---|
11 | properties_1.validateProperties(cxt);
|
---|
12 | },
|
---|
13 | };
|
---|
14 | exports.default = def;
|
---|
15 | //# sourceMappingURL=optionalProperties.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.