Skip to main content

Module validation

Module validation 

Source
Expand description

Validation pipeline types for pack-contributed KG rules.

Defines the trait surface for CorpusCheck (whole-corpus, cross-entity joins) and StreamingRule (per-record) shapes. Both return Vec<Violation> aggregated into a ValidationReport.

Structs§

GraphPatch
Opaque graph patch produced by a fix function.
GraphSnapshot
Opaque snapshot of the KG corpus passed to CorpusCheck::check.
ValidationContext
Context passed to all rule implementations.
ValidationReport
Aggregated result of running the full rule pipeline.
ValidationRule
A pack-contributed validation rule.
Violation
A single rule violation produced by a rule implementation.

Enums§

Severity
Severity of a validation finding.

Type Aliases§

FixFn
Optional auto-fix function type.
RuleFn
Whole-corpus check function type.
RuleId
Stable rule identifier, namespaced by pack: "<pack>/<rule-id>".