Skip to content

Attribution Format

attributedTo is defined here in the ActivityStreams Vocabulary. It allows us to tell, who authored / owns the object.

This test explores what is allowed in the field.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mastodon/users/hippo"
  ],
  "id": "http://pasture-one-actor/activity/ip_J9XMCEKc",
  "published": "2025-12-07T10:23:47Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture-one-actor/object/ABvH-mpSONo",
    "published": "2025-12-07T10:23:47Z",
    "content": "single element"
  }
}
mastodon
{
  "id": "115677792001447963",
  "created_at": "2025-12-07T10:23:47.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/object/ABvH-mpSONo",
  "url": "http://pasture-one-actor/object/ABvH-mpSONo",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "quotes_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "single element",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "115677774182613185",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "indexable": false,
    "group": false,
    "created_at": "2025-12-07T00:00:00.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "http://localhost:2970/system/avatars/original/missing.png",
    "avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
    "header": "http://localhost:2970/system/headers/original/missing.png",
    "header_static": "http://localhost:2970/system/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 160,
    "last_status_at": "2025-12-07",
    "hide_collections": true,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "quote": null,
  "card": null,
  "poll": null,
  "quote_approval": {
    "automatic": [],
    "manual": [],
    "current_user": "denied"
  }
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mastodon/users/hippo"
  ],
  "id": "http://pasture-one-actor/activity/mwgvauyTT3w",
  "published": "2025-12-07T10:23:48Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture-one-actor/object/_xo6oi8yR-Y",
    "published": "2025-12-07T10:23:48Z",
    "content": "single element as list"
  }
}
mastodon
{
  "id": "115677792060602158",
  "created_at": "2025-12-07T10:23:48.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/object/_xo6oi8yR-Y",
  "url": "http://pasture-one-actor/object/_xo6oi8yR-Y",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "quotes_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "single element as list",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "115677774182613185",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "indexable": false,
    "group": false,
    "created_at": "2025-12-07T00:00:00.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "http://localhost:2970/system/avatars/original/missing.png",
    "avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
    "header": "http://localhost:2970/system/headers/original/missing.png",
    "header_static": "http://localhost:2970/system/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 161,
    "last_status_at": "2025-12-07",
    "hide_collections": true,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "quote": null,
  "card": null,
  "poll": null,
  "quote_approval": {
    "automatic": [],
    "manual": [],
    "current_user": "denied"
  }
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mastodon/users/hippo"
  ],
  "id": "http://pasture-one-actor/activity/nt9Zldk3te4",
  "published": "2025-12-07T10:23:48Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture-one-actor/object/f58bt_Zwf9g",
    "published": "2025-12-07T10:23:48Z",
    "content": "two elements as list"
  }
}
mastodon
{
  "id": "115677792116317433",
  "created_at": "2025-12-07T10:23:48.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/object/f58bt_Zwf9g",
  "url": "http://pasture-one-actor/object/f58bt_Zwf9g",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "quotes_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "two elements as list",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "115677774182613185",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "indexable": false,
    "group": false,
    "created_at": "2025-12-07T00:00:00.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "http://localhost:2970/system/avatars/original/missing.png",
    "avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
    "header": "http://localhost:2970/system/headers/original/missing.png",
    "header_static": "http://localhost:2970/system/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 162,
    "last_status_at": "2025-12-07",
    "hide_collections": true,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "quote": null,
  "card": null,
  "poll": null,
  "quote_approval": {
    "automatic": [],
    "manual": [],
    "current_user": "denied"
  }
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mastodon/users/hippo"
  ],
  "id": "http://pasture-one-actor/activity/iCZ8wk0F_KI",
  "published": "2025-12-07T10:23:49Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture-one-actor/object/_uoHDQkNI7g",
    "published": "2025-12-07T10:23:49Z",
    "content": "a dictionary"
  }
}
mastodon
{
  "id": "115677792173464437",
  "created_at": "2025-12-07T10:23:49.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/object/_uoHDQkNI7g",
  "url": "http://pasture-one-actor/object/_uoHDQkNI7g",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "quotes_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "a dictionary",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "115677774182613185",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "indexable": false,
    "group": false,
    "created_at": "2025-12-07T00:00:00.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "http://localhost:2970/system/avatars/original/missing.png",
    "avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
    "header": "http://localhost:2970/system/headers/original/missing.png",
    "header_static": "http://localhost:2970/system/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 163,
    "last_status_at": "2025-12-07",
    "hide_collections": true,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "quote": null,
  "card": null,
  "poll": null,
  "quote_approval": {
    "automatic": [],
    "manual": [],
    "current_user": "denied"
  }
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://mastodon/users/hippo"
  ],
  "id": "http://pasture-one-actor/activity/IU-sYlEP_G8",
  "published": "2025-12-07T10:23:50Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mastodon/users/hippo"
    ],
    "id": "http://pasture-one-actor/object/SWaJoIDRlXk",
    "published": "2025-12-07T10:23:50Z",
    "content": "a dictionary"
  }
}
mastodon
{
  "id": "115677792230918434",
  "created_at": "2025-12-07T10:23:50.000Z",
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": null,
  "uri": "http://pasture-one-actor/object/SWaJoIDRlXk",
  "url": "http://pasture-one-actor/object/SWaJoIDRlXk",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "quotes_count": 0,
  "edited_at": null,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "a dictionary",
  "filtered": [],
  "reblog": null,
  "account": {
    "id": "115677774182613185",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": false,
    "indexable": false,
    "group": false,
    "created_at": "2025-12-07T00:00:00.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "http://localhost:2970/system/avatars/original/missing.png",
    "avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
    "header": "http://localhost:2970/system/headers/original/missing.png",
    "header_static": "http://localhost:2970/system/headers/original/missing.png",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 164,
    "last_status_at": "2025-12-07",
    "hide_collections": true,
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "quote": null,
  "card": null,
  "poll": null,
  "quote_approval": {
    "automatic": [],
    "manual": [],
    "current_user": "denied"
  }
}