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/kEUDUwXYuLg",
"published": "2025-10-12T08:53:00Z",
"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/1fEu_z2Fs58",
"published": "2025-10-12T08:53:00Z",
"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/I7A2R8qBsPI",
"published": "2025-10-12T08:53:00Z",
"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/jAdyOs3rnmo",
"published": "2025-10-12T08:53:00Z",
"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/URDA8LYbrdw",
"published": "2025-10-12T08:53:00Z",
"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/YVnO5EQyICc",
"object": {
"attributedTo": "http://pasture-one-actor/actor",
"content": "single element",
"id": "http://actor.example/object/odlnruA1aBo",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"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/94TgCyPHrnQ",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor"
],
"content": "single element as list",
"id": "http://actor.example/object/VeJhrn-ZD2o",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"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/j5G9m_Mmogw",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"content": "two elements as list",
"id": "http://actor.example/object/X6g0F6lMtOQ",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"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/HQOuYpOfy9A",
"object": {
"attributedTo": {
"id": "http://pasture-one-actor/actor",
"type": "Person"
},
"content": "a dictionary",
"id": "http://actor.example/object/1TdnWzdsSqM",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"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/BTih6P4i2so",
"object": {
"attributedTo": [
{
"id": "http://pasture-one-actor/actor",
"type": "Person"
}
],
"content": "a dictionary",
"id": "http://actor.example/object/XE0Ul9Tsp5M",
"published": "2025-10-12T08:53:00Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-10-12T08:53:00Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}