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/VrLMmMBn5CI",
  "published": "2024-10-29T14:18:45Z",
  "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/aquDhMePLL4",
    "published": "2024-10-29T14:18:45Z",
    "cc": [],
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}

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": [
    "as:Public",
    "http://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/ebbVzM8W2ZQ",
  "published": "2024-10-29T14:19:00Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/p0otiH6GFng",
    "published": "2024-10-29T14:19:00Z",
    "cc": [],
    "content": "as:Public"
  }
}

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": [
    "Public",
    "http://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/eUai5DYGktg",
  "published": "2024-10-29T14:19:15Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/a9JB8K5MSDw",
    "published": "2024-10-29T14:19:15Z",
    "cc": [],
    "content": "Public"
  }
}