app.lexidraw.sceneRevision

lexidraw.app

Documentation

An immutable checkpoint of a app.lexidraw.scene record. Captured periodically alongside the mutable scene record; the scene blob is content-addressed and shared with the scene record, so no data is duplicated.

main record

An immutable checkpoint of a app.lexidraw.scene record. Captured periodically alongside the mutable scene record; the scene blob is content-addressed and shared with the scene record, so no data is duplicated.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

scene blob Required

Gzipped Excalidraw scene JSON (serializeAsJSON output, gzip level 6), as captured at checkpoint time.

maxSize: 50.0 MB
subject ref com.atproto.repo.strongRef Required

Strong reference (uri + record cid) to the parent app.lexidraw.scene record at checkpoint time.

thumb blob Optional

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

maxSize: 2.0 MB
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "scene",
      "createdAt"
    ],
    "properties": {
      "scene": {
        "type": "blob",
        "accept": [
          "application/gzip"
        ],
        "maxSize": 50000000,
        "description": "Gzipped Excalidraw scene JSON (serializeAsJSON output, gzip level 6), as captured at checkpoint time."
      },
      "thumb": {
        "type": "blob",
        "accept": [
          "image/webp"
        ],
        "maxSize": 2000000,
        "description": "WebP preview of the scene (max 1024px on the longest side)."
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Strong reference (uri + record cid) to the parent app.lexidraw.scene record at checkpoint time."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "An immutable checkpoint of a app.lexidraw.scene record. Captured periodically alongside the mutable scene record; the scene blob is content-addressed and shared with the scene record, so no data is duplicated."
}

Lexicon Garden

@