Necessary properties for events¶
Example 1: without attributedTo¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/zBtrXhtPJWrtTvLt",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.257819+00:00Z",
"id": "http://host.test/objects/VHivkpPP7lKc7cEJ",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.257800+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.257819+00:00Z",
"id": "http://host.test/objects/VHivkpPP7lKc7cEJ",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.257800+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 2: without cc¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/hUQAYJ4QZID19Txe",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"content": "event content",
"endTime": "2026-04-18T10:48:43.257956+00:00Z",
"id": "http://host.test/objects/NbIsAdBo6eCCEW3Z",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.257949+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"content": "event content",
"endTime": "2026-04-18T10:48:43.257956+00:00Z",
"id": "http://host.test/objects/NbIsAdBo6eCCEW3Z",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.257949+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 3: without type¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/NDLoPXk4xfIpSFpq",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258135+00:00Z",
"id": "http://host.test/objects/t-OgknImUFuQQAdy",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258123+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
]
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258135+00:00Z",
"id": "http://host.test/objects/t-OgknImUFuQQAdy",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258123+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
]
}
Example 4: without published¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/tNJnzHx7OvXH7Ay9",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258403+00:00Z",
"id": "http://host.test/objects/Axz0TrphOM-t_5Dh",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"startTime": "2026-04-18T07:48:43.258391+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258403+00:00Z",
"id": "http://host.test/objects/Axz0TrphOM-t_5Dh",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"startTime": "2026-04-18T07:48:43.258391+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 5: without content¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/ZtSaKYmMvGLqpLNT",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"endTime": "2026-04-18T10:48:43.258590+00:00Z",
"id": "http://host.test/objects/HlVIpgdbjkJHJuS9",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258583+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"endTime": "2026-04-18T10:48:43.258590+00:00Z",
"id": "http://host.test/objects/HlVIpgdbjkJHJuS9",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258583+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 6: without endTime¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/YmcukyXVXmKwWLzc",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"id": "http://host.test/objects/RW-zMop62bHaHmWH",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258716+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"id": "http://host.test/objects/RW-zMop62bHaHmWH",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258716+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 7: without location¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/rYVoumK0SAIZ904e",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258840+00:00Z",
"id": "http://host.test/objects/w-QX47B_RHgx24Pi",
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258834+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258840+00:00Z",
"id": "http://host.test/objects/w-QX47B_RHgx24Pi",
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258834+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 8: without name¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/DP6vXdVuJR2qOzfs",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258953+00:00Z",
"id": "http://host.test/objects/kIAm3wJKL2_wNB9q",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258946+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.258953+00:00Z",
"id": "http://host.test/objects/kIAm3wJKL2_wNB9q",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"published": "2026-04-14T07:48:43Z",
"startTime": "2026-04-18T07:48:43.258946+00:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}
Example 9: without startTime¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/DF-VFj_4B9jtKng_",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.259067+00:00Z",
"id": "http://host.test/objects/LyzhE8474ivAxiUB",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
},
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "event content",
"endTime": "2026-04-18T10:48:43.259067+00:00Z",
"id": "http://host.test/objects/LyzhE8474ivAxiUB",
"location": {
"type": "VirtualLocation",
"url": "http://localhost"
},
"name": "my event",
"published": "2026-04-14T07:48:43Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Event"
}