Skip to content

Language support

The content and contentMap properties are defined in the ActivityStreams Vocabulary.

The support for natural language values is described in ActivityStreams.

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/YjfQJoRU-FA",
  "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/Rv39lJGsxLs",
    "published": "2024-03-01T16:26:40Z",
    "content": "text"
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "id": "http://pasture_one_actor/actor/Rv39lJGsxLs",
  "published": "2024-03-01T16:26:40Z",
  "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/qmE3vDao2cM",
  "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/0LCEL1aLhPs",
    "published": "2024-03-01T16:26:43Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "contentMap": {
    "de": "Deutsch"
  },
  "id": "http://pasture_one_actor/actor/0LCEL1aLhPs",
  "published": "2024-03-01T16:26:43Z",
  "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/YsnoRzejvfs",
  "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/eMqOJGVv_kQ",
    "published": "2024-03-01T16:26:45Z",
    "content": "text",
    "contentMap": {
      "en": "English"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "contentMap": {
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/eMqOJGVv_kQ",
  "published": "2024-03-01T16:26:45Z",
  "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/fAxHEaLFLG4",
  "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/81c3MNT9i8w",
    "published": "2024-03-01T16:26:47Z",
    "content": "text",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "contentMap": {
    "de": "Deutsch",
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/81c3MNT9i8w",
  "published": "2024-03-01T16:26:47Z",
  "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/MtBhgXjZDpg",
  "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/Otx0RbsEAP0",
    "published": "2024-03-01T16:26:50Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "content": "text",
  "contentMap": {
    "de": "Deutsch",
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/Otx0RbsEAP0",
  "published": "2024-03-01T16:26:50Z",
  "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/YRpSIZ1caPw",
  "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/OigkBI5bYpU",
    "published": "2024-03-01T16:26:52Z",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "contentMap": {
    "de": "Deutsch"
  },
  "id": "http://pasture_one_actor/actor/OigkBI5bYpU",
  "published": "2024-03-01T16:26:52Z",
  "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/DHRJWGrTEMQ",
  "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/9YhQUbWLqyI",
    "published": "2024-03-01T16:26:55Z",
    "contentMap": {
      "en": "English"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "contentMap": {
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/9YhQUbWLqyI",
  "published": "2024-03-01T16:26:55Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

Example 8

```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/AUcgyyV64Aw",
  "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/1jNLaFxo3Ak",
    "published": "2024-03-01T16:26:57Z",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "contentMap": {
    "de": "Deutsch",
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/1jNLaFxo3Ak",
  "published": "2024-03-01T16:26:57Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```

Example 9

```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/dD5VP68PNgI",
  "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/s_i6vRjd-xo",
    "published": "2024-03-01T16:27:00Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}
```


```json title="bovine"
{
  "attributedTo": "http://pasture_one_actor/actor",
  "contentMap": {
    "de": "Deutsch",
    "en": "English"
  },
  "id": "http://pasture_one_actor/actor/s_i6vRjd-xo",
  "published": "2024-03-01T16:27:00Z",
  "to": [
    "as:Public",
    "http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
  ],
  "type": "Note"
}
```