# SplatWorks and DrawSplat JSON file specifications for AI chatbots

Reference revision 1.0 · Application source verified at commit `7c3e452a6c82a609bd6356ccbb2415643a5c579b` (v3.1.46). File-format versions below are independent of suite/package versions.

Upload this **one Markdown file** to your chatbot together with your source content. Tell it the target tool, desired activity/document, learner level, and desired output filename. The chatbot should follow only the matching profile and return a separate importable JSON file. This reference is instructions; it is not itself a native project to import into an app. No account credentials, API key or subscription is needed to use the reference.

These profiles describe supported JSON imports, concrete generation rules, and complete examples. “Valid JSON” alone does not prove an app can open a file or that every line fits a page. The generation contract and verification section define the checks needed before calling a file ready.

## Copy this prompt into your chatbot

> Use the attached SplatWorks and DrawSplat JSON file specifications as the format authority. Target tool: [NAME]. Create [ACTIVITY OR DOCUMENT] from the content I provide. Intended audience: [GRADE OR AUDIENCE]. Follow the exact markers, native field names, types, units, references, and importer behavior for that tool. Replace the sample content with mine; retain necessary wrappers and defaults. Do not create an invented common SplatWorks schema. Return a downloadable file with the documented extension and valid UTF-8 JSON. If you cannot attach a file, return one raw JSON code block and its exact filename. Validate syntax and cross-references; if execution is available, test with the documented importer or validator. Identify any checks you could not run, media I must supply, and UI settings the importer does not restore. If the requested tool has no JSON import, say so and use a documented supported alternative rather than pretending that a JSON project is importable. Ask only for content or assets that are genuinely missing.

## Universal generation contract

1. Choose exactly one app profile per output. Do not wrap a project in a schema document, in an array of files, or in the chatbot’s message envelope. Do not add JSON Schema’s `$schema` as an app identity marker.
2. Write UTF-8 JSON with double-quoted keys and strings, no comments, no trailing commas, no undefined/NaN/Infinity, and no duplicate keys. Use actual booleans, numeric values and null where the profile requires them. JSON has no Date, Blob, Map, function or Set types.
3. Escape quotes/backslashes correctly. Encode newlines inside JSON strings as `\n`; do not insert literal unescaped line breaks. Markdown fences belong in the chat fallback, never inside the saved .json file.
4. Preserve exact app/type/schema markers and numeric versus string versions. `WriteSplatTM`, `ListSplatTM`, `LayoutSplat`, `PlanSplat`, and `FontSplat` are different literal identities. Filename suffixes alone do not convert formats.
5. Generate stable unique IDs and resolve every cross-reference, including records, frames, stories, assets, connectors, layouts and clips. Do not confuse display labels with IDs. Preserve IDs when updating an existing project; use new IDs for distinct new objects.
6. Use complete required containers even when empty. Do not place sample ellipses, placeholders like `...`, pseudo-code, or explanatory sentences into output JSON. The complete examples below may be copied and adapted.
7. Follow each tool’s units. LayoutSplat uses points; ShowSplat uses a 1600×900 pixel canvas; timeline times are seconds; FontSplat image placements are artwork-relative. GridSplat’s cells are strings, while ListSplat numbers are numbers.
8. Use real supplied media bytes or supported URLs only. Never invent base64, font data, hashes, durations or missing images. A `blob:` URL and a chatbot’s temporary file path will not travel with the JSON. Ask for real assets or omit optional media.
9. Match the user’s content faithfully. Leave citations empty when none were supplied; do not invent source attributions or standards codes. Check question answers, distractors, formulas, word counts and date/time values as well as structural validity.
10. Before delivery: parse the final bytes, verify required keys/enums/ranges and referenced IDs, test in the target app when possible, then inspect the rendered result for clipping, text overflow and missing media. State the actual checks performed; do not call an untested file “perfect” or claim that media was generated by metadata alone.

## Choose a JSON import profile


