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": [
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/-tu6_oLLotk",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/ID0JT9mkDAU",
    "published": "2024-03-01T16:26:28Z",
    "content": "All fields"
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "All fields",
  "id": "http://pasture_one_actor/actor/ID0JT9mkDAU",
  "published": "2024-03-01T16:26:28Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

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": [
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/C4HxClIkilQ",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": null,
    "published": "2024-03-01T16:26:30Z",
    "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": [
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/F8LbtJzSsfw",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/4-9SpYk1hEg",
    "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": [
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/eTayUkiCTBc",
  "object": {
    "type": "Note",
    "attributedTo": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/P8KQy_SXX8M",
    "published": "2024-03-01T16:26:35Z",
    "content": "without attributedTo"
  }
}
```


```json title="bovine"
{
  "content": "without attributedTo",
  "id": "http://pasture_one_actor/actor/P8KQy_SXX8M",
  "published": "2024-03-01T16:26:35Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

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": [
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture_one_actor/actor/Nme8bpSV0KA",
  "object": {
    "type": null,
    "attributedTo": "http://pasture_one_actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
    ],
    "id": "http://pasture_one_actor/actor/BglTccLBiOo",
    "published": "2024-03-01T16:26:37Z",
    "content": "without type"
  }
}
```


no result