Interface ValidationIssue

A single validation issue found during schema validation.

interface ValidationIssue {
    path: string;
    message: string;
    keyword: string;
    expected?: unknown;
    actual?: unknown;
    severity: "error" | "warning";
}

Properties

path: string

JSON Pointer path to the invalid value

message: string

Error message describing the issue

keyword: string

The keyword that failed validation

expected?: unknown

Expected value or constraint

actual?: unknown

Actual value that was found

severity: "error" | "warning"

Severity of the issue