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

Examples

A favorite with no date

You made a photo a favorite, but nothing records when.

{
  "@type": "LikeAction",
  "@key": ["@type", "source", "object.sourceId"],
  "source": "apple-photos",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "icloud",
    "sourceId": "1234567890",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "StillImage",
    "@key": ["@type", "source", "sourceId"],
    "source": "apple-photos",
    "sourceId": "5D7F9B1C-3E5A-4B7D-8C9E-1A3C5E7B9D24"
  }
}

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

Esc

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