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/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/AeUpFg5NJAA",
  "published": "2025-03-12T10:53:09Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/luijy83If3c",
    "published": "2025-03-12T10:53:09Z",
    "content": "All fields"
  }
}

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/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/f8Yacpupib8",
  "published": "2025-03-12T10:53:20Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": null,
    "published": "2025-03-12T10:53:20Z",
    "content": "without id"
  }
}

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/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/2L-fIMlVdaY",
  "published": "2025-03-12T10:53:31Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/mXcBVubnfTE",
    "published": null,
    "content": "without published"
  }
}

Example 4

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/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/5il9v1EfkKE",
  "published": "2025-03-12T10:53:41Z",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/qLOs-ruxkDQ",
    "published": "2025-03-12T10:53:41Z",
    "content": "without attributedTo"
  }
}

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/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/qQo6LDl66eQ",
  "published": "2025-03-12T10:53:52Z",
  "object": {
    "type": null,
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/SsNAZU0RBcc",
    "published": "2025-03-12T10:53:52Z",
    "content": "without type"
  }
}