ChronicleSchema

In other vocabularies

VocabularyTerm
schema.org A kind of EatAction

Properties

PropertyExpected typeDescription
From Action
agent one Agent Who performed the action. An action whose performer is unknown has no agent.
endTime one DateTime When the action ended. A date gives the end at that date's precision and includes the whole period, so 1990 runs to the end of 1990.
instrument many Entity The tool, device, application, or model used to perform an action. The agent is who acted. The instrument is what they used. When only the kind of device is known, it is a ProductModel rather than a Device.
location one Location or Place Where the action happened, or where the entity or event is.
object one Entity The entity an action was carried out on, such as the article read, the photo shared, or the place visited. For a movement, such as a TravelAction, the object is where it began.
result one Entity What the action produced, such as a work or a session. Seen from what it produced, the action is its resultOf value.
startTime one DateTime When the action started. A date gives the start at that date's precision.
target one Entity What an action is directed toward, as distinct from the object it is carried out on. Adding to or removing from a collection targets the collection. A movement targets where it ended, and its object is where it began.
timestamp one DateTime When the action occurred.
From Base
source one Text The source that describes the entity or action, such as things-todo. Identifiers such as sourceId are unique within it.
sourceId one Text The identifier the source gives an entity or action, such as a record ID or message ID. It is unique only within its source.

Examples

Logging a meal

An EatAction for one food entry in FoodNoms, at the entry's timestamp.

{
  "@type": "EatAction",
  "@key": ["source", "sourceId"],
  "source": "foodnoms",
  "sourceId": "3f6c2a9e-1b4d-4c8e-9a7f-2d5e8b1c4a60",
  "timestamp": "2026-05-09T16:30:00.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "icloud",
    "sourceId": "1234567890",
    "handle": "you@example.com",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "Meal",
    "@key": ["@type", "source", "action.sourceId"],
    "source": "foodnoms",
    "name": "Lentil soup",
    "category": ["Lunch"],
    "description": "Lunch - Brand: Hearth Kitchen - 1.5 cup - 270 calories"
  }
}

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

Esc

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