Ensures the graph has all required top-level fields, validates component types
for registry, nodes, edges, and gates, and checks
that version is a single integer.
Ensures the graph has all required top-level fields, validates component types
for registry, nodes, edges, and gates, and checks
that version is a single integer.