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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/xsqOMY8_voM",
  "published": "2025-03-12T10:54:03Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/YW64oH5eyE8",
    "published": "2025-03-12T10:54:03Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/3S6359raWGU",
  "published": "2025-03-12T10:54:14Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/bEZ9Tz1Ohgk",
    "published": "2025-03-12T10:54:14Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/JL3qgoM_Goo",
  "published": "2025-03-12T10:54:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/irGKMqTXqFg",
    "published": "2025-03-12T10:54:24Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/vM9jcTpwW9g",
  "published": "2025-03-12T10:54:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/RFSejgTEOSM",
    "published": "2025-03-12T10:54:35Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/YY98az_Yxt8",
  "published": "2025-03-12T10:54:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/ucwg2-wPcOg",
    "published": "2025-03-12T10:54:46Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/xyKu4Qd4hoM",
  "published": "2025-03-12T10:54:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/GjvKWZv7wCY",
    "published": "2025-03-12T10:54:57Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/9aiYd3EUqnw",
  "published": "2025-03-12T10:55:07Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/LeXGiJtoNiM",
    "published": "2025-03-12T10:55:07Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/jJ3vAzHo1dE",
  "published": "2025-03-12T10:55:18Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/ss-B8YXkBE8",
    "published": "2025-03-12T10:55:18Z",
    "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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/7mChBG8GEHU",
  "published": "2025-03-12T10:55:29Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/gUuJ2-MD0ko",
    "published": "2025-03-12T10:55:29Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}