Skip to main content

JSON Schema & Storage

The visual editor and the API use JSON configurations based on SavedConfiguration. In v2, the profile repository’s gitascii branch stores the default layout as gitascii.json and additional layouts as gitascii_[slug].json, alongside the published SVGs. The editor can also export a JSON file for programmatic use.

Complete Real JSON Example

Below is a complete, production-valid configuration representing a Terminal layout:

Consuming JSON via Node.js / Server

You can load this JSON file from disk or an API response and feed it straight to renderSvg: