Skip to content

Public addressing

Public addressing is discussed here. The essential point here is that Public, as:Public, and https://www.w3.org/ns/activitystreams#Public are equivalent as JSON-LD and thus should be treated in the same way by Fediverse applications.

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://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/iA7tVinZv14",
  "published": "2025-01-14T15:42:26Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/T18hG5cafz8",
    "published": "2025-01-14T15:42:26Z",
    "content": "https://www.w3.org/ns/activitystreams#Public",
    "cc": []
  }
}

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://mbin/u/oscar",
    "as:Public"
  ],
  "id": "http://pasture-one-actor/actor/O01Z_QmYTvI",
  "published": "2025-01-14T15:42:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/afo2TCCj1Rk",
    "published": "2025-01-14T15:42:42Z",
    "content": "as:Public",
    "cc": []
  }
}

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://mbin/u/oscar",
    "Public"
  ],
  "id": "http://pasture-one-actor/actor/gUQqvlvZNfk",
  "published": "2025-01-14T15:42:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/1FBYpGnhWlg",
    "published": "2025-01-14T15:42:57Z",
    "content": "Public",
    "cc": []
  }
}