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://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/x_SZ-DTqp-s",
  "published": "2025-06-16T09:31:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/AIMjixjY6-0",
    "published": "2025-06-16T09:31:42Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/mrdIHjwreXM",
  "published": "2025-06-16T09:31:53Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/NgIukMqjb1c",
    "published": "2025-06-16T09:31:53Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/FpmvWT6Rx8A",
  "published": "2025-06-16T09:32:04Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/mRZGpExeJHc",
    "published": "2025-06-16T09:32:04Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/S6dYH5GYgSI",
  "published": "2025-06-16T09:32:14Z",
  "object": {
    "type": "Note",
    "attributedTo": {
      "type": "Person",
      "id": "http://pasture-one-actor/actor"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/Ff-hpJzBsH0",
    "published": "2025-06-16T09:32:14Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a92fy09mup5x0003"
  ],
  "id": "http://pasture-one-actor/actor/vJm7IMtKUTM",
  "published": "2025-06-16T09:32:25Z",
  "object": {
    "type": "Note",
    "attributedTo": [
      {
        "type": "Person",
        "id": "http://pasture-one-actor/actor"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a92fy09mup5x0003"
    ],
    "id": "http://pasture-one-actor/actor/DC831j4WpCE",
    "published": "2025-06-16T09:32:25Z",
    "content": "a dictionary"
  }
}