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.
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/pyHx_W5bMWE",
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/pmHwsgFMEEI",
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/66iJr6ZyoD0",
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/i7cNOn0f9O8",
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/pkdfKjDodCs",
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/_P1SszMgQh0",
"object": {
"attributedTo": "http://pasture-one-actor/actor",
"content": "single element",
"id": "http://actor.example/QugcFwZ7ubM",
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/Are4Qj9kkn4",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor"
],
"content": "single element as list",
"id": "http://actor.example/lEProycMfRg",
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/J4I5LS6V2-s",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"content": "two elements as list",
"id": "http://actor.example/aDoD6iT9YEc",
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/XRRi2ayGQ9s",
"object": {
"attributedTo": {
"id": "http://pasture-one-actor/actor",
"type": "Person"
},
"content": "a dictionary",
"id": "http://actor.example/7HOjLemoOVI",
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-15T09:07:23Z",
"to": [
"as: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/u0uKcTNX8w0",
"object": {
"attributedTo": [
{
"id": "http://pasture-one-actor/actor",
"type": "Person"
}
],
"content": "a dictionary",
"id": "http://actor.example/jev07Xxs-bo",
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-15T09:07:23Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Create"
}