Represents a single node in a depth tree.
A node is either a leaf item containing a value, or a nested list containing children. This recursive type allows arbitrarily deep nesting.
The list type discriminator (e.g., "bullet" vs "number" for lists, or null when list type distinction is not needed)
null
The type of leaf item values
Represents a single node in a depth tree.
A node is either a leaf item containing a value, or a nested list containing children. This recursive type allows arbitrarily deep nesting.