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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/xFTUGFbMWro",
  "published": "2024-12-02T19:14:19Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/CLcWexi2piw",
    "published": "2024-12-02T19:14:19Z",
    "content": "text"
  }
}
misskey
{
  "id": "a1az40l4pltg003l",
  "createdAt": "2024-12-02T19:14:19.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/CLcWexi2piw",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/-2y9i_zlhvs",
  "published": "2024-12-02T19:14:20Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/7yOn6eKs7nc",
    "published": "2024-12-02T19:14:20Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}
misskey
{
  "id": "a1az41cwpltg003m",
  "createdAt": "2024-12-02T19:14:20.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/7yOn6eKs7nc",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/iEblLzZHE1w",
  "published": "2024-12-02T19:14:21Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/1080QCkqn7U",
    "published": "2024-12-02T19:14:21Z",
    "content": "text",
    "contentMap": {
      "en": "English"
    }
  }
}
misskey
{
  "id": "a1az424opltg003n",
  "createdAt": "2024-12-02T19:14:21.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/1080QCkqn7U",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/bJ3o6YChogE",
  "published": "2024-12-02T19:14:21Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/MxbKF1VYKTA",
    "published": "2024-12-02T19:14:21Z",
    "content": "text",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}
misskey
{
  "id": "a1az424opltg003o",
  "createdAt": "2024-12-02T19:14:21.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/MxbKF1VYKTA",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/VU32WgSJRIY",
  "published": "2024-12-02T19:14:22Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/y3Tteh68I1o",
    "published": "2024-12-02T19:14:22Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}
misskey
{
  "id": "a1az42wgpltg003p",
  "createdAt": "2024-12-02T19:14:22.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/y3Tteh68I1o",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/TkQKa8tqTXU",
  "published": "2024-12-02T19:14:23Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/HlXGn3-5ep8",
    "published": "2024-12-02T19:14:23Z",
    "contentMap": {
      "de": "Deutsch"
    }
  }
}
misskey
{
  "id": "a1az43o8pltg003q",
  "createdAt": "2024-12-02T19:14:23.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": null,
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/HlXGn3-5ep8",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/uUO-Fti4nXc",
  "published": "2024-12-02T19:14:23Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/OBM3-l_JMRo",
    "published": "2024-12-02T19:14:23Z",
    "contentMap": {
      "en": "English"
    }
  }
}
misskey
{
  "id": "a1az43o8pltg003r",
  "createdAt": "2024-12-02T19:14:23.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": null,
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/OBM3-l_JMRo",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/OX9H6MdOA6Y",
  "published": "2024-12-02T19:14:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/FpEoL6iByds",
    "published": "2024-12-02T19:14:24Z",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    }
  }
}
misskey
{
  "id": "a1az44g0pltg003s",
  "createdAt": "2024-12-02T19:14:24.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": null,
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/FpEoL6iByds",
  "clippedCount": 0
}

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/a1aytkg4okke0001"
  ],
  "id": "http://pasture-one-actor/actor/4Q5DK8PUG0A",
  "published": "2024-12-02T19:14:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a1aytkg4okke0001"
    ],
    "id": "http://pasture-one-actor/actor/26Yu9uXpF_8",
    "published": "2024-12-02T19:14:25Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    }
  }
}
misskey
{
  "id": "a1az457spltg003t",
  "createdAt": "2024-12-02T19:14:25.000Z",
  "userId": "a1ayvetbpltg0002",
  "user": {
    "id": "a1ayvetbpltg0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": null,
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/26Yu9uXpF_8",
  "clippedCount": 0
}