This is one of many protocol behaviors described in ActivityPub.

Identifier

urn:uuid:104e2cde-f072-43af-badd-bf9bd4129151

Content

For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.

Origin

prefix The server then MUST attach this object as the object of a Create Activity.

For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.
 
suffix Note

https://www.w3.org/TR/activitypub/

JSON

{
  "id": "urn:uuid:104e2cde-f072-43af-badd-bf9bd4129151",
  "uuid": "104e2cde-f072-43af-badd-bf9bd4129151",
  "type": "Behavior",
  "content": "For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.\n",
  "context": [
    "https://www.w3.org/TR/activitypub/",
    {
      "name": "6.2 Create Activity",
      "id": "https://www.w3.org/TR/activitypub/#create-activity-outbox"
    },
    {
      "name": "6.2.1 Object creation without a Create Activity",
      "id": "https://www.w3.org/TR/activitypub/#object-without-create"
    }
  ],
  "origin": {
    "source": "https://www.w3.org/TR/activitypub/",
    "section": {
      "id": "https://www.w3.org/TR/activitypub/#object-without-create",
      "name": "Object creation without a Create Activity",
      "branch": [
        6,
        2,
        1
      ]
    },
    "selector": {
      "type": "TextQuoteSelector",
      "prefix": "The server then MUST attach this object as the object of a Create Activity.\n",
      "exact": "For non-transient objects, the server MUST attach an id to both the wrapping Create and its wrapped Object.\n",
      "suffix": "Note\n"
    }
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://socialweb.coop/ns/testing/context.json"
  ]
}