The type of the segment
Must be one of: heading.
Arbitrary data echoed onto the rendered element as data-* attributes
Must be a Hash
The name of the segment (rendered as data-ppx-name)
Must be a String
Style attributes of the segment
Must be a Hash
Child segments (the heading text, usually text runs)
Must be an array of any type