Skip to content

X12ElementLengthValidationRule

Source code in docs_src/capo_b2bi/types/x12_element_length_validation_rule.py
class X12ElementLengthValidationRule(TypedDict, closed=True):
    element_id: "capo_b2bi.types.element_id.ElementId"
    """<p>Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.</p>"""
    max_length: "int"
    """<p>Specifies the maximum allowed length for the identified element. This value must be between 1 and 200 characters and defines the upper limit for the element's content length.</p>"""
    min_length: "int"
    """<p>Specifies the minimum required length for the identified element. This value must be between 1 and 200 characters and defines the lower limit for the element's content length.</p>"""

element_id instance-attribute

element_id: ElementId

Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.

max_length instance-attribute

max_length: int

Specifies the maximum allowed length for the identified element. This value must be between 1 and 200 characters and defines the upper limit for the element's content length.

min_length instance-attribute

min_length: int

Specifies the minimum required length for the identified element. This value must be between 1 and 200 characters and defines the lower limit for the element's content length.