Expand description
Validation helpers for product group payload lists.
The cross-field rule logic lives once in dpp-rules (shared with the Wasm
product group plugins). These thin adapters map the domain structs onto that crate’s
primitive inputs, preserving the public API and error messages.
Functions§
- battery_
recycled_ chemistry_ conflicts - Metals declared with recycled content
> 0that the battery chemistry does not contain (a data-integrity contradiction, e.g. cobalt on LFP). Delegates todpp_rules.chemistryis the serde code ("LFP","NMC", …). - unsold_
goods_ annex_ vii_ heading - The ESPR Annex VII heading a commodity code falls under, if any
(apparel & clothing accessories, or footwear).
Nonemeans the code is out of Annex VII’s destruction-ban scope entirely. Delegates todpp_rules. - unsold_
goods_ cn_ depth_ is_ correct - Whether a disclosure line’s CN category is filed at the depth Impl. Reg.
(EU) 2026/2 Art. 3 requires for it. Delegates to
dpp_rules. - validate_
battery_ operating_ temp - Validate a battery’s operating temperature range (
min < maxwhen both are declared). Delegates todpp_rules. - validate_
fibre_ composition - Validate a textile fibre composition list. Delegates to
dpp_rules. - validate_
surfactants - Validate a detergent surfactant list. Delegates to
dpp_rules. - validate_
svhc_ substances - Validate a list of SVHC substance declarations. Delegates to
dpp_rules.