Skip to content

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/RFUlBqVPP7p2MsQp",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723372+00:00Z",
    "id": "http://host.test/objects/AU1O-Emb2CzjbeUC",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723365+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723372+00:00Z",
  "id": "http://host.test/objects/AU1O-Emb2CzjbeUC",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723365+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/txc_cvxZOl5B4SsJ",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723479+00:00Z",
    "id": "http://host.test/objects/1L1zc9HODsZXqGFH",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723473+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723479+00:00Z",
  "id": "http://host.test/objects/1L1zc9HODsZXqGFH",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723473+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/j4j3jzks48x7wRXt",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723578+00:00Z",
    "id": "http://host.test/objects/n1GLCIiz_FYfe0v3",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723573+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ]
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723578+00:00Z",
  "id": "http://host.test/objects/n1GLCIiz_FYfe0v3",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723573+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/3IWczvUInHcttBMM",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723675+00:00Z",
    "id": "http://host.test/objects/XapSN4XxvKI9i4Xo",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "startTime": "2026-04-12T07:53:32.723669+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723675+00:00Z",
  "id": "http://host.test/objects/XapSN4XxvKI9i4Xo",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "startTime": "2026-04-12T07:53:32.723669+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/H8ABRxRPXJ-B8RRE",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "endTime": "2026-04-12T10:53:32.723771+00:00Z",
    "id": "http://host.test/objects/M0ad1zRmt0Z8JP3T",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723766+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723771+00:00Z",
  "id": "http://host.test/objects/M0ad1zRmt0Z8JP3T",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723766+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/Ksh8TZ2t822MWdFf",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "id": "http://host.test/objects/nWNxpmjfByIUqgh9",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723859+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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/nWNxpmjfByIUqgh9",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723859+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/3Eg-b4my9tAQK7H-",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723957+00:00Z",
    "id": "http://host.test/objects/mJwPlb4yumBTDmsE",
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723952+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.723957+00:00Z",
  "id": "http://host.test/objects/mJwPlb4yumBTDmsE",
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723952+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/2NpIxaQoKfWsMANL",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.724048+00:00Z",
    "id": "http://host.test/objects/Q5pNui0k__vrmzAI",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.724042+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.724048+00:00Z",
  "id": "http://host.test/objects/Q5pNui0k__vrmzAI",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.724042+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/7TifvbLHn9_Xp3tX",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.724141+00:00Z",
    "id": "http://host.test/objects/6Vziqiu2MTZC4wNV",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.724141+00:00Z",
  "id": "http://host.test/objects/6Vziqiu2MTZC4wNV",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Event"
}