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/9q9tmc4u9pr10001"
  ],
  "id": "http://pasture_one_actor/actor/Fx7RIh2tvsg",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9q9tmc4u9pr10001"
    ],
    "id": "http://pasture_one_actor/actor/6regYht36qM",
    "published": "2024-02-28T21:12:18Z",
    "content": "All fields"
  }
}
```


```json title="sharkey"
{
  "id": "9q9uwxg0lblu0036",
  "uri": "http://pasture_one_actor/actor/6regYht36qM",
  "url": "http://pasture_one_actor/actor/6regYht36qM",
  "account": {
    "id": "9q9to0wnlblu0002",
    "username": "actor",
    "acct": "actor@pasture_one_actor",
    "fqn": "actor@pasture_one_actor",
    "display_name": "Test Actor",
    "locked": false,
    "created_at": "2024-02-28T20:37:22.967Z",
    "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-02-28T21:12:18.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/9q9tmc4u9pr10001"
  ],
  "id": "http://pasture_one_actor/actor/vUZPw1XuAjI",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9q9tmc4u9pr10001"
    ],
    "id": null,
    "published": "2024-02-28T21:12:38Z",
    "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/9q9tmc4u9pr10001"
  ],
  "id": "http://pasture_one_actor/actor/tIDf8BD_m5w",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9q9tmc4u9pr10001"
    ],
    "id": "http://pasture_one_actor/actor/JDOX2LZz7Kk",
    "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/9q9tmc4u9pr10001"
  ],
  "id": "http://pasture_one_actor/actor/ICDq6cu0xXM",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9q9tmc4u9pr10001"
    ],
    "id": "http://pasture_one_actor/actor/DOYkiiF_Ibo",
    "published": "2024-02-28T21:13:19Z",
    "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/9q9tmc4u9pr10001"
  ],
  "id": "http://pasture_one_actor/actor/lJWs8k2A9fo",
  "object": {
    "type": null,
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://sharkey/users/9q9tmc4u9pr10001"
    ],
    "id": "http://pasture_one_actor/actor/yGbykkEOYAI",
    "published": "2024-02-28T21:13:39Z",
    "content": "without type"
  }
}
```


no result