Skip to content

Add code set attributes to define length and range of values #287

Description

@kleihan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions