ValidationDiagnostic
Defined in: src/validation.ts:34 (opens in a new tab)
One structural problem found in a canonical document.
Properties
Section titled “Properties”code:
ValidationCode
Defined in: src/validation.ts:36 (opens in a new tab)
Stable category suitable for programmatic handling.
index:
number
Defined in: src/validation.ts:38 (opens in a new tab)
Zero-based token index in the validated document.
message
Section titled “message”message:
string
Defined in: src/validation.ts:40 (opens in a new tab)
Human-readable English explanation.