JSON-LD @context¶
Various examples the @context
property can take.
See here for the
W3C specification, and here
for what ActivityStreams says about it.
Examples¶
Example 1¶
activity
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/zukdDZVDUJk",
"published": "2025-09-06T12:52:01Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/EkZ-TB_CEUc",
"published": "2025-09-06T12:52:01Z",
"@context": "https://www.w3.org/ns/activitystreams",
"content": "@context url as the ActivityStreams URL"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "@context url as the ActivityStreams URL"
},
"context": "http://pasture-one-actor/object/EkZ-TB_CEUc",
"conversation_id": 1962305026,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/EkZ-TB_CEUc",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKZA5rJf5ElQQ64",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "@context url as the ActivityStreams URL",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/EkZ-TB_CEUc",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 18,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:01.000Z",
"muted": false,
"replies_count": 0
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/xiP2ahL13bc",
"published": "2025-09-06T12:52:02Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/PO1m336DM1o",
"published": "2025-09-06T12:52:02Z",
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"content": "@context url is list of ActivityStreams URL"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "@context url is list of ActivityStreams URL"
},
"context": "http://pasture-one-actor/object/PO1m336DM1o",
"conversation_id": 467943951,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/PO1m336DM1o",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKd4DL7KrLghmUK",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "@context url is list of ActivityStreams URL",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/PO1m336DM1o",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 19,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:02.000Z",
"muted": false,
"replies_count": 0
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/2Ras0fFN7W0",
"published": "2025-09-06T12:52:03Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/aW8dbybVZC0",
"published": "2025-09-06T12:52:03Z",
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag"
}
],
"content": "@context url is list of ActivityStreams URL and Hashtag"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "@context url is list of ActivityStreams URL and Hashtag"
},
"context": "http://pasture-one-actor/object/aW8dbybVZC0",
"conversation_id": 381904205,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/aW8dbybVZC0",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKgzOkxrNVuTzXM",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "@context url is list of ActivityStreams URL and Hashtag",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/aW8dbybVZC0",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 20,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:03.000Z",
"muted": false,
"replies_count": 0
}
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/fep/5711"
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/fh1N6eP1wbw",
"published": "2025-09-06T12:52:03Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/g7vcuN1lKFM",
"published": "2025-09-06T12:52:03Z",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/fep/5711"
],
"content": "@context with ActivityStreams URL + w3id-fep document"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "@context with ActivityStreams URL + w3id-fep document"
},
"context": "http://pasture-one-actor/object/g7vcuN1lKFM",
"conversation_id": 637563642,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/g7vcuN1lKFM",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKl4rYabkC14Pbs",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "@context with ActivityStreams URL + w3id-fep document",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/g7vcuN1lKFM",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 21,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:03.000Z",
"muted": false,
"replies_count": 0
}
Example 5¶
activity
{
"@context": null,
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/9423DJQLFiQ",
"published": "2025-09-06T12:52:04Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/51Cy1xfK62M",
"published": "2025-09-06T12:52:04Z",
"@context": null,
"content": "no @context"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "no @context"
},
"context": "http://pasture-one-actor/object/51Cy1xfK62M",
"conversation_id": 1088075857,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/51Cy1xfK62M",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKp6QaiEig1pibY",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "no @context",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/51Cy1xfK62M",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 22,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:04.000Z",
"muted": false,
"replies_count": 0
}
Example 6¶
activity
{
"@context": "http://strange.example/context",
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/activity/unK_jgj9B3g",
"published": "2025-09-06T12:52:05Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture-one-actor/object/4svdK1IGHkk",
"published": "2025-09-06T12:52:05Z",
"@context": "http://strange.example/context",
"content": "@context is a broken url"
}
}
akkoma
{
"reblogged": false,
"pleroma": {
"content": {
"text/plain": "@context is a broken url"
},
"context": "http://pasture-one-actor/object/4svdK1IGHkk",
"conversation_id": 370205821,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"in_reply_to_account_id": null,
"uri": "http://pasture-one-actor/object/4svdK1IGHkk",
"edited_at": null,
"quote": null,
"favourited": false,
"pinned": false,
"emojis": [],
"id": "AxviKtDfHkOzRdFYRM",
"mentions": [
{
"acct": "witch",
"id": "AxviAN9OnIBfQkvtZI",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"content": "@context is a broken url",
"akkoma": {
"source": null
},
"spoiler_text": "",
"media_attachments": [],
"url": "http://pasture-one-actor/object/4svdK1IGHkk",
"reblogs_count": 0,
"visibility": "public",
"bookmarked": false,
"card": null,
"favourites_count": 0,
"in_reply_to_id": null,
"quote_id": null,
"poll": null,
"emoji_reactions": [],
"application": null,
"tags": [],
"sensitive": false,
"account": {
"acct": "actor@pasture-one-actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture-one-actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2025-09-06T12:51:37.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture-one-actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AxviIMZtfrtnd7RanQ",
"last_status_at": "2025-09-06",
"locked": false,
"note": "",
"pleroma": {
"also_known_as": [],
"ap_id": "http://pasture-one-actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 23,
"url": "http://pasture-one-actor/actor",
"username": "actor"
},
"reblog": null,
"text": null,
"language": null,
"created_at": "2025-09-06T12:52:05.000Z",
"muted": false,
"replies_count": 0
}