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

Method validate

src/validator.js:160–163  ·  view source on GitHub ↗
(errors, e)

Source from the content-addressed store, hash-verified

158 },
159 extends (schema, value, path) {
160 const validate = (errors, e) => {
161 errors.push(...this._validateSchema(e, value, path))
162 return errors
163 }
164 return schema.extends.reduce(validate, [])
165 },
166 allOf (schema, value, path) {

Callers

nothing calls this directly

Calls 1

_validateSchemaMethod · 0.95

Tested by

no test coverage detected