# Graph document schema A graph is a JSON document (`*.graph.json`) that the editor opens as nodes and `noodlelab run` and `noodlelab verify` run headless. This is its JSON schema, generated from `noodlelab.core.graph.GraphDocument`. The examples that come with noodlelab are the best reference for real graphs, and [Graphs and reports](../agents/graphs-and-reports.md) explains how to build one. ```{literalinclude} ../agents/graph.schema.json :language: json ```