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.

Support Table Preview

attributedTo Object Activity
“http://pasture-one-actor/actor”
Object Activity
[
  “http://pasture-one-actor/actor”
]
Object Activity
[
  “http://pasture-one-actor/actor”,
  “http://pasture-one-actor/second”
]
Object Activity
{
  “type”: “Person”,
  “id”: “http://pasture-one-actor/actor”
}
Object Activity
[
  {
    “type”: “Person”,
    “id”: “http://pasture-one-actor/actor”
  }
]
Object Activity

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://pasture-one-actor/actor",
  "content": "single element",
  "id": "http://actor.example/object/fmsVyO7oTeM",
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": [
    "http://pasture-one-actor/actor"
  ],
  "content": "single element as list",
  "id": "http://actor.example/object/f82PEqzA7Ik",
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": [
    "http://pasture-one-actor/actor",
    "http://pasture-one-actor/second"
  ],
  "content": "two elements as list",
  "id": "http://actor.example/object/1NxkdCccYew",
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": {
    "id": "http://pasture-one-actor/actor",
    "type": "Person"
  },
  "content": "a dictionary",
  "id": "http://actor.example/object/UxyxI0JVzzU",
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": [
    {
      "id": "http://pasture-one-actor/actor",
      "type": "Person"
    }
  ],
  "content": "a dictionary",
  "id": "http://actor.example/object/IDxkONF4Gaw",
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

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/Ub0T0JMKPAs",
  "object": {
    "attributedTo": "http://pasture-one-actor/actor",
    "content": "single element",
    "id": "http://actor.example/object/u8s9KdN7NR0",
    "published": "2025-09-09T09:32:39Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "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/4bqvpxGu86Y",
  "object": {
    "attributedTo": [
      "http://pasture-one-actor/actor"
    ],
    "content": "single element as list",
    "id": "http://actor.example/object/k_5MtC8iLkU",
    "published": "2025-09-09T09:32:39Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "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/WFMAJOTzdoo",
  "object": {
    "attributedTo": [
      "http://pasture-one-actor/actor",
      "http://pasture-one-actor/second"
    ],
    "content": "two elements as list",
    "id": "http://actor.example/object/oaWTlWCExHA",
    "published": "2025-09-09T09:32:39Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "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/K5_k3H4J67I",
  "object": {
    "attributedTo": {
      "id": "http://pasture-one-actor/actor",
      "type": "Person"
    },
    "content": "a dictionary",
    "id": "http://actor.example/object/yxqdM-3VbgY",
    "published": "2025-09-09T09:32:39Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "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/8NcFvE_n-fo",
  "object": {
    "attributedTo": [
      {
        "id": "http://pasture-one-actor/actor",
        "type": "Person"
      }
    ],
    "content": "a dictionary",
    "id": "http://actor.example/object/wYVDgXdbegs",
    "published": "2025-09-09T09:32:39Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:39Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "type": "Create"
}