MCPcopy Create free account
hub / github.com/anus-dev/ANUS /

Class

packages/core/src/utils/schemaValidator.ts:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 * Simple utility to validate objects against JSON Schemas
16 */
17export class SchemaValidator {
18 /**
19 * Returns null if the data confroms to the schema described by schema (or if schema
20 * is null). Otherwise, returns a string describing the error.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected