ISO 20022 supports internal and external code sets. Internal code sets are defined by a list of supported values. External code sets additionally define the minimum and maximum length of codes, e.g.
<xs:simpleType name="ExternalAccountIdentification1Code">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="4"/>
<xs:enumeration value="AIIN">
...
Orchestra supports length information on the field level with the attribute group fieldAttribGrp and attributes implLength, implMinLength, and implMaxLength. The inability to define this for a code set requires to define it explicitly for every field using the code set. Field attributes also include the lower/upper bound of field values (minInclusive, maxInclusive), which also make sense for a code set.
ISO 20022 supports internal and external code sets. Internal code sets are defined by a list of supported values. External code sets additionally define the minimum and maximum length of codes, e.g.
Orchestra supports length information on the field level with the attribute group
fieldAttribGrpand attributesimplLength,implMinLength, andimplMaxLength. The inability to define this for a code set requires to define it explicitly for every field using the code set. Field attributes also include the lower/upper bound of field values (minInclusive,maxInclusive), which also make sense for a code set.