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://sharkey/users/a0tso0t2npkb0001"
  ],
  "id": "http://pasture-one-actor/actor/MeGHO9bxc7w",
  "published": "2024-11-20T18:47:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/a0tso0t2npkb0001"
    ],
    "id": "http://pasture-one-actor/actor/Gik0yK6iAdw",
    "published": "2024-11-20T18:47:35Z",
    "content": "All fields"
  }
}
sharkey
{
  "id": "a0tsvexk9ndr003w",
  "uri": "http://pasture-one-actor/actor/Gik0yK6iAdw",
  "url": "http://pasture-one-actor/actor/Gik0yK6iAdw",
  "account": {
    "id": "a0tspttm9ndr0002",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-11-20T18:43:14.362Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 107,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p><span>All fields</span></p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "All fields",
  "created_at": "2024-11-20T18:47:35.000Z",
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "reactions": [],
  "emoji_reactions": [],
  "bookmarked": false,
  "quote": null,
  "edited_at": null
}

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://sharkey/users/a0tso0t2npkb0001"
  ],
  "id": "http://pasture-one-actor/actor/1ZSGnOJTcf4",
  "published": "2024-11-20T18:47:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/a0tso0t2npkb0001"
    ],
    "id": null,
    "published": "2024-11-20T18:47:36Z",
    "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://sharkey/users/a0tso0t2npkb0001"
  ],
  "id": "http://pasture-one-actor/actor/k_g2QGoHu_A",
  "published": "2024-11-20T18:47:50Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/a0tso0t2npkb0001"
    ],
    "id": "http://pasture-one-actor/actor/bHiHCm16ShI",
    "published": null,
    "content": "without published"
  }
}
sharkey
{
  "id": "a0tsvqp79ndr003x",
  "uri": "http://pasture-one-actor/actor/bHiHCm16ShI",
  "url": "http://pasture-one-actor/actor/bHiHCm16ShI",
  "account": {
    "id": "a0tspttm9ndr0002",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-11-20T18:43:14.362Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 108,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p><span>without published</span></p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "without published",
  "created_at": "2024-11-20T18:47:50.251Z",
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "reactions": [],
  "emoji_reactions": [],
  "bookmarked": false,
  "quote": null,
  "edited_at": null
}

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://sharkey/users/a0tso0t2npkb0001"
  ],
  "id": "http://pasture-one-actor/actor/qJwvMIhy2wY",
  "published": "2024-11-20T18:47:50Z",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/a0tso0t2npkb0001"
    ],
    "id": "http://pasture-one-actor/actor/uFjg1gWbhEE",
    "published": "2024-11-20T18:47:50Z",
    "content": "without attributedTo"
  }
}
sharkey
{
  "id": "a0tsvqi89ndr003y",
  "uri": "http://pasture-one-actor/actor/uFjg1gWbhEE",
  "url": "http://pasture-one-actor/actor/uFjg1gWbhEE",
  "account": {
    "id": "a0tspttm9ndr0002",
    "username": "actor",
    "acct": "actor@pasture-one-actor",
    "fqn": "actor@pasture-one-actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-11-20T18:43:14.362Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 109,
    "note": "",
    "url": "http://pasture-one-actor/actor",
    "uri": "http://pasture-one-actor/actor",
    "avatar": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "avatar_static": "https://dev.joinsharkey.org/static-assets/avatar.png",
    "header": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "header_static": "https://dev.joinsharkey.org/static-assets/transparent.png",
    "emojis": [],
    "moved": null,
    "fields": [],
    "bot": false,
    "discoverable": true
  },
  "in_reply_to_id": null,
  "in_reply_to_account_id": null,
  "reblog": null,
  "content": "<p><span>without attributedTo</span></p>",
  "content_type": "text/x.misskeymarkdown",
  "text": "without attributedTo",
  "created_at": "2024-11-20T18:47:50.000Z",
  "emojis": [],
  "replies_count": 0,
  "reblogs_count": 0,
  "favourites_count": 0,
  "reblogged": false,
  "favourited": false,
  "muted": false,
  "sensitive": false,
  "spoiler_text": "",
  "visibility": "public",
  "media_attachments": [],
  "mentions": [],
  "tags": [],
  "card": null,
  "poll": null,
  "application": null,
  "language": null,
  "pinned": false,
  "reactions": [],
  "emoji_reactions": [],
  "bookmarked": false,
  "quote": null,
  "edited_at": null
}

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://sharkey/users/a0tso0t2npkb0001"
  ],
  "id": "http://pasture-one-actor/actor/9Auvtr8M5GQ",
  "published": "2024-11-20T18:47:51Z",
  "object": {
    "type": null,
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/a0tso0t2npkb0001"
    ],
    "id": "http://pasture-one-actor/actor/U2l_UPWY3Gw",
    "published": "2024-11-20T18:47:51Z",
    "content": "without type"
  }
}

no result