Sequence types

JSONiq follows the W3C standard regarding sequence occurrence indicators. The following explanations, provided as an informal summary for convenience, are non-normative.

A sequence is an ordered list of items.

All sequences match the sequence type js:item*.

A sequence type is made of an item type followed by an occurrence indicator:


JSONiq defines the syntax () for the empty sequence, rather than empty-sequence().

Figure 4. SequenceType