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

Method properties

src/validator.js:489–496  ·  view source on GitHub ↗
(schema, value, path, validatedProperties)

Source from the content-addressed store, hash-verified

487 return errors
488 },
489 properties (schema, value, path, validatedProperties) {
490 const errors = []
491 Object.entries(schema.properties).forEach(([key, prop]) => {
492 validatedProperties[key] = true
493 errors.push(...this._validateSchema(prop, value[key], `${path}.${key}`))
494 })
495 return errors
496 },
497 patternProperties (schema, value, path, validatedProperties) {
498 const errors = []
499 Object.entries(schema.patternProperties).forEach(([i, prop]) => {

Callers

nothing calls this directly

Calls 1

_validateSchemaMethod · 0.95

Tested by

no test coverage detected