The type of the segment
Must be one of: text.
The text content to render
Must be a String
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 (nested text runs)
Must be an array of any type