X12ElementRequirementValidationRule
¶
Source code in docs_src/capo_b2bi/types/x12_element_requirement_validation_rule.py
element_position
instance-attribute
¶
element_position: ElementPosition
Specifies the position of the element within an X12 segment for which the requirement status will be modified. The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).
requirement
instance-attribute
¶
requirement: ElementRequirement
Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).