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://sharkey/users/aaxzjak82knh0003"
  ],
  "id": "http://pasture-one-actor/actor/KEjC1fE2ZtU",
  "published": "2025-08-02T15:46:58Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/aaxzjak82knh0003"
    ],
    "id": "http://pasture-one-actor/actor/zq3ATzIyztg",
    "published": "2025-08-02T15:46:58Z",
    "content": "single element"
  }
}
sharkey
{
  "id": "aaxzpd1slt6x003f",
  "uri": "http://pasture-one-actor/actor/zq3ATzIyztg",
  "url": "http://pasture-one-actor/actor/zq3ATzIyztg",
  "account": {
    "id": "aaxzkwd9lt6x0004",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2025-08-02T15:43:29.757Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 99,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true,
    "noindex": false,
    "group": null,
    "suspended": false,
    "limited": false
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p>single element</p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "single element",
  "created_at": "2025-08-02T15:46:58.000Z",
  "edited_at": null,
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "bookmarked": false,
  "quote": null,
  "reactions": []
}

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://sharkey/users/aaxzjak82knh0003"
  ],
  "id": "http://pasture-one-actor/actor/TcVmiSx6K0A",
  "published": "2025-08-02T15:46:59Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/aaxzjak82knh0003"
    ],
    "id": "http://pasture-one-actor/actor/yvdf6wnjMTE",
    "published": "2025-08-02T15:46:59Z",
    "content": "single element as list"
  }
}

no result

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://sharkey/users/aaxzjak82knh0003"
  ],
  "id": "http://pasture-one-actor/actor/uWo2D0Ksz8k",
  "published": "2025-08-02T15:47:11Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/aaxzjak82knh0003"
    ],
    "id": "http://pasture-one-actor/actor/1SPg2geXpE4",
    "published": "2025-08-02T15:47:11Z",
    "content": "two elements as list"
  }
}

no result

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://sharkey/users/aaxzjak82knh0003"
  ],
  "id": "http://pasture-one-actor/actor/eFzWO_XtBcI",
  "published": "2025-08-02T15:47:23Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/aaxzjak82knh0003"
    ],
    "id": "http://pasture-one-actor/actor/IwpeUzbFOgY",
    "published": "2025-08-02T15:47:23Z",
    "content": "a dictionary"
  }
}

no result

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://sharkey/users/aaxzjak82knh0003"
  ],
  "id": "http://pasture-one-actor/actor/RS3ailucUtc",
  "published": "2025-08-02T15:47:36Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/aaxzjak82knh0003"
    ],
    "id": "http://pasture-one-actor/actor/RjJ6ZB279eI",
    "published": "2025-08-02T15:47:36Z",
    "content": "a dictionary"
  }
}

no result