Counting the parsed value itself as level 1, so {} is 1, {"a": 1} is 2,
and a scene document's root array plus one node is 3. A §79 node contributes
two levels per generation (the node object, then its children array), so
1024 admits a subtree roughly 500 nodes deep — far past any authored scene,
far short of the ~8 000-frame recursion depth benchmarks/scene-propagation.mjs
measured as the practical ceiling for resolveWorldTransforms, and therefore
far short of the stack depth at which a recursive validator dies.
The default ceiling on JSON nesting levels (§96).
Counting the parsed value itself as level 1, so
{}is 1,{"a": 1}is 2, and a scene document's root array plus one node is 3. A §79 node contributes two levels per generation (the node object, then itschildrenarray), so 1024 admits a subtree roughly 500 nodes deep — far past any authored scene, far short of the ~8 000-frame recursion depthbenchmarks/scene-propagation.mjsmeasured as the practical ceiling forresolveWorldTransforms, and therefore far short of the stack depth at which a recursive validator dies.