interface RedactionPointer {
    from?: number;
    pointer: string;
    reason?: null | string;
    to?: number;
}

Hierarchy

  • Record<string, unknown>
    • RedactionPointer

Properties

from?: number

Starting character index (zero-based) within the target text where redaction begins.

pointer: string

JSON pointer indicating the exact location within the content structure where redaction should be applied. Points to the text node containing the content to redact.

reason?: null | string

Optional human-readable reason for the redaction. Used for audit trails and compliance documentation.

to?: number

Ending character index (zero-based) within the target text where redaction ends (exclusive). Must be greater than or equal to 'from' value.