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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/activity/ZEaxNRZGS0M",
"published": "2025-09-03T18:59:55Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/object/J-myD3BxW-o",
"published": "2025-09-03T18:59:55Z",
"content": "single element"
}
}
misskey
{
"id": "ac7wor943t7j004u",
"createdAt": "2025-09-03T18:59:55.000Z",
"userId": "ac7wl9qt3t7j0003",
"user": {
"id": "ac7wl9qt3t7j0003",
"name": "Test Actor",
"username": "actor",
"host": "pasture-one-actor",
"avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
"avatarBlurhash": null,
"avatarDecorations": [],
"isBot": false,
"isCat": false,
"instance": {
"name": null,
"softwareName": null,
"softwareVersion": null,
"iconUrl": null,
"faviconUrl": null,
"themeColor": null
},
"emojis": {},
"onlineStatus": "unknown"
},
"text": "single element",
"cw": null,
"visibility": "public",
"localOnly": false,
"reactionAcceptance": null,
"renoteCount": 0,
"repliesCount": 0,
"reactionCount": 0,
"reactions": {},
"reactionEmojis": {},
"emojis": {},
"fileIds": [],
"files": [],
"replyId": null,
"renoteId": null,
"uri": "http://pasture-one-actor/object/J-myD3BxW-o",
"clippedCount": 0
}
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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/activity/szWR2jX_s_g",
"published": "2025-09-03T18:59:56Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/object/0LR-sAdj1HA",
"published": "2025-09-03T18:59:56Z",
"content": "single element as list"
}
}
no result
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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/activity/qxx3moCufI0",
"published": "2025-09-03T19:00:07Z",
"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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/object/Fzfr1-q9lUA",
"published": "2025-09-03T19:00:07Z",
"content": "two elements as list"
}
}
no result
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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/activity/uDB1ZyPNRkk",
"published": "2025-09-03T19:00:19Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/object/c8nPvKdu5js",
"published": "2025-09-03T19:00:19Z",
"content": "a dictionary"
}
}
no result
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/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/activity/cbzx4Ld2j-A",
"published": "2025-09-03T19:00:30Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/ac7wjo0hjhdg0003"
],
"id": "http://pasture-one-actor/object/e5QGC1BoqOM",
"published": "2025-09-03T19:00:30Z",
"content": "a dictionary"
}
}
no result