ChronicleSchema

This guide covers the properties that link records to each other, with an example for each.

Agent and instrument

An action's agent is who did it, and its instrument is what they used.

In an assistant's reply, the agent is Claude, a SoftwareAgent, and the instrument is the model that generated the reply, a SoftwareApplication.

Messages and attachments

A MessageAction records a message being sent. Its object is the Message, which has:

An attachment is an ImageObject, AudioObject, VideoObject, or DocumentObject. Its content is located by contentPath or url, and its format is in mimeType. See receiving a message with a photo, sending a voice message, and sharing a video and a PDF with a group.

isPartOf and about

isPartOf links an entity to something that contains it. An entity can have more than one:

about links an entity to its subject, such as a Tag on a task.

Several actions on one entity

A source can report several actions on the same entity. Each action is a separate record with its own timestamp and the entity as its object. A to-do can have:

  1. A PlanAction when it is created (example).
  2. An UpdateAction when it is edited (example).
  3. A CompleteAction when it is done (example).

A cancelled to-do has a CancelAction (example), and one moved to the trash has a DeleteAction (example).

All of these actions use the same key for the task, so they refer to the same task.

See all examples or all classes.

Esc

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