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

In other vocabularies

VocabularyTermHow they differ
Activity Streams 2.0 Not the same as subject as:subject is one of the two individuals in an as:Relationship.

Examples

Time spent on a document

A DeviceSession whose subject is the file in focus, a DocumentObject keyed by its path within the machine it lives on (inRealm).

{
  "@type": "DeviceSession",
  "@key": ["@type", "source", "sourceId"],
  "source": "timing-app",
  "sourceId": "103",
  "subject": [
    {
      "@type": "DocumentObject",
      "@key": ["source", "handle", "inRealm.handle"],
      "source": "filesystem",
      "handle": "/Users/pat/notes/garden plan.md",
      "name": "garden plan.md",
      "inRealm": {
        "@type": "Realm",
        "@key": ["@type", "source", "handle"],
        "source": "hostname",
        "handle": "pat-mbp"
      }
    }
  ]
}

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

Esc

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