Skip to content

Necessary Properties

With this support table, we want to illustrate, which properties can be removed from an object, and still create an appropriate response. We note that the basic form of an object is

{
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/wFuWTn-8BiE",
    "published": "2023-11-28T11:38:15Z",
    "content": "All fields"
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/9q9s1mag5omu0001"
  ],
  "id": "http://pasture_one_actor/actor/SlpO34EpLpk",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9q9s1mag5omu0001"
    ],
    "id": "http://pasture_one_actor/actor/7Z3F6-sPuDc",
    "published": "2024-02-28T19:56:45Z",
    "content": "All fields"
  }
}
misskey
{
  "id": "9q9s7rrcba8v0036",
  "createdAt": "2024-02-28T19:56:45.000Z",
  "userId": "9q9s36raba8v0002",
  "user": {
    "id": "9q9s36raba8v0002",
    "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": "All fields",
  "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/7Z3F6-sPuDc",
  "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/9q9s1mag5omu0001"
  ],
  "id": "http://pasture_one_actor/actor/85QOofvJqfI",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9q9s1mag5omu0001"
    ],
    "id": null,
    "published": "2024-02-28T19:56:47Z",
    "content": "without id"
  }
}

no result

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/9q9s1mag5omu0001"
  ],
  "id": "http://pasture_one_actor/actor/NCgUunbMj3k",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9q9s1mag5omu0001"
    ],
    "id": "http://pasture_one_actor/actor/1rkQgJ0_1-w",
    "published": null,
    "content": "without published"
  }
}

no result

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": null,
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/9q9s1mag5omu0001"
  ],
  "id": "http://pasture_one_actor/actor/1lDJGmX2PJE",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9q9s1mag5omu0001"
    ],
    "id": "http://pasture_one_actor/actor/gjuHsWqBzQQ",
    "published": "2024-02-28T19:56:51Z",
    "content": "without attributedTo"
  }
}

no result

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture_one_actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/9q9s1mag5omu0001"
  ],
  "id": "http://pasture_one_actor/actor/C8nMxwXwYLs",
  "object": {
    "type": null,
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/9q9s1mag5omu0001"
    ],
    "id": "http://pasture_one_actor/actor/22DsFEJKwNc",
    "published": "2024-02-28T19:56:54Z",
    "content": "without type"
  }
}

no result