Member Junction
    Preparing search index...

    Function ValidateJsonAgainstSchemaSubset

    • Validates a parsed JSON value against a JSON-Schema-subset node.

      Never throws — a malformed schema node is skipped (its constraints simply are not enforced).

      Parameters

      • value: unknown

        The parsed JSON value to validate.

      • schema: JsonSchemaSubset

        The schema node.

      • path: string = '$'

        JSON-path-ish prefix used in messages; callers normally leave it at $.

      Returns string[]

      Human-readable violations, in document order; an empty array means valid.