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

```json title="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/9qgprq5jcxrh0001"
  ],
  "id": "http://pasture_one_actor/actor/R3wXCfA1_k4",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qgprq5jcxrh0001"
    ],
    "id": "http://pasture_one_actor/actor/n33brAk0Bz8",
    "published": "2024-03-04T16:27:35Z",
    "content": "All fields"
  }
}
```


```json title="sharkey"
{
  "id": "9qgpy1g8bg0k0037",
  "uri": "http://pasture_one_actor/actor/n33brAk0Bz8",
  "url": "http://pasture_one_actor/actor/n33brAk0Bz8",
  "account": {
    "id": "9qgpt8hxbg0k0003",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-03-04T16:23:50.853Z",
    "followers_count": 0,
    "following_count": 0,
    "statuses_count": 84,
    "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-03-04T16:27: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
}
```

Example 2

```json title="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/9qgprq5jcxrh0001"
  ],
  "id": "http://pasture_one_actor/actor/Ux9eif-_EiA",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qgprq5jcxrh0001"
    ],
    "id": null,
    "published": "2024-03-04T16:27:37Z",
    "content": "without id"
  }
}
```


no result

Example 3

```json title="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/9qgprq5jcxrh0001"
  ],
  "id": "http://pasture_one_actor/actor/cbfgmXpmjMY",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qgprq5jcxrh0001"
    ],
    "id": "http://pasture_one_actor/actor/IAOSrYzBg-I",
    "published": null,
    "content": "without published"
  }
}
```


no result

Example 4

```json title="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://sharkey/users/9qgprq5jcxrh0001"
  ],
  "id": "http://pasture_one_actor/actor/nWmUgZlDztM",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qgprq5jcxrh0001"
    ],
    "id": "http://pasture_one_actor/actor/q_60j-Dv3Ew",
    "published": "2024-03-04T16:27:42Z",
    "content": "without attributedTo"
  }
}
```


no result

Example 5

```json title="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/9qgprq5jcxrh0001"
  ],
  "id": "http://pasture_one_actor/actor/3HH_BMfe5E4",
  "object": {
    "type": null,
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9qgprq5jcxrh0001"
    ],
    "id": "http://pasture_one_actor/actor/EXA3wsYErfA",
    "published": "2024-03-04T16:27:44Z",
    "content": "without type"
  }
}
```


no result