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

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/V02HEu70nH4",
  "published": "2025-04-11T08:54:58Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/95kLRfiofJ4",
    "published": "2025-04-11T08:54:58Z",
    "content": "text"
  }
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/i6v2Bo5z4eg",
  "published": "2025-04-11T08:55:08Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/zu5L41jn4Vc",
    "published": "2025-04-11T08:55:08Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/W2fJOxbea3U",
  "published": "2025-04-11T08:55:19Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/DM2D2N5quJg",
    "published": "2025-04-11T08:55:19Z",
    "content": "text",
    "contentMap": {
      "en": "English"
    }
  }
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/VHTfDbsB2CQ",
  "published": "2025-04-11T08:55:30Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/Ih4MvJiMC8k",
    "published": "2025-04-11T08:55:30Z",
    "content": "text",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/un_pYNgoaLw",
  "published": "2025-04-11T08:55:41Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/F-swQN1sZZ0",
    "published": "2025-04-11T08:55:41Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/2XihEl9cIzg",
  "published": "2025-04-11T08:55:51Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/YlyiYh-BjHE",
    "published": "2025-04-11T08:55:51Z",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/VmmcqNCxvOo",
  "published": "2025-04-11T08:56:02Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/WbHN8FUUOyY",
    "published": "2025-04-11T08:56:02Z",
    "contentMap": {
      "en": "English"
    }
  }
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/PKeQvbWEGhg",
  "published": "2025-04-11T08:56:13Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/LrpdYqDfPgk",
    "published": "2025-04-11T08:56:13Z",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/XIsEKJWgB90",
  "published": "2025-04-11T08:56:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/neYqvsZ1Lmw",
    "published": "2025-04-11T08:56:24Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}