Interface ComplianceRule

§13.5 — A single compliance rule evaluated by the compliance engine.

interface ComplianceRule {
    action: EnforcementAction;
    params: Record<string, unknown>;
    priority: number;
    ruleId: string;
    ruleType: RuleType;
    scope: string;
    trigger: string;
}

Properties

params: Record<string, unknown>
priority: number

Lower = evaluated first

ruleId: string
ruleType: RuleType
scope: string

"*" matches all jurisdictions

trigger: string