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

Function checkAsyncSchema

docs/scripts/ajv-validator.js:2907–2910  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

2905 it.baseId = (0, resolve_1.resolveUrl)(it.opts.uriResolver, it.baseId, schId);
2906 }
2907 function checkAsyncSchema(it) {
2908 if (it.schema.$async && !it.schemaEnv.$async)
2909 throw new Error("async schema in sync schema");
2910 }
2911 function commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) {
2912 const msg = schema.$comment;
2913 if (opts.$comment === true) {

Callers 1

subSchemaObjCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected