WBML is the portable JSON document format for Whiteboard.

Current shape:

  • version
  • title
  • viewport
    • width
    • height
    • zoom
  • nodes

Current node types:

  • frame
  • rectangle
  • ellipse
  • text
  • image
  • group

Current limits:

  • max document payload: 10 MB
  • max single embedded asset: 4 MB

The canonical file extension is:

  • .wb.json

WBML is the format used for:

  • local import/export
  • server document persistence
  • MCP document reads and writes

Current node styling fields include:

  • fill
  • stroke
  • strokeWidth
  • opacity