optionalProperties.js 400 B

1234567891011121314
  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. code(cxt) {
  8. if (cxt.parentSchema.properties)
  9. return;
  10. properties_1.validateProperties(cxt);
  11. },
  12. };
  13. exports.default = def;
  14. //# sourceMappingURL=optionalProperties.js.map