MCPcopy Create free account
hub / github.com/json-editor/json-editor / applyPropertySchema

Function applyPropertySchema

docs/scripts/ajv-validator.js:5344–5350  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

5342 return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== undefined;
5343 }
5344 function applyPropertySchema(prop) {
5345 cxt.subschema({
5346 keyword: "properties",
5347 schemaProp: prop,
5348 dataProp: prop,
5349 }, valid);
5350 }
5351 },
5352 };
5353 exports.default = def;

Callers 1

codeFunction · 0.85

Calls 1

subschemaMethod · 0.80

Tested by

no test coverage detected