Segment with brackets ([]
):
- Brackets indicate segment is optional.
- These segments may or may not present in the message.
Segment with braces ({}
):
- Braces indicate segment is repeatable.
- These segments may repeat more than once in same message.
- The sequence of repeat segments may also matter.
Based on above, meaning of other combinations can be easily understood.
Segment without brackets and braces:
- These are mandatory segments (not optional; as not enclosed in brackets).
- These are allowed only once in the message (no repeat; as not enclosed in braces).
- That means one and only one instance of the segment must present in the message.
Segment with brackets as well as braces:
- These are optional segments (as enclosed in brackets).
- If present, these may occur once or multiple time in the message (as enclosed in braces).
You may find the details here and here.
So, in your screen shot in question:
MSH
segment must present only once.
[{SFT}]
segment may not present at all; may present once; may present multiple times.
[UAC]
segment may present only once or may not present at all.