ChronicleSchema
Used on
Base and their subclasses
Expected type
Text
Values
At most one value
Required
No

Examples

Receiving a message with a photo

A MessageAction for a message Alex sent you.

{
  "@type": "MessageAction",
  "@key": ["source", "sourceId", "@type"],
  "source": "imessage",
  "sourceId": "9B1C5E2A-7F43-4D8E-A6B0-3C2F9E14D7A5",
  "timestamp": "2026-05-09T18:22:07.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "handle"],
    "source": "icloud",
    "handle": "alex@example.com",
    "name": "Alex Chen",
    "sameAs": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "handle"],
        "source": "email",
        "handle": "alex@example.com"
      }
    ]
  },
  "object": {
    "@type": "Message",
    "@key": ["@type", "source", "sourceId"],
    "source": "imessage",
    "sourceId": "9B1C5E2A-7F43-4D8E-A6B0-3C2F9E14D7A5",
    "body": "Found the trailhead!",
    "recipient": [
      {
        "@type": "Person",
        "@key": ["@type", "source", "handle"],
        "source": "phone",
        "handle": "+15555550123",
        "sameAs": ["@me"]
      }
    ],
    "contains": [
      {
        "@type": "ImageObject",
        "@key": ["source", "sourceId"],
        "source": "imessage",
        "sourceId": "E4A7C2D9-1B6F-4F3A-8C5E-7D2B9A0F6E13",
        "contentPath": "/Users/sam/Library/Messages/Attachments/4f/15/trailhead.jpg",
        "mimeType": "image/jpeg",
        "description": "trailhead.jpg"
      }
    ]
  }
}

An entity with a source ID and a URL

An Entity with a name, keyed by its source and sourceId.

{
  "@type": "Entity",
  "@key": ["@type", "source", "sourceId"],
  "source": "example-notes",
  "sourceId": "note-1042",
  "name": "Seed order for spring",
  "url": "https://notes.example.com/n/1042"
}

URI https://schema.chronicle.app/sourceId

Esc

to move to open/ or ⌘K to search