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": [
    "http://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/ZMSRMzuqo8Q",
  "published": "2025-08-11T17:12:44Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/lP3DcPN5oaU",
    "published": "2025-08-11T17:12:44Z",
    "content": "single element"
  }
}
friendica
{
  "id": "108",
  "created_at": "2025-08-11T17:12:44.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "af",
  "uri": "http://pasture-one-actor/actor/lP3DcPN5oaU",
  "url": "http://pasture-one-actor/actor/lP3DcPN5oaU",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "single element",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:12:45.000Z",
    "commented_at": "2025-08-11T17:12:45.000Z",
    "received_at": "2025-08-11T17:12:44.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "single element"
  }
}

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": [
    "http://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YLZDBN-fxrU",
  "published": "2025-08-11T17:12:46Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/kdBnIJ6Ro28",
    "published": "2025-08-11T17:12:46Z",
    "content": "single element as list"
  }
}
friendica
{
  "id": "109",
  "created_at": "2025-08-11T17:12:46.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "fr",
  "uri": "http://pasture-one-actor/actor/kdBnIJ6Ro28",
  "url": "http://pasture-one-actor/actor/kdBnIJ6Ro28",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "single element as list",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:12:46.000Z",
    "commented_at": "2025-08-11T17:12:46.000Z",
    "received_at": "2025-08-11T17:12:46.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "single element as list"
  }
}

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": [
    "http://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/ScCBYyqp3-8",
  "published": "2025-08-11T17:12:47Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/gFV_h7yiqmo",
    "published": "2025-08-11T17:12:47Z",
    "content": "two elements as list"
  }
}
friendica
{
  "id": "110",
  "created_at": "2025-08-11T17:12:47.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "ca",
  "uri": "http://pasture-one-actor/actor/gFV_h7yiqmo",
  "url": "http://pasture-one-actor/actor/gFV_h7yiqmo",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "two elements as list",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:12:48.000Z",
    "commented_at": "2025-08-11T17:12:48.000Z",
    "received_at": "2025-08-11T17:12:48.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "two elements as list"
  }
}

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": [
    "http://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/PSzw5fGPZYQ",
  "published": "2025-08-11T17:12:49Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/SALbVsOT-fU",
    "published": "2025-08-11T17:12:49Z",
    "content": "a dictionary"
  }
}
friendica
{
  "id": "112",
  "created_at": "2025-08-11T17:12:49.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "en",
  "uri": "http://pasture-one-actor/actor/SALbVsOT-fU",
  "url": "http://pasture-one-actor/actor/SALbVsOT-fU",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "a dictionary",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:12:49.000Z",
    "commented_at": "2025-08-11T17:12:49.000Z",
    "received_at": "2025-08-11T17:12:49.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "a dictionary"
  }
}

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": [
    "http://friendica/profile/friend",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/6lI3l3u2qws",
  "published": "2025-08-11T17:12:50Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://friendica/profile/friend"
    ],
    "id": "http://pasture-one-actor/actor/0frDxf_BjUY",
    "published": "2025-08-11T17:12:50Z",
    "content": "a dictionary"
  }
}
friendica
{
  "id": "113",
  "created_at": "2025-08-11T17:12:50.000Z",
  "edited_at": null,
  "in_reply_to_id": null,
  "in_reply_to_status": null,
  "in_reply_to_account_id": null,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "language": "en",
  "uri": "http://pasture-one-actor/actor/0frDxf_BjUY",
  "url": "http://pasture-one-actor/actor/0frDxf_BjUY",
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "favourited": false,
  "reblogged": false,
  "muted": false,
  "bookmarked": false,
  "content": "a dictionary",
  "reblog": null,
  "quote": null,
  "application": {
    "name": "ActivityPub",
    "vapid_key": null
  },
  "account": {
    "id": "5",
    "username": "actor",
    "acct": "",
    "display_name": "Test Actor",
    "locked": false,
    "bot": false,
    "discoverable": true,
    "group": false,
    "created_at": "2025-08-11T17:07:13.000Z",
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "avatar": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "avatar_static": "http://friendica/photo/contact/320/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "header": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033",
    "header_static": "http://friendica/photo/header/0700725d-72c7be8a-36a431191785fdc7?ts=1754932033&static=1",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 0,
    "last_status_at": "2025-08-11T00:00:00.000Z",
    "emojis": [],
    "fields": []
  },
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "emojis": [],
  "card": null,
  "poll": null,
  "friendica": {
    "title": "",
    "changed_at": "2025-08-11T17:12:50.000Z",
    "commented_at": "2025-08-11T17:12:50.000Z",
    "received_at": "2025-08-11T17:12:50.000Z",
    "delivery_data": {
      "delivery_queue_count": null,
      "delivery_queue_done": null,
      "delivery_queue_failed": null
    },
    "dislikes_count": 0,
    "disliked": false,
    "network": "ActivityPub",
    "platform": "ActivityPub",
    "version": "",
    "sitename": "",
    "visibility": {
      "allow_cid": [],
      "deny_cid": [],
      "allow_gid": [],
      "deny_gid": []
    },
    "content": "a dictionary"
  }
}