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://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/hd740zOp8k4",
"published": "2025-04-11T08:36:52Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/a6hmu0IUEsc",
"published": "2025-04-11T08:36:52Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/plINafQBRas",
"published": "2025-04-11T08:37:03Z",
"object": {
"type": "Note",
"attributedTo": [
"http://pasture-one-actor/actor"
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/qO1oZKKS7g4",
"published": "2025-04-11T08:37:03Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/V0u_g9jyNzA",
"published": "2025-04-11T08:37:14Z",
"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/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/U1IzA6Z2wTA",
"published": "2025-04-11T08:37:14Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/0d-pdIxWl64",
"published": "2025-04-11T08:37:24Z",
"object": {
"type": "Note",
"attributedTo": {
"type": "Person",
"id": "http://pasture-one-actor/actor"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/-XvcOrAhAVU",
"published": "2025-04-11T08:37:24Z",
"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": [
"http://misskey/users/a6g2x9ocfyaz0003",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/uiGu6adgV3o",
"published": "2025-04-11T08:37:35Z",
"object": {
"type": "Note",
"attributedTo": [
{
"type": "Person",
"id": "http://pasture-one-actor/actor"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://misskey/users/a6g2x9ocfyaz0003"
],
"id": "http://pasture-one-actor/actor/qq19EFgQDxw",
"published": "2025-04-11T08:37:35Z",
"content": "a dictionary"
}
}