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/VuxgYOSKTOc",
"published": "2025-07-31T07:23:46Z",
"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/Zem8Co3UtPY",
"published": "2025-07-31T07:23:46Z",
"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/-v3qdY9QyBE",
"published": "2025-07-31T07:23:46Z",
"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/hOfJEc49dyY",
"published": "2025-07-31T07:23:46Z",
"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/WUlDjNG-6Og",
"published": "2025-07-31T07:23:46Z",
"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/sWCgJI7gSe8",
"object": {
"attributedTo": "http://pasture-one-actor/actor",
"content": "single element",
"id": "http://actor.example/Ar5suhKvtXY",
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-31T07:23:46Z",
"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/dE60gLxy6nA",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor"
],
"content": "single element as list",
"id": "http://actor.example/U2jzesQcS6Q",
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-31T07:23:46Z",
"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/966PnIatWfU",
"object": {
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"content": "two elements as list",
"id": "http://actor.example/4V6Vw9lNJ4E",
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-31T07:23:46Z",
"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/tKvCQrFm32g",
"object": {
"attributedTo": {
"id": "http://pasture-one-actor/actor",
"type": "Person"
},
"content": "a dictionary",
"id": "http://actor.example/8EXvfpTWVRM",
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-31T07:23:46Z",
"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/c2g30bsA0pE",
"object": {
"attributedTo": [
{
"id": "http://pasture-one-actor/actor",
"type": "Person"
}
],
"content": "a dictionary",
"id": "http://actor.example/qJOMXql6PWI",
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-07-31T07:23:46Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": "Create"
}