Skip to content

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/qPVjxDfoLXw",
  "published": "2025-11-21T12:36:25Z",
  "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/60ILGrTntN8",
    "published": "2025-11-21T12:36:25Z",
    "@context": "https://www.w3.org/ns/activitystreams",
    "content": "@context url as the ActivityStreams URL"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "@context url as the ActivityStreams URL"
    },
    "context": "http://pasture-one-actor/object/60ILGrTntN8",
    "conversation_id": 1546451603,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/60ILGrTntN8",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzLpT5VyrAuACEy",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:25.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/60ILGrTntN8",
  "content": "@context url as the ActivityStreams URL",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 26,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_count": 0
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/kEt4gE9v9X8",
  "published": "2025-11-21T12:36:26Z",
  "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/RNpaYMuCDGk",
    "published": "2025-11-21T12:36:26Z",
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "content": "@context url is list of ActivityStreams URL"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "@context url is list of ActivityStreams URL"
    },
    "context": "http://pasture-one-actor/object/RNpaYMuCDGk",
    "conversation_id": 1606407719,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/RNpaYMuCDGk",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzP80p1b3PHrY3s",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:26.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/RNpaYMuCDGk",
  "content": "@context url is list of ActivityStreams URL",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 27,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_count": 0
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/aMj97Sue-9Y",
  "published": "2025-11-21T12:36:27Z",
  "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/29UOdOjvDws",
    "published": "2025-11-21T12:36:27Z",
    "@context": [
      "https://www.w3.org/ns/activitystreams",
      {
        "Hashtag": "as:Hashtag"
      }
    ],
    "content": "@context url is list of ActivityStreams URL and Hashtag"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "@context url is list of ActivityStreams URL and Hashtag"
    },
    "context": "http://pasture-one-actor/object/29UOdOjvDws",
    "conversation_id": 1383574154,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/29UOdOjvDws",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzSUoIicDqrYIVs",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:27.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/29UOdOjvDws",
  "content": "@context url is list of ActivityStreams URL and Hashtag",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 28,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/6aKo7je2zzE",
  "published": "2025-11-21T12:36:27Z",
  "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/5rac60H2_Z8",
    "published": "2025-11-21T12:36:27Z",
    "@context": [
      "https://www.w3.org/ns/activitystreams",
      "https://w3id.org/fep/5711"
    ],
    "content": "@context with ActivityStreams URL + w3id-fep document"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "@context with ActivityStreams URL + w3id-fep document"
    },
    "context": "http://pasture-one-actor/object/5rac60H2_Z8",
    "conversation_id": 1879891835,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/5rac60H2_Z8",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzVn03Xwq495MmW",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:27.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/5rac60H2_Z8",
  "content": "@context with ActivityStreams URL + w3id-fep document",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 29,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_count": 0
}

Example 5

activity
{
  "@context": null,
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/2ZTbArZvR1o",
  "published": "2025-11-21T12:36:28Z",
  "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/_fqKruco3_0",
    "published": "2025-11-21T12:36:28Z",
    "@context": null,
    "content": "no @context"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "no @context"
    },
    "context": "http://pasture-one-actor/object/_fqKruco3_0",
    "conversation_id": 950486571,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/_fqKruco3_0",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzZK4v1Br1baKG0",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:28.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/_fqKruco3_0",
  "content": "no @context",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 30,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_count": 0
}

Example 6

activity
{
  "@context": "http://strange.example/context",
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://akkoma/users/witch"
  ],
  "id": "http://pasture-one-actor/activity/lCarhxjNJuQ",
  "published": "2025-11-21T12:36:28Z",
  "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/qg2OuwH-XFU",
    "published": "2025-11-21T12:36:28Z",
    "@context": "http://strange.example/context",
    "content": "@context is a broken url"
  }
}
akkoma
{
  "visibility": "public",
  "replies_count": 0,
  "bookmarked": false,
  "pleroma": {
    "content": {
      "text/plain": "@context is a broken url"
    },
    "context": "http://pasture-one-actor/object/qg2OuwH-XFU",
    "conversation_id": 233026004,
    "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
  },
  "spoiler_text": "",
  "uri": "http://pasture-one-actor/object/qg2OuwH-XFU",
  "quote": null,
  "media_attachments": [],
  "card": null,
  "edited_at": null,
  "id": "B0TDzcofviRnrMvIrg",
  "muted": false,
  "emoji_reactions": [],
  "in_reply_to_account_id": null,
  "reblogged": false,
  "created_at": "2025-11-21T12:36:28.000Z",
  "text": null,
  "reblogs_count": 0,
  "pinned": false,
  "url": "http://pasture-one-actor/object/qg2OuwH-XFU",
  "content": "@context is a broken url",
  "reblog": null,
  "application": null,
  "mentions": [
    {
      "acct": "witch",
      "id": "B0TDowPe9Kl5nAMTb6",
      "url": "http://akkoma/users/witch",
      "username": "witch"
    }
  ],
  "poll": null,
  "sensitive": false,
  "quote_id": null,
  "akkoma": {
    "source": null
  },
  "in_reply_to_id": null,
  "emojis": [],
  "account": {
    "acct": "actor@pasture-one-actor",
    "akkoma": {
      "instance": null,
      "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-11-21T12:35:58.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": "B0TDwqmxWasKKEnVJI",
    "last_status_at": "2025-11-21",
    "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": 31,
    "url": "http://pasture-one-actor/actor",
    "username": "actor"
  },
  "tags": [],
  "language": null,
  "favourited": false,
  "favourites_count": 0
}