Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Full raw-EDIFACT validation pipeline, shared by the v2 API route (automapper-api’s run_validation) and the edifact-mapper library entry point (Mapper::validate_edifact), so both produce byte-identical findings.

Functions§

validate_edifact_message
Validate one message’s assembled segments against its AHB workflow.
validate_edifact_message_with_structure
validate_edifact_message plus the structure check against the MIG’s statuses and repetition limits (mig_assembly::structure_check): missing mandatory segments and groups (STR001 / STR005), too many repetitions (STR002 / STR006).