X12ElementLengthValidationRule
Defines a validation rule that specifies custom length constraints for a specific X12 element. This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified.
Contents
- 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.
Type: String
Required: Yes
- maxLength
-
Specifies the maximum allowed length for the identified element. This value defines the upper limit for the element's content length.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000000.
Required: Yes
- minLength
-
Specifies the minimum required length for the identified element. This value defines the lower limit for the element's content length.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000000.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: