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

Examples

Writing a comment

You commented on a post.

{
  "@type": "CreateAction",
  "@key": ["@type", "source", "object.references[*].handle", "object.body", "timestamp"],
  "source": "instagram",
  "timestamp": "2024-05-06T12:53:20.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "handle"],
    "source": "instagram",
    "handle": "sam.rivera",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Comment",
    "@key": ["@type", "source", "references[*].handle", "body", "action.timestamp"],
    "source": "instagram",
    "body": "Congrats!",
    "references": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "handle"],
        "source": "instagram",
        "handle": "alexchen",
        "url": "https://www.instagram.com/alexchen"
      }
    ]
  }
}

Publishing a tweet

You posted a tweet, read from a Twitter archive.

{
  "@type": "PublishAction",
  "@key": ["@type", "source", "result.sourceId"],
  "source": "twitter",
  "timestamp": "2025-01-11T17:10:28.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "sourceId"],
    "source": "twitter",
    "sourceId": "111",
    "handle": "owner_example",
    "name": "Owner Example",
    "url": "https://twitter.com/owner_example",
    "sameAs": ["@me"]
  },
  "result": {
    "@type": "Post",
    "@key": ["@type", "source", "sourceId"],
    "source": "twitter",
    "sourceId": "1234567890123456789",
    "body": "Trail notes from the weekend with @alex_example https://t.co/abc123",
    "author": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "sourceId"],
        "source": "twitter",
        "sourceId": "111",
        "handle": "owner_example",
        "name": "Owner Example",
        "url": "https://twitter.com/owner_example",
        "sameAs": ["@me"]
      }
    ],
    "references": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "sourceId"],
        "source": "twitter",
        "sourceId": "222",
        "handle": "alex_example",
        "name": "Alex Example",
        "url": "https://twitter.com/alex_example"
      },
      {
        "@type": "Entity",
        "@key": ["@type", "url"],
        "url": "https://example.com/trail-notes"
      }
    ]
  }
}

Editing a note

An UpdateAction for a Markdown note in an Obsidian vault, at the file's modification time.

{
  "@type": "UpdateAction",
  "@key": ["@type", "source", "object.handle", "object.inRealm.handle", "timestamp"],
  "source": "obsidian",
  "timestamp": "2026-04-12T08:15:02.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source"],
    "source": "obsidian",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Note",
    "@key": ["source", "handle", "inRealm.handle"],
    "source": "obsidian",
    "handle": "Garden/Seeds.md",
    "name": "Seeds",
    "body": "Order tomato seeds before [[Planting schedule]]. See [the catalog](https://seeds.example.com/).\n",
    "tags": ["garden", "todo/spring"],
    "inRealm": {
      "@type": "Realm",
      "@key": ["@type", "source", "handle"],
      "source": "obsidian",
      "handle": "Notebook"
    },
    "references": [
      {
        "@type": "Note",
        "@key": ["source", "handle", "inRealm.handle"],
        "source": "obsidian",
        "handle": "Garden/Planting schedule.md",
        "name": "Planting schedule",
        "inRealm": {
          "@type": "Realm",
          "@key": ["@type", "source", "handle"],
          "source": "obsidian",
          "handle": "Notebook"
        }
      },
      {
        "@type": "Entity",
        "@key": ["url"],
        "source": "url",
        "url": "https://seeds.example.com/"
      }
    ]
  }
}

Connecting a block to an Are.na channel

You connected an image block into one of your channels on Are.na.

{
  "@type": "BookmarkAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "arena",
  "sourceId": "100",
  "timestamp": "2025-01-10T00:00:00.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "sourceId"],
    "source": "arena",
    "sourceId": "1",
    "handle": "pat-example",
    "name": "Pat Example",
    "url": "https://www.are.na/pat-example",
    "emblem": {
      "@type": "ImageObject",
      "@key": ["url"],
      "url": "https://example.com/avatars/pat.png"
    },
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Post",
    "@key": ["@type", "source", "sourceId"],
    "source": "arena",
    "sourceId": "20",
    "url": "https://www.are.na/block/20",
    "name": "Synthetic photo",
    "body": "A photo",
    "author": [
      {
        "@type": "Agent",
        "@key": ["@type", "source", "sourceId"],
        "source": "arena",
        "sourceId": "1"
      }
    ],
    "references": [
      {
        "@type": "Entity",
        "@key": ["url"],
        "url": "https://example.com/photo"
      }
    ],
    "contains": [
      {
        "@type": "ImageObject",
        "@key": ["url"],
        "url": "https://example.com/images/20.jpg",
        "width": 800,
        "height": 600,
        "caption": "A synthetic photo"
      }
    ]
  },
  "target": {
    "@type": "Collection",
    "@key": ["@type", "source", "sourceId"],
    "source": "arena",
    "sourceId": "10",
    "name": "Mood board",
    "url": "https://www.are.na/pat-example/mood-board",
    "description": "Things I like",
    "visibility": "public"
  }
}

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

Esc

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