The type of the segment
Must be one of: heading.
heading
Properties of the segment
Must be a Hash
The name of the segment
Must be a String
Attributes of the segment
Children of the segment
Must be an array of any type