gatelineAPI reference
interface Validation {
    audit?: string[];
    contract: null | string;
    missing: string[];
    notes: string[];
    ok: boolean;
}

Properties

audit?: string[]

Audit-time sections (#217), as the contract spells them: evidence the approver reads when trust is in question rather than at every gate pass. A viewer folds them to their heading; nothing else changes. Absent or empty when the contract carries no AUDIENCE: line — a contract that says nothing about audience renders exactly as before.

contract: null | string

Which contract this artifact was checked against, or null (no contract → presence-only).

missing: string[]

Missing required section headings (markdown) or top-level keys (yaml).

notes: string[]

Non-fatal notes (e.g. fell back to built-in template).

ok: boolean