Skip to main content

Module rules

Module rules 

Source
Expand description

Rule registry. crate::validate() and explain share one table.

Structs§

Rule
One registered rule. eval is the only emitter of this id.

Statics§

ALL
Presence, co-occurrence, and totals rows in CORE (before category/codes/DEC).
DEC
Amount.Type decimal rows. Eval is a no-op so explain resolves artefact ids.

Functions§

catalogue
Explain/rules dump: CORE plus every profile’s extras so explain PEPPOL-EN16931-R010 works.
conformance_matrix
Markdown table of catalogue() × shipped profiles. Not a legal-validator claim.
core_rules
CORE rules only. Peppol extras are Profile::extra_rules, not this list.
explain
Authority text for id, or None if unregistered. Same table as crate::validate().
matches_id
Case-insensitive id match with numeric zero-padding (br-2 = BR-02).