| Tool | Output filename suffix | Import category |
| --- | --- | --- |
| [DrawSplat Whiteboard](https://splatworks.org/app/whiteboard.html) | `.drawsplat.json` | Editable project |
| [WriteSplat](https://splatworks.org/splatworks/writesplat/) | `.writesplat.json` | Editable project |
| [GridSplat](https://splatworks.org/splatworks/gridsplat/) | `.gridsplat.json` | Editable project |
| [ListSplat](https://splatworks.org/splatworks/listsplat/) | `.listsplat.json` | Editable project |
| [ShowSplat](https://splatworks.org/splatworks/showsplat/) | `.showsplat.json` | Editable project |
| [LayoutSplat](https://splatworks.org/splatworks/layoutsplat/) | `.layoutsplat.json` | Editable project |
| [PlanSplat](https://splatworks.org/splatworks/plansplat/) | `.plansplat.json` | Editable project |
| [ConceptSplat](https://splatworks.org/solutions/concept-map/) | `.drawsplat-cmap.json` | Editable project |
| [QuizSplat](https://splatworks.org/solutions/quiz-flashcard-studio/) | `.quizsplat.json` | Content set |
| [Dicebreaker Creator](https://splatworks.org/solutions/dicebreakers/) | `.dicebreaker.json` | Content set |
| [Meme Puzzle](https://splatworks.org/solutions/memepuzzle/) | `.meme-puzzle.json` | Content set |
| [FontSplat](https://splatworks.org/solutions/fontsplat/) | `.fontsplat.json` | Editable project |
| [GraphSplat](https://splatworks.org/solutions/graphsplat/) | `.graphsplat.json` | Editable project |
| [SplatBot Studio mission pack](https://splatworks.org/solutions/splatbot-studio/) | `.splatbot.json` | Content set |
| [SplatBot Studio program project](https://splatworks.org/solutions/splatbot-studio/) | `.splatbot-project.json` | Editable project |
| [Story Sprint passage set](https://splatworks.org/games/story-sprint/) | `.passages.json` | Content set |
| [VideoSplat project manifest](https://splatworks.org/solutions/videosplat/) | `.videosplat.json` | Media-dependent project |
| [AudioSplat portable project](https://splatworks.org/solutions/audiosplat/) | `.audiosplat.json` | Media-dependent project |

The descriptive middle part of a filename is flexible; keep its final `.json` and any native compound suffix. Plain activity importers such as QuizSplat and Meme Puzzle accept ordinary `.json`. These eighteen profiles cover seventeen tools; SplatBot has separate mission and program formats.

## 1. DrawSplat Whiteboard

**Open:** https://splatworks.org/app/whiteboard.html  
**Filename example:** `water-cycle.drawsplat.json`  
**Import:** Use the whiteboard’s local JSON open/load control (Open from device).

Root: `version` is the whiteboard’s string `"3.1.12"`, not the suite release number; `title`, `className`, `studentName` are strings; `mode` is `"teacher"` for this authoring profile; `assignmentMode` boolean; `currentLayer` `"shared"`; `restorePoints` array; `showAnswerKey` boolean; `active` zero-based panel index; `panels` nonempty array. Use unique string IDs for panels and objects. A panel has `id`, `name`, `bg`, `objects`; `bg:"blank"` is safe. There are no root `slides` or `pages` fields.

Basic object fields: `id`, `type`, numeric `x,y,w,h`, `locked` boolean, `layer` (`shared`, `teacher`, `student`), `stroke` CSS color, `strokeWidth` number, `fill` CSS color or `"none"`, `fillPattern:""`, `opacity` 0–1. Text-capable types include `text`, `sticky`, `comment`, `rect`, `ellipse`, `diamond`, `triangle`, `callout`, `speech`, `polygon`, `star`. Include `text` and matching escaped HTML in `html` (plain `<p>`/`<br>` is sufficient); `textColor`, `fontSize`, `hAlign` left/center/right, `vAlign` top/middle/bottom, `textRotation`, `autoScaleText`. Omit `html` to let plain text migrate; never put different content in the two fields. Do not use the literal placeholder strings “Text” or “Type here” as intended content: legacy cleanup can remove them.

Use modest coordinates, for example x=60–1000 and y=60–650, then inspect the board. A connector uses `type:"connector"`, existing `fromId` and `toId` in the same panel, `fill:"none"`, and optionally `connectorLabel`, `connectorLabelSize`, `connectorLabelColor`. Freehand paths use SVG path text in `d`, not an array of points. Images use actual `src` image data and numeric geometry. Media/widget subtypes have additional app-specific fields; reuse an actual export rather than inventing those structures. New files should have empty restore-point history, not copied account or recording state. Migration creates a recording-board ID if omitted and updates the version string. Geometry must be finite numbers. Board file size must be at most 64 MiB. Imported panels and objects are rendered, not an arbitrary scene graph from another drawing library.

### Complete example for water-cycle.drawsplat.json

```json
{
  "version": "3.1.12",
  "title": "The Water Cycle",
  "className": "Science",
  "studentName": "",
  "mode": "teacher",
  "assignmentMode": false,
  "currentLayer": "shared",
  "restorePoints": [],
  "showAnswerKey": true,
  "active": 0,
  "panels": [
    {
      "id": "panel-1",
      "name": "Water cycle",
      "bg": "blank",
      "objects": [
        {
          "id": "heading-1",
          "type": "text",
          "x": 60,
          "y": 60,
          "w": 800,
          "h": 70,
          "locked": false,
          "layer": "shared",
          "stroke": "none",
          "strokeWidth": 0,
          "fill": "none",
          "fillPattern": "",
          "opacity": 1,
          "text": "The Water Cycle",
          "html": "<p>The Water Cycle</p>",
          "textColor": "#34205c",
          "fontSize": 36,
          "hAlign": "left",
          "vAlign": "top",
          "textRotation": 0,
          "autoScaleText": false
        },
        {
          "id": "note-1",
          "type": "sticky",
          "x": 60,
          "y": 170,
          "w": 450,
          "h": 220,
          "locked": false,
          "layer": "shared",
          "stroke": "#7c3aed",
          "strokeWidth": 2,
          "fill": "#fff7cf",
          "fillPattern": "",
          "opacity": 1,
          "text": "Evaporation: liquid water becomes water vapor.",
          "html": "<p>Evaporation: liquid water becomes water vapor.</p>",
          "textColor": "#111827",
          "fontSize": 22,
          "hAlign": "left",
          "vAlign": "top",
          "textRotation": 0,
          "autoScaleText": false
        }
      ]
    }
  ]
}
```

**Implementation authority:** [assets/js/app.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/assets/js/app.js)

## 2. WriteSplat

**Open:** https://splatworks.org/splatworks/writesplat/  
**Filename example:** `water-cycle.writesplat.json`  
**Import:** File → Open native WriteSplat file.

Required marker: `app:"WriteSplatTM"` (literal letters TM), numeric `version:1`. Root `createdAt`, `updatedAt` ISO timestamp strings; `metadata:{title,author,targetGrade}` with string values (grade is a string); `document:{format:"prosemirror-json",content:...}`; `teacher:{studentView:boolean,citations:string[],answerKey:string[]}`. Preserve these complete wrappers.

The editor uses ProseMirror basic/list/table names, **not Tiptap camelCase**: `doc`, `paragraph`, `heading` (`attrs.level` 1–6), `text`, `hard_break`, `horizontal_rule`, `blockquote`, `code_block`, `bullet_list`, `ordered_list` (`attrs.order`, default 1), `list_item`, `image`, `table`, `table_row`, `table_cell`, `table_header`, `page_break`, `tab`, `teacher_only_block`. A doc contains block nodes. A list contains list_item nodes; each list_item starts with a paragraph. A table contains rows containing cells; cells contain paragraphs. Text nodes have a nonempty `text` string and cannot have children. For an empty paragraph use `{ "type":"paragraph" }`, not a text node containing an empty string.

Text marks are `strong`, `em`, `code`, `link` (`attrs.href`, optional title), `underline`, `strike`, `cloze` (`attrs.answer`), `teacherOnly`, `fontFamily` (`attrs.family` string), `fontSize` (`attrs.size` CSS string such as `"14pt"`), `textColor` and `highlight` (`attrs.color`). **Do not use `bold`, `italic`, `textStyle`, `bulletList`, or `tableCell` as schema names.** Paragraph/heading optional attrs include `align`, numeric point-valued `fontSize`, `leading`, `spaceBefore`, `spaceAfter`, `indentLeft`, `indentRight`, `firstLineIndent`, `fontFamily`, `lineMultiple`, and ascending numeric `tabs`. Image attrs follow ProseMirror (`src`, `alt`, `title`); use real embedded image bytes for portability. Standard table-cell attrs are `colspan`, `rowspan`, `colwidth` (null or widths array). Keep simple nonmerged tables unless the grid is validated.

`document:{format:"html",body:"<p>...</p>"}` is an accepted legacy import and is migrated, but generate the native ProseMirror profile above. `customFonts` is optional and needs real licensed font data; omit it for standard fonts. Teacher-only flags affect the app’s presentation; they are not file encryption.

### Complete example for water-cycle.writesplat.json

```json
{
  "app": "WriteSplatTM",
  "version": 1,
  "createdAt": "2026-10-30T12:00:00.000Z",
  "updatedAt": "2026-10-30T12:00:00.000Z",
  "metadata": {
    "title": "The Water Cycle",
    "author": "",
    "targetGrade": "5"
  },
  "document": {
    "format": "prosemirror-json",
    "content": {
      "type": "doc",
      "content": [
        {
          "type": "heading",
          "attrs": {
            "level": 1
          },
          "content": [
            {
              "type": "text",
              "text": "The Water Cycle"
            }
          ]
        },
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "Water moves through the environment.",
              "marks": [
                {
                  "type": "strong"
                }
              ]
            }
          ]
        },
        {
          "type": "bullet_list",
          "content": [
            {
              "type": "list_item",
              "content": [
                {
                  "type": "paragraph",
                  "content": [
                    {
                      "type": "text",
                      "text": "Evaporation changes liquid water into water vapor."
                    }
                  ]
                }
              ]
            },
            {
              "type": "list_item",
              "content": [
                {
                  "type": "paragraph",
                  "content": [
                    {
                      "type": "text",
                      "text": "Condensation changes water vapor into liquid droplets."
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "teacher": {
    "studentView": false,
    "citations": [],
    "answerKey": []
  }
}
```

**Implementation authority:** [splatworks/writesplat/src/storage/nativeFile.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/writesplat/src/storage/nativeFile.ts) · [splatworks/writesplat/src/editor/writerEditor.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/writesplat/src/editor/writerEditor.ts)

## 3. GridSplat

**Open:** https://splatworks.org/splatworks/gridsplat/  
**Filename example:** `water-cycle.gridsplat.json`  
**Import:** File → Import spreadsheet file; choose the .gridsplat.json file.

Root `version:1`, `metadata:{createdAt,title}`, `sheets` array, `charts:[]`, `pictureGraphs:[]`. Generate **one sheet**: the current loader reads only `sheets[0]`. A sheet has `id`, `name`, `cells` as row-major **string[][]**, optionally `rows`, `cols`, `formats`, `merges`. Numbers and formulas are strings: `"4"`, `"0.25"`, `"=SUM(B2:B3)"`. Do not send numbers, nulls, cell objects, or formula/value pairs in `cells`. Empty cells are `""`. Formulas are recalculated, not cached display values. Use native supported formulas and simple references; unsupported Excel functions do not become supported through JSON.

`rows` and `cols` are positive integers at least the data dimensions. Limits: 2,000 rows, 200 columns, 100,000 total cells (including allocated blanks). Formatting entries: `{row,col,format}` with zero-based indices. Valid format keys: booleans `bold,italic,underline,strikethrough,border,wrapText`; colors `textColor,backgroundColor` hex; `fontFamily` ≤100 characters; `fontSize` number 8–72; `align` left/center/right; `verticalAlign` top/middle/bottom; `numberFormat` plain/whole/decimal/currency/percent/thousands/scientific/date; integer `decimalPlaces` 0–10. A percent value of `"0.25"` formats as 25%.

A merge is `{row,col,rowSpan,colSpan}` with positive integer spans, entirely inside the allocated sheet. Merges cannot overlap. Only the top-left cell retains content; put `""` in covered cells. The native loader does not reconstruct charts or picture graphs from those root arrays; leave both empty and use GraphSplat for an AI-authored graph project.

### Complete example for water-cycle.gridsplat.json

```json
{
  "version": 1,
  "metadata": {
    "createdAt": "2026-10-30T12:00:00.000Z",
    "title": "Water observations"
  },
  "sheets": [
    {
      "id": "sheet-1",
      "name": "Observations",
      "rows": 8,
      "cols": 3,
      "cells": [
        [
          "Day",
          "Temperature C",
          "Notes"
        ],
        [
          "Monday",
          "21",
          "Sunny"
        ],
        [
          "Tuesday",
          "23",
          "Sunny"
        ],
        [
          "Average",
          "=AVERAGE(B2:B3)",
          ""
        ]
      ],
      "formats": [
        {
          "row": 0,
          "col": 0,
          "format": {
            "bold": true,
            "backgroundColor": "#ede7ff"
          }
        },
        {
          "row": 3,
          "col": 1,
          "format": {
            "numberFormat": "decimal",
            "decimalPlaces": 1
          }
        }
      ],
      "merges": []
    }
  ],
  "charts": [],
  "pictureGraphs": []
}
```

**Implementation authority:** [splatworks/gridsplat/src/io/format.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/gridsplat/src/io/format.ts) · [splatworks/gridsplat/src/io/matrix.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/gridsplat/src/io/matrix.ts)

## 4. ListSplat

**Open:** https://splatworks.org/splatworks/listsplat/  
**Filename example:** `classroom-library.listsplat.json`  
**Import:** File → Open .listsplat.json.

Exact marker `app:"ListSplatTM"`, numeric `version:1`; timestamps; `metadata:{title,author,className}` strings; `schema:{tables:[],relationships:[]}`; `layouts:[]`; `teacher:{studentView:false,notes:[],rubric:[]}`. A practical file needs at least one table, one field, a matching layout, and valid records.

Table: `{id,name,fields,records}`. Field: `{id,name,type,description,required,hidden}`. Allowed field types: `text,longText,number,currency,percent,date,time,dateTime,checkbox,rating,choice,multiSelect,email,phone,image,file,audio,link,calculation,autoNumber,createdAt,updatedAt`. Optional field properties: `options:string[]`, `formula:string`, `unique,primaryKey,readonly` booleans, `min,max,maxLength` numbers, `pattern` none/email/url/phone/custom, `customPattern,defaultValue,customMessage` strings. Do not invent a dropdown type or store choice labels as nested objects.

Record: `{id,createdAt,updatedAt,values:{FIELD_ID:VALUE}}`; values are string, number, boolean, or null. Keys in `values` are field IDs, not display names. Store numbers as numbers, checkboxes as booleans; dates `YYYY-MM-DD`, time `HH:MM`; multiSelect as comma-separated text. Native media fields require real supported data/URLs; bare filenames do not embed media. Optional record fields: `archived`, comments (`id,author,text,at,teacherOnly?`), history (`at,values`), rubricScores (criterion-ID → number).

Layouts: `{id,name,tableId,mode,locked}`; mode table/form/cards/gallery/list/kanban/calendar/labels/report. Optional fieldOrder, hiddenFieldIds are arrays of field IDs; columnWidths maps field IDs to numbers. Root `views` can be omitted; if supplied, each view has `id,name,tableId,mode,search,searchFieldId,find,sortKeys`; find is null or `{match:"all"|"any",rules:[{fieldId,operator,value,value2?}]}`, sortKeys entries `{fieldId,direction:"asc"|"desc"}`. Optional root rubricCriteria entries `{id,label,max}`.

Relationships point **from parent primary key to child foreign key**: `{id,name,fromTableId,fromFieldId,toTableId,toFieldId,enforceKeys:true,cardinality:"one-to-many"|"one-to-one"}`. Each table has at most one primaryKey; its values must be nonempty and unique. Parent types text/number/autoNumber; child type text or number matching the parent category; never an autoNumber FK. Every nonempty FK must match a parent record. One-to-one child keys cannot repeat. All table, field, record, relationship and layout references must resolve.

### Complete example for classroom-library.listsplat.json

```json
{
  "app": "ListSplatTM",
  "version": 1,
  "createdAt": "2026-10-30T12:00:00.000Z",
  "updatedAt": "2026-10-30T12:00:00.000Z",
  "metadata": {
    "title": "Classroom Library",
    "author": "",
    "className": "Reading"
  },
  "schema": {
    "tables": [
      {
        "id": "books",
        "name": "Books",
        "fields": [
          {
            "id": "book-id",
            "name": "Book ID",
            "type": "autoNumber",
            "description": "",
            "required": false,
            "hidden": false,
            "primaryKey": true,
            "unique": true
          },
          {
            "id": "book-title",
            "name": "Title",
            "type": "text",
            "description": "",
            "required": false,
            "hidden": false
          }
        ],
        "records": [
          {
            "id": "book-1",
            "createdAt": "2026-10-30T12:00:00.000Z",
            "updatedAt": "2026-10-30T12:00:00.000Z",
            "values": {
              "book-id": 1,
              "book-title": "The Water Cycle"
            }
          }
        ]
      },
      {
        "id": "loans",
        "name": "Loans",
        "fields": [
          {
            "id": "loan-id",
            "name": "Loan ID",
            "type": "autoNumber",
            "description": "",
            "required": false,
            "hidden": false,
            "primaryKey": true,
            "unique": true
          },
          {
            "id": "loan-book-id",
            "name": "Book ID",
            "type": "number",
            "description": "",
            "required": false,
            "hidden": false
          },
          {
            "id": "borrower",
            "name": "Borrower",
            "type": "text",
            "description": "",
            "required": false,
            "hidden": false
          }
        ],
        "records": [
          {
            "id": "loan-1",
            "createdAt": "2026-10-30T12:00:00.000Z",
            "updatedAt": "2026-10-30T12:00:00.000Z",
            "values": {
              "loan-id": 1,
              "loan-book-id": 1,
              "borrower": "Sample learner"
            }
          }
        ]
      }
    ],
    "relationships": [
      {
        "id": "books-loans",
        "name": "Book loans",
        "fromTableId": "books",
        "fromFieldId": "book-id",
        "toTableId": "loans",
        "toFieldId": "loan-book-id",
        "enforceKeys": true,
        "cardinality": "one-to-many"
      }
    ]
  },
  "layouts": [
    {
      "id": "books-table",
      "name": "Books",
      "tableId": "books",
      "mode": "table",
      "locked": false
    },
    {
      "id": "loans-table",
      "name": "Loans",
      "tableId": "loans",
      "mode": "table",
      "locked": false
    }
  ],
  "teacher": {
    "studentView": false,
    "notes": [],
    "rubric": []
  }
}
```

**Implementation authority:** [splatworks/listsplat/src/model/types.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/listsplat/src/model/types.ts) · [splatworks/listsplat/src/model/relationships.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/listsplat/src/model/relationships.ts)

## 5. ShowSplat

**Open:** https://splatworks.org/splatworks/showsplat/  
**Filename example:** `water-cycle.showsplat.json`  
**Import:** File → Open .showsplat.json.

Root numeric `version:1`, `title`, `theme`, `footer`, `globalAudio:null` or an audio object, and nonempty `slides`. Safe themes violet/sky/forest/slate. Slide: `id,title,notes,bg,footer,audio,elements`; `bg:"light"` or `"section"`, `footer` boolean, `audio:[]`. Optional slide fields: `backgroundColor,footerColor,footerTextColor,defaultTextColor` CSS colors, hidden/collapsed booleans, indent integer 0–4. Speaker notes belong in `notes`.

Canvas geometry is **1600×900 pixels**, not the WebDeck 1280×720 authoring canvas. Each element has unique `id,type,x,y,w,h,z`. Types include `text,list,shape,table,image,video,link,html`. Safe text/list/shape fields: `text,fontFamily,fontSize,bold,italic,underline,color,fill,align` (left/center/right). List text uses newline-separated lines; a shape is a filled text-bearing box. A table uses `rows` as string[][] and `fontSize,color,fill`. Images/videos need a real `src`; audio objects use `{id,src,name,title}`. Do not invent image bytes or use browser-only blob URLs.

Use simple text/list/shape/table elements for content-only generation. Imported HTML/CSS and media require their own existing-export templates. Text-like elements are normalized to at least `ceil(fontSize*1.45)+20` pixels high; allocate substantially more height for multiline text. Slides render elements by their geometry/stacking; place all intended content inside 0..1600 × 0..900 and check for clipping. Root optional themeColors uses accent/accent2/dark/bg from the theme model; omit for a built-in theme. Empty slide arrays should not be generated.

### Complete example for water-cycle.showsplat.json

```json
{
  "version": 1,
  "title": "The Water Cycle",
  "theme": "violet",
  "footer": "Science",
  "globalAudio": null,
  "slides": [
    {
      "id": "slide-1",
      "title": "The Water Cycle",
      "notes": "Ask learners where rain comes from.",
      "bg": "light",
      "footer": true,
      "audio": [],
      "elements": [
        {
          "id": "title-1",
          "type": "text",
          "x": 100,
          "y": 90,
          "w": 1400,
          "h": 130,
          "text": "The Water Cycle",
          "fontFamily": "Arial, sans-serif",
          "fontSize": 64,
          "bold": true,
          "italic": false,
          "underline": false,
          "color": "#34205c",
          "fill": "transparent",
          "align": "left",
          "z": 1
        },
        {
          "id": "body-1",
          "type": "list",
          "x": 110,
          "y": 260,
          "w": 1350,
          "h": 420,
          "text": "Evaporation: liquid water becomes vapor.\nCondensation: vapor forms liquid droplets.\nPrecipitation: water falls from clouds.",
          "fontFamily": "Arial, sans-serif",
          "fontSize": 38,
          "bold": false,
          "italic": false,
          "underline": false,
          "color": "#1f2937",
          "fill": "transparent",
          "align": "left",
          "z": 2
        }
      ]
    }
  ]
}
```

**Implementation authority:** [splatworks/showsplat/app.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/showsplat/app.js)

## 6. LayoutSplat

**Open:** https://splatworks.org/splatworks/layoutsplat/  
**Filename example:** `water-cycle.layoutsplat.json`  
**Import:** File → Open; select the .layoutsplat.json file (plain UTF-8 JSON is supported).

Exact marker `app:"LayoutSplat"`, numeric `version:1`. Root: string `id,title` (title ≤200 characters); numeric `width,height,margin`; `guides`; nonempty `pages`; `stories` and `assets` objects keyed by IDs; optional `createdAt`. **All geometry is typographic points, 72 pt per inch**, regardless of the UI ruler. US Letter is 612×792, A4 about 595.276×841.89. Width/height 72–2000; margin ≥0 and <half the smaller dimension. No root slides array.

Guides: integer columns/rows 1–12, gap 0–72, baseline 4–72, numeric vertical/horizontal arrays (≤100 entries, each 0–2000); available space after margins and gaps must stay positive. Optional locked/showHorizontal/showVertical booleans. Root optional bleed 0–36, safeArea smaller than half the shorter dimension, facingPages boolean, rulerOrigin `{x,y}` −2000..2000, masters array ≤20.

Each page/master: unique string `id`, `objects` array ≤200. A page can reference an existing masterId; masterOverrides is an array of object IDs. All page and object IDs share one unique namespace. Object common fields **all required**: `id,type,x,y,w,h,rotation,locked`. x/y −2000..4000; dimensions ≤2000, minimum 6 for text or 0.1 otherwise; rotation −360..360; locked boolean. Supported type is **text,shape,image,table**.

Text frame: `type:"text",storyId,padding` (0–36); optional insets `{left,right,top,bottom}` each 0–36, columns 1–6, columnGap 0–72, baselineAlign boolean. Every frame must reference an existing story, and every story’s frames array must list exactly its frame IDs in reading/flow order. No frame may appear twice or in two stories. No orphan frames or stories with zero frames. Frame text belongs in the story, not on the frame. A story has `text` ≤100,000 characters, `frames`, `style`. **Every style must contain** `font` Arial/Georgia/Verdana/Comic Neue (or an actual embedded font ID), `size` 6–120, `weight` normal/bold, six-digit hex `color`, `align` left/center/right/justify, `direction` ltr/rtl, `lineHeight` 1–3. Optional italic/underline booleans, tracking −12..10, wordArt none/shadow/outline/curve, autoFit none/shrink/grow, minSize 6–120, textScale .5–2, kerning auto/normal/none, wordSpacing −5..30, ligatures boolean, hyphens none/manual/auto, language BCP-47 string, dropCap integer 0–5.

Optional story `marks` entries use `from,to` **JavaScript UTF-16 offsets**, half-open, 0≤from<to≤text.length; optional bold/italic/underline booleans, font, size, color, tracking, link (http/https/mailto). Up to 10,000 marks per story. Optional `paragraphs` entries require from/to, leading 6–360, align; ranges must be ordered and nonoverlapping. Optional spaceBefore/spaceAfter/indentLeft/indentRight 0–360, firstLineIndent −360..360, lineMultiple .5–6, ascending tabs (≤32, .1–2000), and list `{kind:"ordered"|"bullet",depth:1..20,number:0..100000,style:"1"|"a"|"A"|"i"|"I",prefix:string}`. Generate normal plain stories first unless rich ranges are checked.

Shape: `type:"shape",kind,fill,stroke,strokeWidth,opacity`; colors six-digit hex (do not use transparent for these shape color fields), strokeWidth 0–20, opacity 0–1; kind rect/ellipse/line/triangle/hexagon/arrow/star/heart/callout/border/path. An image frame requires assetId and fit contain/cover/stretch. Every asset must include name, width/height 1–20000, src with real **data:image/png, data:image/jpeg, or data:image/webp base64**, optional alt. Arbitrary HTTPS src is not the ordinary native asset format. Maximum 500 assets, 500 pages. A table has rectangular string[][] cells, 1–200 rows and 1–20 columns, each string ≤5000 characters; fontSize 6–36 and header boolean required. Optional wrap none/square/contour; image wrapContour needs 3–64 normalized [x,y] pairs. readingOrder must be an integer 0–200; readingHeading is 1–6 for text; readingExcluded boolean. Group IDs, gradients, custom paths, embedded media, customFonts, ebookSource, labelLayout and original desktop-file payloads have additional validated structures; preserve them from a real exported template rather than fabricating them.

Plain JSON can be opened directly; saving from the app may produce the native .layoutsplat container. Do not rename an unrelated ZIP or a different app’s JSON to this extension. Text-frame geometry does not guarantee that the story fits: inspect overflow, enlarge/link frames or shorten text. The sample has ample room for its short text.

### Complete example for water-cycle.layoutsplat.json

```json
{
  "app": "LayoutSplat",
  "version": 1,
  "id": "publication-1",
  "title": "The Water Cycle",
  "width": 612,
  "height": 792,
  "margin": 36,
  "guides": {
    "columns": 1,
    "rows": 1,
    "gap": 18,
    "baseline": 14,
    "vertical": [],
    "horizontal": []
  },
  "pages": [
    {
      "id": "page-1",
      "objects": [
        {
          "id": "frame-title",
          "type": "text",
          "storyId": "story-title",
          "x": 36,
          "y": 42,
          "w": 540,
          "h": 64,
          "rotation": 0,
          "padding": 0,
          "locked": false
        },
        {
          "id": "frame-body",
          "type": "text",
          "storyId": "story-body",
          "x": 36,
          "y": 135,
          "w": 540,
          "h": 280,
          "rotation": 0,
          "padding": 0,
          "locked": false
        }
      ]
    }
  ],
  "stories": {
    "story-title": {
      "text": "The Water Cycle",
      "frames": [
        "frame-title"
      ],
      "style": {
        "font": "Arial",
        "size": 30,
        "weight": "bold",
        "color": "#25304b",
        "align": "left",
        "direction": "ltr",
        "lineHeight": 1.4
      }
    },
    "story-body": {
      "text": "Evaporation changes liquid water into water vapor.\n\nCondensation changes water vapor into liquid droplets.\n\nPrecipitation returns water to Earth.",
      "frames": [
        "frame-body"
      ],
      "style": {
        "font": "Arial",
        "size": 18,
        "weight": "normal",
        "color": "#25304b",
        "align": "left",
        "direction": "ltr",
        "lineHeight": 1.4
      }
    }
  },
  "assets": {},
  "createdAt": "2026-10-30T12:00:00.000Z"
}
```

**Implementation authority:** [splatworks/layoutsplat/engine.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/layoutsplat/engine.mjs) · [splatworks/layoutsplat/app.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/layoutsplat/app.mjs)

## 7. PlanSplat

**Open:** https://splatworks.org/splatworks/plansplat/  
**Filename example:** `water-cycle.plansplat.json`  
**Import:** Open Data and backup → Import JSON. Import merges with the current planner; it does not replace it.

Exact marker `app:"PlanSplat"`, numeric `version:1`; `id` string; `counter` safe integer 0≤n<10^12; six dictionaries **all mandatory**: `courses,tasks,habits,checkins,blocks,sessions`; `conflicts:{}` for new files. Collections are ID-keyed objects, **not arrays**. Each dictionary key equals record.id. IDs and change-stamp by values match `^[A-Za-z0-9][A-Za-z0-9:_-]{0,199}$`.

Every record requires `id`, `_clock` and `_base`. **Every supplied content field** (including _deleted if supplied) needs `_clock[field]:{n:integer,by:string}`; n is nonnegative and ≤root.counter. `_base[field]` can be null for a new field. Use a single stable client ID such as ai-author and increasing record stamp numbers. Generate consistent clocks as in the example; omitting them invalidates the file. _clock must not describe a nonexistent field, and _base keys must exist in _clock. Leave conflicts empty for newly authored content. Unknown record fields are rejected.

Allowed content fields by collection:
- courses: `name,code,color,teacher,location,days,startTime,endTime`.
- tasks: `title,courseId,kind,notes,url,dueDate,dueTime,plannedDate,estimatedMinutes,priority,status,repeat,completedAt,seriesId,checklist`.
- habits: `name,days,courseId`.
- checkins: `habitId,date,done`.
- blocks: `title,taskId,courseId,date,startTime,durationMinutes`.
- sessions: `taskId,startedAt,minutes`.

Course/habit name and task title are nonblank. Text lengths: title 300; name/teacher 150; code 40; location 200; notes 12000; URL 2000; referenced IDs 200; date 10; time 5. Course color exactly #RRGGBB. kind assignment/exam/project/personal; status todo/doing/done; repeat none/daily/weekdays/weekly/monthly; priority integer 1–4; estimatedMinutes 0–1440; durationMinutes 1–1440; minutes 0–1440. days is an array of ≤7 integers 0–6 (Sunday=0). done is boolean. checklist ≤100 `{id,text,done}` items, text ≤300.

Dates YYYY-MM-DD must be real calendar dates in 1900–2200; times 24-hour HH:MM; URL http/https only. ISO timestamp strings are appropriate for startedAt/completedAt. Resolve courseId/taskId/habitId references to records supplied in the corresponding collection. Limits: file under 6,000,000 bytes and serialized planner ≤6,000,000 characters; ≤10,000 tasks and ≤3,000 records per other collection. Reimporting shared IDs merges field histories: create new IDs for intentionally separate assignments and preserve IDs only when updating the same records.

### Complete example for water-cycle.plansplat.json

```json
{
  "app": "PlanSplat",
  "version": 1,
  "id": "planner-example",
  "counter": 2,
  "courses": {
    "science": {
      "id": "science",
      "name": "Science",
      "code": "SCI",
      "color": "#7c3aed",
      "_clock": {
        "name": {
          "n": 1,
          "by": "ai-author"
        },
        "code": {
          "n": 1,
          "by": "ai-author"
        },
        "color": {
          "n": 1,
          "by": "ai-author"
        }
      },
      "_base": {
        "name": null,
        "code": null,
        "color": null
      }
    }
  },
  "tasks": {
    "task-water": {
      "id": "task-water",
      "title": "Explain the water cycle",
      "courseId": "science",
      "kind": "assignment",
      "notes": "Describe evaporation, condensation, and precipitation.",
      "dueDate": "2026-11-06",
      "dueTime": "16:00",
      "plannedDate": "2026-11-05",
      "estimatedMinutes": 30,
      "priority": 2,
      "status": "todo",
      "repeat": "none",
      "checklist": [
        {
          "id": "check-1",
          "text": "Draw a labeled diagram",
          "done": false
        }
      ],
      "_clock": {
        "title": {
          "n": 2,
          "by": "ai-author"
        },
        "courseId": {
          "n": 2,
          "by": "ai-author"
        },
        "kind": {
          "n": 2,
          "by": "ai-author"
        },
        "notes": {
          "n": 2,
          "by": "ai-author"
        },
        "dueDate": {
          "n": 2,
          "by": "ai-author"
        },
        "dueTime": {
          "n": 2,
          "by": "ai-author"
        },
        "plannedDate": {
          "n": 2,
          "by": "ai-author"
        },
        "estimatedMinutes": {
          "n": 2,
          "by": "ai-author"
        },
        "priority": {
          "n": 2,
          "by": "ai-author"
        },
        "status": {
          "n": 2,
          "by": "ai-author"
        },
        "repeat": {
          "n": 2,
          "by": "ai-author"
        },
        "checklist": {
          "n": 2,
          "by": "ai-author"
        }
      },
      "_base": {
        "title": null,
        "courseId": null,
        "kind": null,
        "notes": null,
        "dueDate": null,
        "dueTime": null,
        "plannedDate": null,
        "estimatedMinutes": null,
        "priority": null,
        "status": null,
        "repeat": null,
        "checklist": null
      }
    }
  },
  "habits": {},
  "checkins": {},
  "blocks": {},
  "sessions": {},
  "conflicts": {}
}
```

**Implementation authority:** [splatworks/plansplat/model.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/plansplat/model.mjs) · [splatworks/plansplat/app.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/splatworks/plansplat/app.mjs)

## 8. ConceptSplat

**Open:** https://splatworks.org/solutions/concept-map/  
**Filename example:** `water-cycle.drawsplat-cmap.json`  
**Import:** Load JSON; accept replacing the current map if intended.

Exact marker `type:"drawsplat-concept-map"`, numeric **version:2**, saved ISO timestamp, canvas `{w:1200,h:720}`, nodes, connectors, groups arrays. Do not substitute links/edges for connectors.

Node: unique string id; numeric x,y are **center coordinates**, w 40–400, h 24–200; level integer 1–3; label string ≤200; link safe URL or empty; image embedded data:image URL or empty; fontScale .65–1.8; isRoot boolean; section string ≤80; fill/stroke/text hex colors. Here `text` is the **text color**, not the label! Use six-digit hex colors for portability. The app recomputes label heights and resolves overlaps on import, so coordinates are layout requests rather than a promise of exact saved geometry.

Connector: unique id, fromId/toId referencing existing distinct node IDs, label string ≤200. Unknown/self endpoints are dropped. Group: id, nodeIds (at least two distinct existing IDs), label ≤200, colorIndex palette index (0 is safe). Keep groups empty unless grouping is needed. File cap 8 MiB. Duplicate nodes, invalid colors, out-of-range numbers and excessive strings are normalized or dropped rather than reliably preserved. Use valid values initially.

### Complete example for water-cycle.drawsplat-cmap.json

```json
{
  "type": "drawsplat-concept-map",
  "version": 2,
  "saved": "2026-10-30T12:00:00.000Z",
  "canvas": {
    "w": 1200,
    "h": 720
  },
  "nodes": [
    {
      "id": "n1",
      "x": 300,
      "y": 300,
      "w": 240,
      "h": 84,
      "level": 1,
      "label": "Water cycle",
      "link": "",
      "image": "",
      "fontScale": 1,
      "isRoot": true,
      "section": "",
      "fill": "#ede7ff",
      "stroke": "#7c3aed",
      "text": "#34205c"
    },
    {
      "id": "n2",
      "x": 730,
      "y": 300,
      "w": 260,
      "h": 84,
      "level": 2,
      "label": "Evaporation",
      "link": "",
      "image": "",
      "fontScale": 1,
      "isRoot": false,
      "section": "",
      "fill": "#e0f2fe",
      "stroke": "#0284c7",
      "text": "#0c4a6e"
    }
  ],
  "connectors": [
    {
      "id": "c1",
      "fromId": "n1",
      "toId": "n2",
      "label": "includes"
    }
  ],
  "groups": []
}
```

**Implementation authority:** [solutions/concept-map/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/concept-map/index.html)

## 9. QuizSplat

**Open:** https://splatworks.org/solutions/quiz-flashcard-studio/  
**Filename example:** `water-cycle.quizsplat.json`  
**Import:** Build → Import Questions; select JSON, or paste the same JSON into the import area.

Canonical export wrapper `{title,timer,questions}`; timer may be numeric or a numeric string. The importer accepts either that wrapper or a raw question array. **File import appends questions to the existing bank and does not restore wrapper title or timer.** Set those UI fields separately; use a fresh bank if you need exactly the new questions.

Question: unique string id (recommended), `question` nonblank string, `answer` nonblank string, `wrong` array of distractor strings, `type`, numeric `points` ≥1, `notes` string. Types exactly multiple-choice/true-false/short-answer. For multiple-choice use three plausible distinct wrong answers, never include the correct answer among them. For true-false use answer `"True"` and wrong `["False"]` or the reverse. For short-answer use wrong `[]`. The correct answer is **the answer text, not an index or option letter**. notes is suitable for explanations; it is part of the imported question. The app accepts prompt/correct aliases but generate canonical names. Missing/empty question or answer is filtered out. No root app marker is needed; do not invent one as a substitute for questions.

### Complete example for water-cycle.quizsplat.json

```json
{
  "title": "Water Cycle Review",
  "timer": 30,
  "questions": [
    {
      "id": "q1",
      "question": "Which process changes liquid water into water vapor?",
      "answer": "Evaporation",
      "wrong": [
        "Condensation",
        "Precipitation",
        "Freezing"
      ],
      "type": "multiple-choice",
      "points": 100,
      "notes": "Evaporation is the change from liquid to gas."
    },
    {
      "id": "q2",
      "question": "Condensation changes water vapor into liquid water.",
      "answer": "True",
      "wrong": [
        "False"
      ],
      "type": "true-false",
      "points": 100,
      "notes": ""
    }
  ]
}
```

**Implementation authority:** [solutions/quiz-flashcard-studio/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/quiz-flashcard-studio/index.html)

## 10. Dicebreaker Creator

**Open:** https://splatworks.org/solutions/dicebreakers/  
**Filename example:** `water-cycle.dicebreaker.json`  
**Import:** Load JSON in the editor.

Wrapper `type:"dicebreaker",version:1,title,subtitle,prompts,accent,layout,createdAt`. prompts is exactly six strings in die-face order 1..6. accent is #RRGGBB; layout grid or strip. The importer applies title/subtitle/prompts/accent/layout; metadata type/version/createdAt is useful for identity but not used to render. Missing prompts become blank, and extras beyond six are ignored. Keep prompts short enough to fit their printed faces. This is a six-prompt activity, not the Dice Roller widget.

### Complete example for water-cycle.dicebreaker.json

```json
{
  "type": "dicebreaker",
  "version": 1,
  "title": "Water Cycle Discussion",
  "subtitle": "Roll, think, and explain.",
  "prompts": [
    "Describe evaporation.",
    "Describe condensation.",
    "Give an example of precipitation.",
    "Where can water collect?",
    "How does the Sun affect the cycle?",
    "Ask a question about the water cycle."
  ],
  "accent": "#7c3aed",
  "layout": "grid",
  "createdAt": "2026-10-30T12:00:00.000Z"
}
```

**Implementation authority:** [solutions/dicebreakers/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/dicebreakers/index.html)

## 11. Meme Puzzle

**Open:** https://splatworks.org/solutions/memepuzzle/  
**Filename example:** `water-cycle.meme-puzzle.json`  
**Import:** Upload setup JSON; use the teacher editor, not only the student play URL.

Root title and image strings, questions array of **1–30** `{question:string,answer:string}`, tileOrder integer array. No app/version markers are required. tileOrder is a permutation of zero-based question indices; generate `[0,1,...,n-1]` unless a different reveal order is requested. Optional metadata object is retained (for example gradeBand, subject, standards).

image must identify an actual browser-loadable image. Use a user-supplied full HTTPS image URL or real data:image bytes for portability; not an HTML page URL, a nonexistent filename, a made-up URL, or a chatbot attachment’s temporary sandbox path. The sample below contains a valid 1×1 test PNG **only to make the example complete**; replace it with an actual classroom image before meaningful use. One question/answer pair per item, no embedded tab/newline characters in those strings because import converts them through a tab-separated editor. Answers should be brief and unambiguous.

### Complete example for water-cycle.meme-puzzle.json

```json
{
  "title": "Water Cycle Puzzle",
  "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
  "questions": [
    {
      "question": "Which process changes liquid water into vapor?",
      "answer": "Evaporation"
    },
    {
      "question": "What process forms liquid droplets from vapor?",
      "answer": "Condensation"
    }
  ],
  "tileOrder": [
    0,
    1
  ],
  "metadata": {
    "gradeBand": "3-5",
    "subject": "Science",
    "standards": []
  }
}
```

**Implementation authority:** [solutions/memepuzzle/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/memepuzzle/index.html)

## 12. FontSplat

**Open:** https://splatworks.org/solutions/fontsplat/  
**Filename example:** `water-cycle.fontsplat.json`  
**Import:** Open project in FontSplat.

Exact app FontSplat, numeric version 1. The minimal useful input is app/version/text; defaults fill omitted style fields. Text is limited to 400 characters and eight lines. The sample spells out common styling. Font IDs sans/comic/serif/display/arabic/indic/cjk (custom only with real fontData). Presets splat/neon/chrome/gold/retro/comic/rainbow/sunset/outline/glitch/ice/ink/stack/sticker/blueburst/spectrum/bronze/silverpress/forest/swift/satin/shadow.

Numeric ranges: size 24–640, weight 400–900, outlineWidth 0–12, spacing −2..16, curve −100..100, rotate −20..20, skew −25..25, depth 0–20, above/below 0–8, through 0–4, seed 1–999999. Color keys primary/secondary/outline/background/shapeFill/shapeStroke need #RRGGBB. Boolean keys italic/transparent/applyGlitch/pulse/pathFit. textPath straight/arch-up/arch-down/circle/oval/wave/banner/chevron; pathOffset and bendStrength 0–100. shape none/banner/ribbon/oval/circle/badge/rounded. bottomText ≤200 characters/four lines. imageLayout free/above/below/around; imageGap −140..140.

Optional textTransforms has main/bottom objects `{x,y,scale,rotation}`: x/y −150..150, scale .2–6, rotation −180..180. Images array ≤6, each actual data:image/png|jpeg|webp;base64 src (≤6,000,000 characters), id/name, x/y −100..200, width 5–200, aspect .05–20, opacity 0–100, rotation −180..180, layer front/behind. These image placement values are FontSplat’s artwork-relative units, not slide pixels; use existing exports for complex compositions. Total image src lengths ≤18,000,000. Custom fontData must be actual data:font/ttf|otf|woff|woff2;base64 (≤8,000,000 characters); file cap 32,000,000 bytes. Style normalization clamps values and discards unknown fields. Do not confuse a generated PNG with an editable .fontsplat.json project.

### Complete example for water-cycle.fontsplat.json

```json
{
  "app": "FontSplat",
  "version": 1,
  "text": "The Water Cycle",
  "preset": "splat",
  "font": "display",
  "size": 96,
  "weight": 900,
  "italic": false,
  "primary": "#9f3aff",
  "secondary": "#4d17b1",
  "outline": "#34205c",
  "outlineWidth": 2,
  "spacing": 0,
  "curve": 0,
  "rotate": 0,
  "skew": 0,
  "depth": 7,
  "background": "#ffffff",
  "transparent": true,
  "above": 2,
  "through": 0,
  "below": 1,
  "seed": 1,
  "applyGlitch": false,
  "pulse": false,
  "images": [],
  "textPath": "straight",
  "shape": "none"
}
```

**Implementation authority:** [solutions/fontsplat/engine.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/fontsplat/engine.mjs) · [solutions/fontsplat/app.mjs](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/fontsplat/app.mjs)

## 13. GraphSplat

**Open:** https://splatworks.org/solutions/graphsplat/  
**Filename example:** `water-observations.graphsplat.json`  
**Import:** Open/import project JSON in GraphSplat.

Exact `type:"drawsplat-graph"`, numeric version 1, name, mode, controls object, pictureRows, quickColors, geometryConstructions. The importer applies DOM control IDs from controls; root name/mode are not directly applied. **For deterministic AI-generated imports include controls.mode and controls.projectName explicitly**, even though normal app exports may omit them. Keep controls limited to documented graph inputs.

Modes quick/picture/coordinate/expression/geometry/specialty. Controls use string values for selects, number fields and textareas; booleans for checkboxes. Common controls: mode, projectName, level simple/advanced, title, xLabel, yLabel, source, theme (drawsplat/bright/pastel/notebook/chalkboard/highContrast/printer), primaryColor, backgroundColor, showGrid. Imported control strings truncate at 50,000 characters.

- quick: quickType bar/hbar/line/area/pie/donut/scatter; quickData newline rows `label,value` (scatter uses numeric x,y pairs).
- picture: pictureRows ≤50 `{label,value,icon,image}`; label ≤200, value numeric, icon brief emoji/text, image empty or a real safe image. Additional native picture controls should be copied from an export when needed.
- coordinate: pointData newline `x,y,label`; optional booleans showPointLabels/oneQuadrant/linearEnabled and strings slope/intercept.
- expression: expressions newline math expressions such as `x^2-4`; paramA/B/C numeric strings, degrees/showRoots/showIntersections booleans. Do not put JavaScript programs in expression text.
- geometry: geometryData newline `x,y,label`; geometryConstructions ≤100 `{type:"segment"|"polygon"|"circle",points:[zero-based point indices]}`. segment/circle use two vertices; polygon uses ≥3.
- specialty: specialtyType bubble/radar/polar/stackedBar/stackedArea/pyramid; specialtyData newline `label,value,secondValue` rows.

quickColors maps keys to #RRGGBB colors; `{}` is safe. Raw top-level nodes/series/labels/datasets are not this importer’s interface. Keep project data in the documented controls/pictureRows/constructions fields.

### Complete example for water-observations.graphsplat.json

```json
{
  "type": "drawsplat-graph",
  "version": 1,
  "name": "Water observations",
  "mode": "quick",
  "controls": {
    "mode": "quick",
    "projectName": "Water observations",
    "level": "simple",
    "title": "Water observations",
    "quickType": "bar",
    "quickData": "Monday,4\nTuesday,7\nWednesday,5",
    "theme": "drawsplat",
    "primaryColor": "#7c3aed",
    "backgroundColor": "#ffffff",
    "showGrid": true
  },
  "pictureRows": [],
  "quickColors": {},
  "geometryConstructions": []
}
```

**Implementation authority:** [solutions/graphsplat/app.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/graphsplat/app.js) · [solutions/graphsplat/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/graphsplat/index.html) · [solutions/graphsplat/src/renderers.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/graphsplat/src/renderers.js)

## 14. SplatBot Studio mission pack

**Open:** https://splatworks.org/solutions/splatbot-studio/  
**Filename example:** `classroom-missions.splatbot.json`  
**Import:** Import mission pack with the mission-pack import control; do not use the project importer.

Root app SplatBot, type mission-pack, numeric version 1, title, description, missions array. Missions: unique slug-like id (≤48 after normalization), title ≤80, band ≤40, prompt ≤240, concept ≤60, vocabulary array ≤8 strings each ≤30, teacherNote ≤280, start, goal, walls, steps (≤5 strings each ≤80), starter (≤12 commands).

The grid is 8×8. All start/goal/wall x,y are integers 0–7; (0,0) is top-left. start.dir integer: 0 North, 1 East, 2 South, 3 West. No wall may occupy start or goal; design a reachable route. starter commands use **type**, not action: `{type:"move",steps:1..8}` or `{type:"turn",dir:"LEFT"|"RIGHT"}`. Duplicate mission IDs are dropped after normalization, so generate unique IDs. A raw mission array is accepted but use the canonical wrapper. Mission packs configure the grid; they are different from saved programs.

### Complete example for classroom-missions.splatbot.json

```json
{
  "app": "SplatBot",
  "type": "mission-pack",
  "version": 1,
  "title": "Classroom Missions",
  "description": "A sequencing activity.",
  "missions": [
    {
      "id": "first-drive",
      "title": "First Drive",
      "band": "Grades 2-3",
      "prompt": "Move east four spaces to reach the goal.",
      "concept": "Sequencing",
      "vocabulary": [
        "command",
        "goal"
      ],
      "teacherNote": "Predict the route before running the program.",
      "start": {
        "x": 1,
        "y": 5,
        "dir": 1
      },
      "goal": {
        "x": 5,
        "y": 5
      },
      "walls": [],
      "steps": [
        "Plan",
        "Run",
        "Revise"
      ],
      "starter": [
        {
          "type": "move",
          "steps": 4
        }
      ]
    }
  ]
}
```

**Implementation authority:** [solutions/splatbot-studio/splatbot-core.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/splatbot-studio/splatbot-core.js) · [solutions/splatbot-studio/app.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/splatbot-studio/app.js)

## 15. SplatBot Studio program project

**Open:** https://splatworks.org/solutions/splatbot-studio/  
**Filename example:** `first-drive.splatbot-project.json`  
**Import:** Import project with the project import control; choose the corresponding mission first if it is a custom pack.

Root app SplatBot, version 1, savedAt, missionId, mode words/blocks, words string, devices `{signalOn:boolean,messages:[],sounds:[]}`, optional workspace. Generate **words mode** for portable content-only programs and omit workspace unless a real compatible Blockly snapshot is provided. missionId must match a loaded mission; an unknown ID silently falls back to the first mission. Custom mission packs and program projects need separate imports; a combined invented file does not load both.

Word commands are newline separated: `move N`, `turn left`, `turn right`, `repeat N move M`, `if wall turn right`, `if wall turn left`, `light on`, `light off`, `play beep`, `play low beep`, `play high beep`, `play song scale|success|alert`, `send message`. The parser lowercases lines, caps the resulting commands at 200 and repeat at 20; unrecognized lines are ignored. Do not use JavaScript or Scratch block JSON as the words value. A workspace is `{format:"serialization",data:BlocklySnapshot}` or the legacy `{format:"xml",data:BlocklyXmlString}`; do not invent Blockly structures.

### Complete example for first-drive.splatbot-project.json

```json
{
  "app": "SplatBot",
  "version": 1,
  "savedAt": "2026-10-30T12:00:00.000Z",
  "missionId": "first-drive",
  "mode": "words",
  "words": "move 4\nlight on\nplay song success",
  "devices": {
    "signalOn": false,
    "messages": [],
    "sounds": []
  }
}
```

**Implementation authority:** [solutions/splatbot-studio/app.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/splatbot-studio/app.js) · [solutions/splatbot-studio/splatbot-core.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/splatbot-studio/splatbot-core.js)

## 16. Story Sprint passage set

**Open:** https://splatworks.org/games/story-sprint/  
**Filename example:** `water-cycle.passages.json`  
**Import:** Teacher/content controls → file upload; choose .json.

Canonical convenient wrapper `{passages:[{title,text}]}`. A raw array of the same objects or raw passage strings also works; title/name, text/passage, or words arrays are accepted aliases. Generate title/text for clarity. 1–200 passages, each text ≤10,000 characters; file ≤5 MiB. This imports practice content, not scores, timing settings, student progress or account data. Put the exact passage learners should type into text; instructional commentary does not belong inside the scored passage unless intentionally part of it. Other typing games do not automatically share this file importer.

### Complete example for water-cycle.passages.json

```json
{
  "passages": [
    {
      "title": "Water Changes",
      "text": "The Sun warms water. Some liquid water changes into water vapor."
    },
    {
      "title": "Clouds and Rain",
      "text": "Water vapor cools and forms tiny droplets. Water can fall from clouds as rain."
    }
  ]
}
```

**Implementation authority:** [games/typing-games/arcade.js](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/games/typing-games/arcade.js) · [games/story-sprint/index.html](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/games/story-sprint/index.html)

## 17. VideoSplat project manifest

**Open:** https://splatworks.org/solutions/videosplat/  
**Filename example:** `water-cycle.videosplat.json`  
**Import:** Open project JSON in VideoSplat; relink real media if the project references it.

Root **schema:"videosplat-project",version:2**, id/name, createdAt/updatedAt, canvas `{width,height,frameRate,background}`, assets array, tracks array, optional markers, settings `{proxyMode:"auto"|"always"|"never",localOnly:true}`. Canvas dimensions ≥1 and frameRate >0. Native manifest file cap 10 MiB. Version 1 and ved-project are legacy inputs; generate the current marker.

Track `{id,name,kind,hidden,locked,muted,clips}`; kind video/audio/image/text/caption/redaction. Clip `{id,name,kind,start,duration,sourceStart,properties,assetId?}`. Timeline times are **seconds**, start/sourceStart ≥0, duration strictly >0. properties is a flat dictionary of string/number/boolean values, not nested objects. Caption/text rendering supports text, fontSize, color, background, outline, margin, x, y, rotation, scale. At 1080 output, default fontSize is 42 and bottom margin 54; styling scales with resolution. Caption text is wrapped by the renderer. Markers `{id,name,time,color}`; name nonblank ≤120, time≥0, color #RRGGBB. IDs unique within asset/track/clip/marker namespaces.

Media asset metadata `{id,name,kind:"video"|"audio"|"image",size,mimeType,storedLocally}` with optional duration,width,height,contentHash,thumbnail,waveform. **This JSON does not embed the media files.** storedLocally true does not create browser-stored bytes. Preserve actual IDs and relink supplied media in the app. Do not fabricate hashes, durations or media availability. A text/caption-only manifest can be generated from content alone, as below; actual footage, voice, music and exports require media or rendering. Ensure media clips reference existing assets, and sourceStart+duration stays inside the actual source duration, even where the structural validator is permissive.

### Complete example for water-cycle.videosplat.json

```json
{
  "schema": "videosplat-project",
  "version": 2,
  "id": "video-water-cycle",
  "name": "The Water Cycle",
  "createdAt": "2026-10-30T12:00:00.000Z",
  "updatedAt": "2026-10-30T12:00:00.000Z",
  "canvas": {
    "width": 1920,
    "height": 1080,
    "frameRate": 30,
    "background": "#000000"
  },
  "assets": [],
  "tracks": [
    {
      "id": "text-track",
      "name": "Captions",
      "kind": "caption",
      "hidden": false,
      "locked": false,
      "muted": false,
      "clips": [
        {
          "id": "caption-1",
          "name": "Evaporation",
          "kind": "caption",
          "start": 0,
          "duration": 5,
          "sourceStart": 0,
          "properties": {
            "text": "Evaporation changes liquid water into water vapor.",
            "fontSize": 42,
            "color": "#ffffff",
            "background": "transparent",
            "outline": 2,
            "margin": 54
          }
        }
      ]
    }
  ],
  "markers": [
    {
      "id": "marker-1",
      "name": "Introduction",
      "time": 0,
      "color": "#7c3aed"
    }
  ],
  "settings": {
    "proxyMode": "auto",
    "localOnly": true
  }
}
```

**Implementation authority:** [solutions/videosplat/src/domain/project.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/videosplat/src/domain/project.ts) · [solutions/videosplat/src/persistence/files.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/videosplat/src/persistence/files.ts) · [solutions/videosplat/src/captions/render.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/videosplat/src/captions/render.ts)

## 18. AudioSplat portable project

**Open:** https://splatworks.org/solutions/audiosplat/  
**Filename example:** `water-cycle.audiosplat.json`  
**Import:** Open AudioSplat project JSON.

The file wrapper is **{project:AudioProject,sources:EmbeddedSource[]}**, not the project object by itself. Project: app AudioSplat, numeric version 1, createdAt/updatedAt; metadata `{title,sampleRate}`; tracks; view `{zoom,scrollTime,playhead,loop}` with loop null or [start,end]. Track `{id,name,muted,solo,gain,pan,clips}`; sensible gain≥0 and pan −1..1. Clip `{id,sourceId,name,start,sourceOffset,duration,gain,fadeIn,fadeOut}`; seconds, nonnegative start/offset, duration>0, positive usable source duration and sourceOffset+duration≤source.duration+0.01.

Each sources entry needs actual `id,name,mimeType,duration,channels,sampleRate,dataUrl`. dataUrl must contain real decodable audio bytes; a URL or filename is not a replacement for the portable embedded payload. Every clip sourceId must resolve. Empty sources plus empty clips is a valid blank project, shown below, **not generated speech or music**. The blank project shows the app’s empty-state screen until actual clips are added; the empty track metadata is retained on export. Use content to write a recording script, then record/import real audio; do not claim a JSON transcript becomes an audible clip. File cap 750,000,000 bytes, ≤1000 sources, each dataUrl length≤800,000,000; keep practical AI-authored files far smaller. Do not store a browser Blob object in JSON.

### Complete example for water-cycle.audiosplat.json

```json
{
  "project": {
    "app": "AudioSplat",
    "version": 1,
    "createdAt": "2026-10-30T12:00:00.000Z",
    "updatedAt": "2026-10-30T12:00:00.000Z",
    "metadata": {
      "title": "Water Cycle Recording",
      "sampleRate": 48000
    },
    "tracks": [
      {
        "id": "narration",
        "name": "Narration",
        "muted": false,
        "solo": false,
        "gain": 1,
        "pan": 0,
        "clips": []
      }
    ],
    "view": {
      "zoom": 80,
      "scrollTime": 0,
      "playhead": 0,
      "loop": null
    }
  },
  "sources": []
}
```

**Implementation authority:** [solutions/audiosplat/src/types.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/audiosplat/src/types.ts) · [solutions/audiosplat/src/main.ts](https://github.com/mguhlin/drawsplat/blob/7c3e452a6c82a609bd6356ccbb2415643a5c579b/solutions/audiosplat/src/main.ts)

## JSON export or internal data does not always mean JSON file import

**Fortune Wheel** exports `fortune-wheel-setup.json` containing `title`, `category`, `phrases:string[]`, `teamCount` (use 1–4), and `startMode` (`first` or `random`). The current teacher page does not offer a JSON file loader. Its student player reads the same payload in a generated share link’s `#f=` URL-safe base64 fragment. Use the teacher UI’s custom phrases and share controls; do not describe the exported JSON as an importable project file. Word Search Maker, Story Wheel and WebBingoMaker also have JSON-based share payloads, which are not ordinary JSON-file import workflows.

Brain Sort, Clock Wizard, Vibe Check, Toneshifter and Step-Splat can exchange internal/API JSON as part of their own features. A service response or localStorage record is not a documented uploadable document format. Privacy data exports and browser autosave stores are also not general project-import contracts.

## Tools to use through other supported formats

| Tool or family | Appropriate AI output or workflow |
| --- | --- |
| ImageSplat | PNG/JPEG/WebP or other supported image input; add/edit image layers and text in the UI. No JSON project load/save is exposed. |
| BackdropSplat | Actual photo/image input; JSON instructions do not become an image or cutout. |
| PDFSplat | Actual PDF or a supported document/image import. Its history snapshots are internal JSON, not a public JSON project format. |
| ClipSplat and GIFsplat | Actual video/images and the editor controls; no user JSON project import in the current UI. |
| MediaSplat | Actual audio/video or supported SRT/WebVTT subtitle content, not an invented JSON project. |
| MarkdownSplat | Markdown text/file or supported rich-text/document import. It can hand off concept-map data internally; use the ConceptSplat profile when a native map file is needed. |
| DiagramSplat | Mermaid source text in the editor; use supported Mermaid syntax and rendered export. |
| RubricSplat | Enter criteria/levels through the UI and use its supported exports. No public JSON file loader in the inspected page. Use WriteSplat/ListSplat if an editable JSON-based rubric/document is required. |
| Word Search Maker | Word list and UI/share workflow. Do not confuse its share fragment with a file loader. |
| WebBingoMaker | CSV, TXT, Markdown or TSV imports. |
| Wheel Spinner | TXT, CSV or Markdown item-list import. |
| Fortune Wheel and Story Wheel | Custom phrases/events through their editor and generated share links; exported/share JSON is not a file import control. |
| Big Link, Bingo Caller, Bingo Card Generator, Coin Flipper, Dice Roller, Draw & Sketch, QRSplat, MemeSplat, SketchSplat VR | Use the tool’s visible text/settings/media controls and supported exports; no general JSON project-file loader was found in the current entry pages. |
| Brain Sort, Clock Wizard, Step-Splat, Toneshifter, Vibe Check | Use the tool’s text/settings controls. Internal optional-AI JSON responses are not native upload files. |
| CipherSplat | Real text or files to encrypt/decrypt; JSON is simply file content, not an editable CipherSplat project specification. |
| Other games and typing activities | Use their current UI or explicitly supported text/spreadsheet imports. Story Sprint’s passage-set profile above is the verified JSON file content importer. It does not imply all games accept the same format. |
| Teacher Admin, Family Access Tools and database/server setup | Follow their setup/roster formats and configuration UI; they are not generative classroom-project JSON formats. Never substitute a native project document for server settings. |

This table describes the inspected UI, not a claim that JSON is absent from all implementation code. If a later version adds an importer, export a small native example from that version and update the reference before generating that new format.

## Troubleshooting generated files

- **The app rejects the file:** check the exact app/type/schema marker, version type, extension, outer wrapper and required arrays/dictionaries. A schema description is not a project instance.
- **The file opens but some content is missing:** check unknown field names, unresolved IDs, importer filters and text limits. QuizSplat appends usable questions; GridSplat loads only the first sheet; ConceptSplat normalizes/drops invalid nodes/connectors; GraphSplat applies controls rather than top-level presentation data.
- **The layout differs:** check points versus pixels, text box dimensions, font availability and text flow. A successful parse does not certify page composition. Inspect the result and resave from the app.
- **Text lost styling:** WriteSplat uses ProseMirror node/mark names; LayoutSplat uses story text plus marks with UTF-16 offsets. Do not paste HTML into a field that expects a ProseMirror node tree or a plain story.
- **The planner rejects an otherwise sensible task list:** dictionaries, record IDs, _clock, _base and counter must agree. There is no unstamped simplified task-array JSON importer.
- **Media is missing:** VideoSplat JSON is a manifest; AudioSplat portable JSON needs real embedded audio; LayoutSplat and FontSplat need real supported embedded asset data. Metadata and invented base64 cannot recreate media.

## Reference maintenance and verification

The linked implementation sources, rather than historical examples or suite release labels, control the actual import behavior. Keep this reference’s date and source revision when sharing it. App schema numbers are not marketing/package versions. Use only the matching tool’s section; there is no universal SplatWorks JSON project format.

Verification results for the included examples are recorded below before publication. The structural examples with empty media represent blank/media-free projects; they do not claim to contain synthesized recordings or footage.

<!-- ai-json-verification:start -->
All eighteen complete JSON examples were parsed and imported through their target applications in **Chrome and Firefox**. **40 checks passed** (20 per browser), including all six documented GraphSplat modes, WriteSplat list/mark rendering, GridSplat formula recalculation, ListSplat linked-table data, LayoutSplat story/frame references, PlanSplat change stamps and merge/export, ShowSplat notes, ConceptSplat connectors, activity content, and FontSplat/whiteboard/AudioSplat save/export checks.

The media-free VideoSplat example contains a caption manifest; the AudioSplat example is a blank recording project whose metadata survives export; the Meme Puzzle example embeds a real 1×1 test image. These imports verify their stated structures, not generated footage, synthesized speech, or artwork quality. Rendered layout and real supplied media should be reviewed for each generated document.

The regression checks read their examples directly from this single file: [tests/ai-json-reference.spec.js](https://github.com/mguhlin/drawsplat/blob/main/tests/ai-json-reference.spec.js). The tests will identify importer/example incompatibilities when rerun against later code.
<!-- ai-json-verification:end -->
