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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/t-oazXuDdiY",
"published": "2025-03-12T10:35:57Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/jP0F6O74zAA",
"published": "2025-03-12T10:35:57Z",
"content": "single element"
}
}
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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/m-twx36b9bw",
"published": "2025-03-12T10:36:08Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/0qWSl31fEfY",
"published": "2025-03-12T10:36:08Z",
"content": "single element as list"
}
}
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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/bDTb-fsjKvk",
"published": "2025-03-12T10:36:19Z",
"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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/x3ttXqMVuRU",
"published": "2025-03-12T10:36:19Z",
"content": "two elements as list"
}
}
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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/nr3otPwGzuk",
"published": "2025-03-12T10:36:30Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/MtPs-Ill81c",
"published": "2025-03-12T10:36:30Z",
"content": "a dictionary"
}
}
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/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/DiOisrULmdo",
"published": "2025-03-12T10:36:40Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a59bykudnkgb0003"
],
"id": "http://pasture-one-actor/actor/oWcdPNVJq9c",
"published": "2025-03-12T10:36:40Z",
"content": "a dictionary"
}
}