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
{
  "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.",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "scene": {
        "accept": [
          "application/gzip"
        ],
        "description": "Gzipped Excalidraw scene JSON (serializeAsJSON output, gzip level 6), as captured at checkpoint time.",
        "maxSize": 50000000,
        "type": "blob"
      },
      "subject": {
        "description": "Strong reference (uri + record cid) to the parent app.lexidraw.scene record at checkpoint time.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "thumb": {
        "accept": [
          "image/webp"
        ],
        "description": "WebP preview of the scene (max 1024px on the longest side).",
        "maxSize": 2000000,
        "type": "blob"
      }
    },
    "required": [
      "subject",
      "scene",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@