Expand description
Code enrichment lookup — maps EDIFACT companion field codes to human-readable meanings.
Built from PID schema JSON files. Used by the mapping engine to automatically enrich companion field values during forward mapping (EDIFACT → BO4E).
Structs§
- Code
Enrichment - Enrichment data for a single EDIFACT code value.
- Code
Lookup - Complete code lookup table built from a PID schema JSON.
Type Aliases§
- Code
Lookup Key - Lookup key: (source_path, segment_tag, element_index, component_index).
- Code
Meanings - Maps EDIFACT code values to their enrichment data (meaning + optional enum key). E.g., “Z15” → CodeEnrichment { meaning: “Haushaltskunde gem. EnWG”, enum_key: Some(“HAUSHALTSKUNDE_ENWG”) }.