Creating a to-do
A PlanAction for creating a Task. Its timestamp is when the task was created, not when it is due.
{
"@type": "PlanAction",
"@key": ["@type", "source", "sourceId"],
"source": "things-todo",
"sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
"timestamp": "2026-03-20T08:12:31.000Z",
"agent": {
"@type": "Agent",
"@key": ["@type", "source"],
"source": "things-todo",
"sameAs": ["@me"]
},
"object": {
"@type": "Task",
"@key": ["@type", "source", "sourceId"],
"source": "things-todo",
"sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
"name": "Renew passport"
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "PlanAction",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "things-todo",
"sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
"timestamp": {
"@value": "2026-03-20T08:12:31.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source"]
},
"source": "things-todo",
"sameAs": ["@me"]
},
"object": {
"@type": "Task",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "things-todo",
"sourceId": "5nT2kQv8Lw3xRb1YcHd9pA",
"name": "Renew passport"
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :PlanAction;
doc:key ("@type" "source" "sourceId");
:source "things-todo";
:sourceId "5nT2kQv8Lw3xRb1YcHd9pA";
:timestamp "2026-03-20T08:12:31.000Z"^^xsd:dateTime;
:agent [
a :Agent;
doc:key ("@type" "source");
:source "things-todo";
:sameAs "@me"
];
:object [
a :Task;
doc:key ("@type" "source" "sourceId");
:source "things-todo";
:sourceId "5nT2kQv8Lw3xRb1YcHd9pA";
:name "Renew passport"
]
] .