Skip to content

Content Warnings

Content Warnings are set using sensitive, then summary seems to be used as a spoiler text.

The last three examples are an attempt to add a content warning to an image.

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/zsa0BajF2VA",
  "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/ES3NM8dtAnU",
    "published": "2024-03-01T16:22:46Z",
    "content": "text",
    "sensitive": true
  }
}
```


```json title="bovine"
{
  "as:sensitive": true,
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "id": "http://pasture_one_actor/actor/ES3NM8dtAnU",
  "published": "2024-03-01T16:22:46Z",
  "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/BwAeOdjEcLE",
  "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/u8zmbLvP8f4",
    "published": "2024-03-01T16:22:48Z",
    "content": "text",
    "summary": "summary"
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "id": "http://pasture_one_actor/actor/u8zmbLvP8f4",
  "published": "2024-03-01T16:22:48Z",
  "summary": "summary",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

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/paW0K4eIH1U",
  "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/xwzi4k3PTiA",
    "published": "2024-03-01T16:22:51Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true
  }
}
```


```json title="bovine"
{
  "as:sensitive": true,
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "id": "http://pasture_one_actor/actor/xwzi4k3PTiA",
  "published": "2024-03-01T16:22:51Z",
  "summary": "summary",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

Example 4

```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/9eKndxq-MQg",
  "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/MMYXdz-vAIU",
    "published": "2024-03-01T16:22:53Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="bovine"
{
  "attachment": [
    {
      "as:sensitive": true,
      "type": "Image",
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  ],
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "see image",
  "id": "http://pasture_one_actor/actor/MMYXdz-vAIU",
  "published": "2024-03-01T16:22:53Z",
  "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/XjTbL1xJsW4",
  "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/vDhjGnFBIDk",
    "published": "2024-03-01T16:22:55Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="bovine"
{
  "as:sensitive": true,
  "attachment": [
    {
      "as:sensitive": true,
      "type": "Image",
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  ],
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "see image",
  "id": "http://pasture_one_actor/actor/vDhjGnFBIDk",
  "published": "2024-03-01T16:22:55Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

Example 6

```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/EF0bNIRbFNw",
  "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/mGmSFiBrcqk",
    "published": "2024-03-01T16:22:58Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="bovine"
{
  "attachment": [
    {
      "as:sensitive": true,
      "content": "content",
      "type": "Image",
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  ],
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "see image",
  "id": "http://pasture_one_actor/actor/mGmSFiBrcqk",
  "published": "2024-03-01T16:22:58Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

Example 7

```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/AEoqAdCmlts",
  "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/MJi5_b6Psbw",
    "published": "2024-03-01T16:23:00Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  }
}
```


```json title="bovine"
{
  "attachment": [
    {
      "as:sensitive": true,
      "summary": "summary",
      "type": "Image",
      "url": "http://pasture_one_actor/assets/nlnet.jpg"
    }
  ],
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "see image",
  "id": "http://pasture_one_actor/actor/MJi5_b6Psbw",
  "published": "2024-03-01T16:23:00Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```