ChronicleSchema
Used on
Entity and their subclasses
Expected type
Entity
Values
A list of values
Required
No
Inverse
hasPart gives the relation from the other side. A record can use either name; only this property is stored.

In other vocabularies

VocabularyTermHow they differ
schema.org Same as isPartOf A record can also give the parts of a whole under the inverse name hasPart, which schema.org has as schemaorg:hasPart.

Examples

Completing a to-do

A CompleteAction for a finished Task.

{
  "@type": "CompleteAction",
  "@key": ["@type", "source", "object.sourceId"],
  "source": "things-todo",
  "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", "result.sourceId"],
  "source": "claude-code",
  "timestamp": "2026-07-02T10:41:26.000Z",
  "agent": {
    "@type": "SoftwareAgent",
    "@key": ["@type", "source", "handle"],
    "source": "anthropic",
    "handle": "claude",
    "name": "Claude"
  },
  "instrument": [
    {
      "@type": "AIModel",
      "@key": ["@type", "source", "handle"],
      "source": "anthropic",
      "handle": "claude-sonnet-5",
      "name": "claude-sonnet-5"
    }
  ],
  "result": {
    "@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"
            }
          }
        ]
      }
    ]
  }
}

A card purchase

You bought a coffee with a credit card, and within minutes the card's issuer told Wallet about it.

{
  "@type": "PayAction",
  "@key": ["@type", "source", "result.sourceId"],
  "source": "apple-wallet",
  "timestamp": "2026-05-09T13:41:07.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "icloud",
    "sourceId": "1234567890",
    "handle": "sam@example.com",
    "sameAs": ["@me"]
  },
  "instrument": [
    {
      "@type": "PaymentCard",
      "@key": ["@type", "source", "sourceId"],
      "source": "apple-wallet",
      "sourceId": "V-0000000000000000000001",
      "name": "Example Rewards Visa",
      "alternateName": ["4242"],
      "category": ["credit"],
      "inAccount": [
        {
          "@type": "FinancialAccount",
          "@key": ["@type", "source", "sourceId"],
          "source": "apple-wallet",
          "sourceId": "8d2f0c4a1b7e9f3c5a6d4e2b1c9f8a7d6e5b4c3a2f1e0d9c8b7a6f5e4d3c2b1a",
          "name": "Example Bank",
          "financialAccountType": "liability"
        }
      ]
    }
  ],
  "result": {
    "@type": "FinancialTransaction",
    "@key": ["@type", "source", "sourceId"],
    "source": "apple-wallet",
    "sourceId": "7C1E9F2B-6A3D-4B58-9E0F-2D4C6B8A1E35",
    "amount": {
      "@type": "MonetaryAmount",
      "value": 4.75,
      "currency": "CAD"
    },
    "recipient": [
      {
        "@type": "Agent",
        "@key": ["source", "name"],
        "source": "apple-wallet",
        "name": "Example Café"
      }
    ],
    "hasPart": [
      {
        "@type": "FinancialPosting",
        "@key": ["@type", "source", "action.result.sourceId", "inAccount[*].sourceId"],
        "source": "apple-wallet",
        "amount": {
          "@type": "MonetaryAmount",
          "value": -4.75,
          "currency": "CAD"
        },
        "inAccount": [
          {
            "@type": "FinancialAccount",
            "@key": ["@type", "source", "sourceId"],
            "source": "apple-wallet",
            "sourceId": "8d2f0c4a1b7e9f3c5a6d4e2b1c9f8a7d6e5b4c3a2f1e0d9c8b7a6f5e4d3c2b1a"
          }
        ]
      }
    ]
  }
}

URI https://schema.chronicle.app/isPartOf · Suggest a change

Esc

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