app.lexidraw.scene

lexidraw.app

Documentation

An Excalidraw drawing. The full scene (elements, appState and embedded image files as dataURLs) is stored as a gzipped JSON blob

main record

An Excalidraw drawing. The full scene (elements, appState and embedded image files as dataURLs) is stored as a gzipped JSON blob

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

name string Required

Human-readable drawing name.

maxGraphemes: 200 graphemes
scene blob Required

Gzipped Excalidraw scene JSON (serializeAsJSON output, gzip level 6).

maxSize: 50.0 MB
thumb blob Optional

WebP preview of the scene (max 1024px on the longest side).

maxSize: 2.0 MB
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "scene",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "description": "Human-readable drawing name.",
        "maxGraphemes": 200
      },
      "scene": {
        "type": "blob",
        "accept": [
          "application/gzip"
        ],
        "maxSize": 50000000,
        "description": "Gzipped Excalidraw scene JSON (serializeAsJSON output, gzip level 6)."
      },
      "thumb": {
        "type": "blob",
        "accept": [
          "image/webp"
        ],
        "maxSize": 2000000,
        "description": "WebP preview of the scene (max 1024px on the longest side)."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "An Excalidraw drawing. The full scene (elements, appState and embedded image files as dataURLs) is stored as a gzipped JSON blob"
}

Lexicon Garden

@