FullSpectrum also renders sites from a semantic JSON document instead of HTML. HTML tells
you here is a div. PageDocument tells you here is the pricing
section:
{ "kind": "section", "region": "pricing",
"blocks": [ { "kind": "table", "columns": […], "rows": […] } ] }
Three rules the format enforces
-
Blocks are a closed union of 38 kinds. An unknown kind is a validation error, not
a blank rectangle. Every builder that starts with an open
{type, props}ends up rendering nothing for content it does not understand — which is indistinguishable from content that is genuinely empty. -
No styling in the document. Blocks carry intent (
tone: "danger"), never appearance (color: "#b91c1c"). That is what makes a redesign a change to a token block rather than a find-and-replace across every page ever authored. -
There is no
htmlfield anywhere. Inline formatting is a typed tree, so captured content — untrusted by definition — cannot carry markup or script into the renderer.