schema-components - v3.7.0
    Preparing search index...

    Interface Diagnostic

    A single diagnostic emitted during schema processing.

    interface Diagnostic {
        code: DiagnosticCode;
        message: string;
        pointer: string;
        detail?: Record<string, unknown>;
    }
    Index

    Properties

    Machine-readable code for programmatic handling.

    message: string

    Human-readable description of the issue.

    pointer: string

    JSON Pointer to the schema node that triggered the diagnostic.

    detail?: Record<string, unknown>

    Additional context specific to the diagnostic code.