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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/wZms2NhQ5ss",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/UPV2-YknHZU",
    "published": "2024-03-01T16:23:03Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
bovine
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "https://www.w3.org/ns/activitystreams#Public",
  "id": "http://pasture_one_actor/actor/UPV2-YknHZU",
  "published": "2024-03-01T16:23:03Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}

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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "id": "http://pasture_one_actor/actor/3_Y5rQZqGUc",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "as:Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/vY-Pdu1eQGs",
    "published": "2024-03-01T16:23:05Z",
    "content": "as:Public"
  }
}
bovine
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "as:Public",
  "id": "http://pasture_one_actor/actor/vY-Pdu1eQGs",
  "published": "2024-03-01T16:23:05Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}

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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "Public"
  ],
  "id": "http://pasture_one_actor/actor/fRrU9R7HM4k",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/9ruxjB7HAF8",
    "published": "2024-03-01T16:23:08Z",
    "content": "Public"
  }
}
bovine
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "Public",
  "id": "http://pasture_one_actor/actor/9ruxjB7HAF8",
  "published": "2024-03-01T16:23:08Z",
  "to": [
    "Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}