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/cKc1XlyPh4k",
"published": "2025-11-08T13:32:27Z",
"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/XOudWDA7oa0",
"published": "2025-11-08T13:32:27Z",
"content": "single element"
}
}
mastodon
{
"id": "115514326878638166",
"created_at": "2025-11-08T13:32:27.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/XOudWDA7oa0",
"url": "http://pasture-one-actor/object/XOudWDA7oa0",
"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": "115514309622755922",
"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-08T00: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": 151,
"last_status_at": "2025-11-08",
"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/6tEETisiGvw",
"published": "2025-11-08T13:32:28Z",
"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/7rZ7TlvLzrM",
"published": "2025-11-08T13:32:28Z",
"content": "single element as list"
}
}
mastodon
{
"id": "115514326937759651",
"created_at": "2025-11-08T13:32:28.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/7rZ7TlvLzrM",
"url": "http://pasture-one-actor/object/7rZ7TlvLzrM",
"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": "115514309622755922",
"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-08T00: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": 152,
"last_status_at": "2025-11-08",
"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/xkzQCFl9aIM",
"published": "2025-11-08T13:32:29Z",
"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/flVXmPsLllo",
"published": "2025-11-08T13:32:29Z",
"content": "two elements as list"
}
}
mastodon
{
"id": "115514326995983252",
"created_at": "2025-11-08T13:32:29.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/flVXmPsLllo",
"url": "http://pasture-one-actor/object/flVXmPsLllo",
"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": "115514309622755922",
"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-08T00: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": 153,
"last_status_at": "2025-11-08",
"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/mtS5SkSqJWA",
"published": "2025-11-08T13:32:30Z",
"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/pNvwgowrhJM",
"published": "2025-11-08T13:32:30Z",
"content": "a dictionary"
}
}
mastodon
{
"id": "115514327054267573",
"created_at": "2025-11-08T13:32:30.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/pNvwgowrhJM",
"url": "http://pasture-one-actor/object/pNvwgowrhJM",
"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": "115514309622755922",
"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-08T00: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": 154,
"last_status_at": "2025-11-08",
"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/aGMPQAI8FLc",
"published": "2025-11-08T13:32:30Z",
"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/qJQH94AMQQs",
"published": "2025-11-08T13:32:30Z",
"content": "a dictionary"
}
}
mastodon
{
"id": "115514327110376949",
"created_at": "2025-11-08T13:32:30.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/qJQH94AMQQs",
"url": "http://pasture-one-actor/object/qJQH94AMQQs",
"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": "115514309622755922",
"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-08T00: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": 155,
"last_status_at": "2025-11-08",
"hide_collections": true,
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"quote_approval": {
"automatic": [],
"manual": [],
"current_user": "denied"
}
}