Non-blank id, unique across the whole tree.
Ids of the nodes this one plays against, such as the opponent's beat in a duel. Each must name another node.
Selects a group node.
Id of the node this one makes concrete, or null for the single intent root. Feedback on a beat walks this chain upward, so a correction can target the beat, a scene, an act or the intent.
Why the grouped nodes belong together.
Id of the node this one follows on the timeline, such as the previous beat, or null when nothing precedes it. It must name another node.
A grouping of sibling nodes, such as a montage or an exchange.
validateScriptTreeaccepts a group under the intent, an act or a scene, and accepts acts, scenes and beats under it, but not another group. The plain-text screenplay prints its rationale in brackets before its children.