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

Examples

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"
            }
          }
        ]
      }
    ]
  }
}

Your prompt in a coding session

A message you sent in an AI coding session.

{
  "@type": "MessageAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "claude-code",
  "sourceId": "a3c81f6e-2b94-4e7d-9c05-7f1b8d2e6a53",
  "timestamp": "2026-07-02T10:40:58.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "claude",
    "sourceId": "4e9b2d17-8c3a-4f65-a1e0-6b7d9c2f5a38",
    "handle": "sam@example.com",
    "name": "Sam Rivera",
    "sameAs": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "handle"],
        "source": "email",
        "handle": "sam@example.com",
        "name": "Sam Rivera"
      },
      "@me"
    ]
  },
  "object": {
    "@type": "Message",
    "@key": ["@type", "source", "sourceId"],
    "source": "claude-code",
    "sourceId": "a3c81f6e-2b94-4e7d-9c05-7f1b8d2e6a53",
    "body": "Why does the date test fail on CI but pass locally?",
    "author": [
      {
        "@type": "Person",
        "@key": ["@type", "source", "sourceId"],
        "source": "claude",
        "sourceId": "4e9b2d17-8c3a-4f65-a1e0-6b7d9c2f5a38",
        "sameAs": ["@me"]
      }
    ],
    "isPartOf": [
      {
        "@type": "Thread",
        "@key": ["@type", "source", "sourceId"],
        "source": "claude-code",
        "sourceId": "6d2a9e71-3c5b-4f08-b4e2-9a7c1d5f8e26",
        "name": "Fix the flaky date test"
      }
    ]
  }
}

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

Esc

to move to open/ or ⌘K to search