ChronicleSchema
Used on
Entity and their subclasses
Expected type
Entity
Values
A list of values
Required
No

Examples

Completing a to-do

A CompleteAction for a finished Task.

{
  "@type": "CompleteAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "things-todo",
  "sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
  "timestamp": "2026-04-02T17:45:10.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source"],
    "source": "things-todo",
    "name": "Sam Rivera",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Task",
    "@key": ["@type", "source", "sourceId"],
    "source": "things-todo",
    "sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
    "name": "Renew passport",
    "description": "Two photos are in the top desk drawer.",
    "isPartOf": [
      {
        "@type": "Project",
        "@key": ["@type", "source", "sourceId"],
        "source": "things-todo",
        "sourceId": "Hq4mVz7Ns2Ck8Ew5Ty1Lp",
        "name": "Trip to Lisbon"
      },
      {
        "@type": "Collection",
        "@key": ["@type", "source", "sourceId"],
        "source": "things-todo",
        "sourceId": "Ua6Rj3Mf9Xs2Gb7Kd4Wn8e",
        "name": "Personal"
      }
    ],
    "about": [
      {
        "@type": "Tag",
        "@key": ["@type", "source", "sourceId"],
        "source": "things-todo",
        "sourceId": "Zc1Fy8Pq5Hv3Ln6Jt2Bs9o",
        "handle": "errands",
        "name": "errands"
      }
    ]
  }
}

An assistant's reply in a coding session

A MessageAction for a reply from an AI assistant.

{
  "@type": "MessageAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "claude-code",
  "sourceId": "0b7e4c2a-9f13-4d6b-8a5e-2c1f7d9b3e40",
  "timestamp": "2026-07-02T10:41:26.000Z",
  "agent": {
    "@type": "SoftwareAgent",
    "@key": ["@type", "source", "handle"],
    "source": "anthropic",
    "handle": "claude",
    "name": "Claude"
  },
  "instrument": {
    "@type": "SoftwareApplication",
    "@key": ["@type", "source", "handle"],
    "source": "anthropic",
    "handle": "claude-sonnet-5",
    "name": "claude-sonnet-5"
  },
  "object": {
    "@type": "Message",
    "@key": ["@type", "source", "sourceId"],
    "source": "claude-code",
    "sourceId": "0b7e4c2a-9f13-4d6b-8a5e-2c1f7d9b3e40",
    "body": "The test fails when the clock crosses midnight UTC. Pinning the date fixes it.",
    "author": [
      {
        "@type": "SoftwareAgent",
        "@key": ["@type", "source", "handle"],
        "source": "anthropic",
        "handle": "claude",
        "name": "Claude"
      }
    ],
    "isPartOf": [
      {
        "@type": "Thread",
        "@key": ["@type", "source", "sourceId"],
        "source": "claude-code",
        "sourceId": "6d2a9e71-3c5b-4f08-b4e2-9a7c1d5f8e26",
        "name": "Fix the flaky date test",
        "isPartOf": [
          {
            "@type": "Project",
            "@key": ["@type", "source", "handle", "inRealm.handle"],
            "source": "claude-code",
            "handle": "/Users/sam/code/garden-planner",
            "name": "/Users/sam/code/garden-planner",
            "inRealm": {
              "@type": "Realm",
              "@key": ["@type", "source", "handle"],
              "source": "hostname",
              "handle": "studio"
            }
          }
        ]
      }
    ]
  }
}

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

Esc

to move to open/ or ⌘K to search