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": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/Cn-TumSqRqo",
"published": "2025-11-21T13:28:39Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/object/FNSb4KXAMpY",
"published": "2025-11-21T13:28:39Z",
"content": "single element"
}
}
mastodon
{
"id": "115587922017499914",
"created_at": "2025-11-21T13:28:39.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/FNSb4KXAMpY",
"url": "http://pasture-one-actor/object/FNSb4KXAMpY",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"quotes_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "single element",
"filtered": [],
"reblog": null,
"account": {
"id": "115587904635725355",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2025-11-21T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://localhost:2970/system/avatars/original/missing.png",
"avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
"header": "http://localhost:2970/system/headers/original/missing.png",
"header_static": "http://localhost:2970/system/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 160,
"last_status_at": "2025-11-21",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}
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": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/KK8ihUTnKbk",
"published": "2025-11-21T13:28:40Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/object/P_1eeFZI0PU",
"published": "2025-11-21T13:28:40Z",
"content": "single element as list"
}
}
mastodon
{
"id": "115587922078126662",
"created_at": "2025-11-21T13:28:40.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/P_1eeFZI0PU",
"url": "http://pasture-one-actor/object/P_1eeFZI0PU",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"quotes_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "single element as list",
"filtered": [],
"reblog": null,
"account": {
"id": "115587904635725355",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2025-11-21T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://localhost:2970/system/avatars/original/missing.png",
"avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
"header": "http://localhost:2970/system/headers/original/missing.png",
"header_static": "http://localhost:2970/system/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 161,
"last_status_at": "2025-11-21",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}
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": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/JwgtKvmFNXY",
"published": "2025-11-21T13:28:41Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor",
"http://pasture-one-actor/second"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/object/GXO7wZ5KR7w",
"published": "2025-11-21T13:28:41Z",
"content": "two elements as list"
}
}
mastodon
{
"id": "115587922138645579",
"created_at": "2025-11-21T13:28:41.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/GXO7wZ5KR7w",
"url": "http://pasture-one-actor/object/GXO7wZ5KR7w",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"quotes_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "two elements as list",
"filtered": [],
"reblog": null,
"account": {
"id": "115587904635725355",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2025-11-21T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://localhost:2970/system/avatars/original/missing.png",
"avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
"header": "http://localhost:2970/system/headers/original/missing.png",
"header_static": "http://localhost:2970/system/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 162,
"last_status_at": "2025-11-21",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}
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": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/6npGrcsgNBE",
"published": "2025-11-21T13:28:42Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/object/Mz-b8ynSRXU",
"published": "2025-11-21T13:28:42Z",
"content": "a dictionary"
}
}
mastodon
{
"id": "115587922199736957",
"created_at": "2025-11-21T13:28:42.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/Mz-b8ynSRXU",
"url": "http://pasture-one-actor/object/Mz-b8ynSRXU",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"quotes_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "a dictionary",
"filtered": [],
"reblog": null,
"account": {
"id": "115587904635725355",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2025-11-21T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://localhost:2970/system/avatars/original/missing.png",
"avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
"header": "http://localhost:2970/system/headers/original/missing.png",
"header_static": "http://localhost:2970/system/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 163,
"last_status_at": "2025-11-21",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}
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": [
"http://mastodon/users/hippo",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/S-g7jneo0qU",
"published": "2025-11-21T13:28:43Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mastodon/users/hippo"
],
"id": "http://pasture-one-actor/object/hi2NyO2dhr0",
"published": "2025-11-21T13:28:43Z",
"content": "a dictionary"
}
}
mastodon
{
"id": "115587922286974264",
"created_at": "2025-11-21T13:28:43.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/object/hi2NyO2dhr0",
"url": "http://pasture-one-actor/object/hi2NyO2dhr0",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"quotes_count": 0,
"edited_at": null,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"content": "a dictionary",
"filtered": [],
"reblog": null,
"account": {
"id": "115587904635725355",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": false,
"bot": false,
"discoverable": false,
"indexable": false,
"group": false,
"created_at": "2025-11-21T00:00:00.000Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"uri": "http://pasture-one-actor/actor",
"avatar": "http://localhost:2970/system/avatars/original/missing.png",
"avatar_static": "http://localhost:2970/system/avatars/original/missing.png",
"header": "http://localhost:2970/system/headers/original/missing.png",
"header_static": "http://localhost:2970/system/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 164,
"last_status_at": "2025-11-21",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}