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.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "https://www.w3.org/ns/activitystreams#Public",
  "id": "http://actor.example/_GTMIHxDYbQ",
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "as:Public",
  "id": "http://actor.example/G2_kn9driLM",
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Public",
  "id": "http://actor.example/fyOKCozZdw0",
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "Public"
  ],
  "type": "Note"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/la9eRtI-Fh0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "https://www.w3.org/ns/activitystreams#Public",
    "id": "http://actor.example/oDLcPN_wGxY",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/vs7Jw6kVDSA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "as:Public",
    "id": "http://actor.example/bNhzhG1ggo4",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/azJVGG-GQOk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "Public",
    "id": "http://actor.example/AJC9AXQ5vKc",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "Public",
    "http://remote.example/"
  ],
  "type": "Create"
}