ChronicleSchema

Alex sent Sam a direct message in a Slack workspace, with a screenshot attached. Alex and Sam are keyed by their Slack user IDs and are members (memberOf) of the workspace, a Realm. The screenshot is an ImageObject with its pixel width and height and a contentPath to the exported file.

{
  "@type": "MessageAction",
  "@key": ["@type", "source", "timestamp", "agent"],
  "source": "slack",
  "timestamp": "2024-03-13T15:04:05.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "sourceId"],
    "source": "slack",
    "sourceId": "U0EXAMPLE1",
    "handle": "alex",
    "name": "Alex Chen",
    "memberOf": [
      {
        "@type": "Realm",
        "@key": ["@type", "source", "sourceId"],
        "source": "slack",
        "sourceId": "T0EXAMPLE"
      }
    ]
  },
  "result": {
    "@type": "Message",
    "@key": ["@type", "source", "body", "author"],
    "source": "slack",
    "body": "Here's the new dashboard layout",
    "author": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "sourceId"],
        "source": "slack",
        "sourceId": "U0EXAMPLE1",
        "handle": "alex",
        "name": "Alex Chen"
      }
    ],
    "recipient": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "sourceId"],
        "source": "slack",
        "sourceId": "U0EXAMPLE2",
        "handle": "sam",
        "name": "Sam Rivera"
      }
    ],
    "contains": [
      {
        "@type": "ImageObject",
        "@key": ["@type", "source", "sourceId"],
        "source": "slack",
        "sourceId": "F0EXAMPLE1",
        "name": "dashboard.png",
        "mimeType": "image/png",
        "width": 1440,
        "height": 900,
        "contentPath": "/Users/sam/slack-export/D0EXAMPLE/attachments/F0EXAMPLE1-dashboard.png"
      }
    ]
  }
}

Terms in this example

heightwidth

Esc

↑↓ to move↵ to open/ or ⌘K to search