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_reporting_segments
validate_edifact_message that also reports segments sent although their own condition does not hold (IssueKind::SegmentNotAllowed), for the fixture generator’s repair; see EdifactValidator::reporting_segments.
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).