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 the intent root.
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.
The film's logline and theme as the tree states them.
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.
The root of the screenplay tree: the film's single top-level statement.
validateScriptTreerequires exactly one node withparent: nulland requires it to be the intent; an intent with a parent is refused, so a tree has one intent. When a tree is present, the plain-text screenplay takes its logline and theme header from this node rather than from the flat script.