Member Junction
    Preparing search index...
    • Validates a parsed JSON value against a JSON-Schema-subset node, returning human-readable error strings (empty array = valid). Never throws — a malformed schema node is skipped (its constraints simply aren't enforced).

      Parameters

      • value: unknown

        The parsed JSON value to validate.

      • schema: JsonSchemaLite

        The parsed schema node.

      • path: string = '$'

        JSON-path-ish location prefix used in error messages (defaults to $).

      Returns string[]

      The list of violations (empty when valid).