ConstValidate authored citations from a normalized design to its evidence.
A citation may point at an unsettled reading on purpose: recording that a wall was drawn where two centreline candidates disagree is exactly the accountability this graph exists for. What it may not do is point at nothing. A dangling document, a dangling candidate, or a blank rationale each turn the citation into a decoration that survives the evidence it claims to rest on.
A citation also needs a non-blank subject and at least one candidate, and may cite each (subject, document, candidate) once. A citation whose document does not resolve skips candidate checks, while subject/rationale blank checks still report findings. Findings use $input.evidence[i] paths and nothing throws. Two references sharing an id are merged into one candidate set here rather than refused; the production builder reports that collision as design-reference-duplicate.
Authored citations from building subjects to observed candidates.
Observed documents the citations may point at, keyed by their id.
Success, or every violation found.
Validate authored citations from a normalized design to its evidence.
A citation may point at an unsettled reading on purpose: recording that a wall was drawn where two centreline candidates disagree is exactly the accountability this graph exists for. What it may not do is point at nothing. A dangling document, a dangling candidate, or a blank rationale each turn the citation into a decoration that survives the evidence it claims to rest on.
A citation also needs a non-blank subject and at least one candidate, and may cite each (subject, document, candidate) once. A citation whose document does not resolve skips candidate checks, while subject/rationale blank checks still report findings. Findings use
$input.evidence[i]paths and nothing throws. Two references sharing an id are merged into one candidate set here rather than refused; the production builder reports that collision asdesign-reference-duplicate.