ChronicleSchema

You closed Riley's issue as done. An issue is a Task filed against its Repository, which it isPartOf, so closing it as completed is a CompleteAction; closing it as not planned would be a CancelAction. Accounts are keyed by their numeric GitHub id, the repository by its owner's login and its own name (both handle), the issue by its repository and its number (its handle), and the closing by its GitHub node id.

{
  "@type": "CompleteAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "github",
  "sourceId": "CE_lADOAbc123",
  "timestamp": "2025-03-01T10:00:00.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "github",
    "sourceId": "6300",
    "handle": "sam",
    "url": "https://github.com/sam",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Task",
    "@key": ["@type", "source", "isPartOf.creator.handle", "isPartOf.handle", "handle"],
    "source": "github",
    "handle": "4",
    "url": "https://github.com/trailco/trails/issues/4",
    "name": "Trail signs are faded",
    "isPartOf": [
      {
        "@type": "Repository",
        "@key": ["@type", "source", "creator.handle", "handle"],
        "source": "github",
        "handle": "trails",
        "url": "https://github.com/trailco/trails",
        "name": "trails",
        "creator": [
          {
            "@type": "Organization",
            "@key": ["@type", "source", "sourceId"],
            "source": "github",
            "sourceId": "6302",
            "handle": "trailco",
            "url": "https://github.com/trailco"
          }
        ]
      }
    ]
  }
}

Terms in this example

RepositoryTask

Esc

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