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://misskey/users/9qjn4jz0rqol0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/VqnUl1tdcoo",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9qjn4jz0rqol0001"
    ],
    "id": "http://pasture_one_actor/actor/rLNhwcScd2A",
    "published": "2024-03-06T17:33:53Z",
    "content": "https://www.w3.org/ns/activitystreams#Public"
  }
}
misskey
{
  "id": "9qjn70883ffu000l",
  "createdAt": "2024-03-06T17:33:53.000Z",
  "userId": "9qjn65mj3ffu0004",
  "user": {
    "id": "9qjn65mj3ffu0004",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture_one_actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture_one_actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "https://www.w3.org/ns/activitystreams#Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture_one_actor/actor/rLNhwcScd2A",
  "clippedCount": 0
}

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://misskey/users/9qjn4jz0rqol0001",
    "as:Public"
  ],
  "id": "http://pasture_one_actor/actor/IZihP-zticQ",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "as:Public",
      "http://misskey/users/9qjn4jz0rqol0001"
    ],
    "id": "http://pasture_one_actor/actor/oVFQQ-QfKHk",
    "published": "2024-03-06T17:33:55Z",
    "content": "as:Public"
  }
}
misskey
{
  "id": "9qjn71rs3ffu000m",
  "createdAt": "2024-03-06T17:33:55.000Z",
  "userId": "9qjn65mj3ffu0004",
  "user": {
    "id": "9qjn65mj3ffu0004",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture_one_actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture_one_actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "as:Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture_one_actor/actor/oVFQQ-QfKHk",
  "clippedCount": 0
}

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://misskey/users/9qjn4jz0rqol0001",
    "Public"
  ],
  "id": "http://pasture_one_actor/actor/P1tEVHISWGc",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "Public",
      "http://misskey/users/9qjn4jz0rqol0001"
    ],
    "id": "http://pasture_one_actor/actor/B-u8veXzI3o",
    "published": "2024-03-06T17:33:57Z",
    "content": "Public"
  }
}
misskey
{
  "id": "9qjn73bc3ffu000n",
  "createdAt": "2024-03-06T17:33:57.000Z",
  "userId": "9qjn65mj3ffu0004",
  "user": {
    "id": "9qjn65mj3ffu0004",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture_one_actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture_one_actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "Public",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture_one_actor/actor/B-u8veXzI3o",
  "clippedCount": 0
}