Skip to content

Object types

Varying the object type and investigation what happens to the properties. Relevant properties are

{
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "${type}",
    "name": "name",
    "summary": "summary",
    "content": "content"
}

where type is the property being varied between different entries in the table. Object types are defined in https://www.w3.org/TR/activitystreams-vocabulary/#object-types.

Support Table Preview

type Object Activity
“Article” Object Activity
“Audio” Object Activity
“Document” Object Activity
“Event” Object Activity
“Image” Object Activity
“Note” Object Activity
“Page” Object Activity
“Place” Object Activity
“Profile” Object Activity
“Relationship” Object Activity
“Tombstone” Object Activity
“Video” Object Activity
[“Note”] Object 🚨 Activity
[“Note”, “Article”] Object 🚨 Activity
null Object 🚨 Activity

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/Y_XK2Xr6a3Q",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Article"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/hWkzLXCZOic",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Audio"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/LmKRO7G3Qwk",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Document"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/4Poss1hIGVw",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Event"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/JTFlOxt3R34",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Image"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/JfgIJHcjxaI",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/8d0ZwU3eZZk",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Page"
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/Sbqnl9vDpTE",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Place"
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/I0ZRlAE09hg",
  "name": "name",
  "published": "2025-11-21T12:04:54Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Profile"
}

Object 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/6DKcQcWMS88",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Relationship"
}

Object 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/RJgwSJuCENw",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Tombstone"
}

Object 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/8qqw09Mjf0M",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Video"
}

Object 13

❌❌❌ does not obey schema ❌❌❌

['Note'] is not of type 'string'

Failed validating 'type' in schema['properties']['type']:
    {'description': 'Type of the activity or activity. Side effects of '
                    'this activity are determine by this type.',
     'examples': ['Follow', 'Accept', 'Create', 'Undo', 'Like', 'Note'],
     'type': 'string'}

On instance['type']:
    ['Note']
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/aHgP5bjLNT0",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": [
    "Note"
  ]
}

Object 14

❌❌❌ does not obey schema ❌❌❌

['Note', 'Article'] is not of type 'string'

Failed validating 'type' in schema['properties']['type']:
    {'description': 'Type of the activity or activity. Side effects of '
                    'this activity are determine by this type.',
     'examples': ['Follow', 'Accept', 'Create', 'Undo', 'Like', 'Note'],
     'type': 'string'}

On instance['type']:
    ['Note', 'Article']
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/GzdrHC0FUhg",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": [
    "Note",
    "Article"
  ]
}

Object 15

❌❌❌ does not obey schema ❌❌❌

None is not of type 'string'

Failed validating 'type' in schema['properties']['type']:
    {'description': 'Type of the activity or activity. Side effects of '
                    'this activity are determine by this type.',
     'examples': ['Follow', 'Accept', 'Create', 'Undo', 'Like', 'Note'],
     'type': 'string'}

On instance['type']:
    None
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "content",
  "id": "http://actor.example/object/8RJaW-mX_qo",
  "name": "name",
  "published": "2025-11-21T12:04:55Z",
  "summary": "summary",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": null
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/ghY3hBbzoME",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/gg_0NisIex8",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Article"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/aoEb91UKq3g",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/L2YfJKpojfY",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Audio"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/5MG52WpdpQ8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/lg6G4a8ArD4",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Document"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/QJIIG97Id3E",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/vpxqOKSY3eQ",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Event"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/iibPcRAvcpo",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/MCrGTvhzrjA",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Image"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/EwdMpAGO5qs",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/UVa_Mblw01Q",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/OAIJxJ9hN7c",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/uI8Dsn4hgGE",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Page"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/CrBZ0OtKSCg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/axOv43RMzyY",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Place"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/Fx7AQOO8u4g",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/qQpHG48GNWw",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Profile"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/QcjMb9yCKLQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/RLTTZg3wP90",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Relationship"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/MqUhxX6AXqQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/Cgp8QGFE3Nw",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Tombstone"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/zCdxyPz0OPM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/jsZY2jgmzjg",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Video"
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 13

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/ya39vFwmSu0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/lsRHmEOB61o",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": [
      "Note"
    ]
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 14

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/4kERymhUkwA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/KXE_djcPXmc",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": [
      "Note",
      "Article"
    ]
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 15

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/eXsprM-Znlc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "content",
    "id": "http://actor.example/object/F4grKbX8AFI",
    "name": "name",
    "published": "2025-11-21T12:04:55Z",
    "summary": "summary",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": null
  },
  "published": "2025-11-21T12:04:55Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}