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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/B_cowEto2F0",
  "published": "2025-03-07T13:09:50Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/-rz_LZOg0YU",
    "published": "2025-03-07T13:09:50Z",
    "content": "text",
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/TDDIgK-phxU",
  "published": "2025-03-07T13:10:04Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/ylZO1I5GYBE",
    "published": "2025-03-07T13:10:04Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/R6711Fai-w8",
  "published": "2025-03-07T13:10:17Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/7qfQswNTtx8",
    "published": "2025-03-07T13:10:17Z",
    "content": "text",
    "contentMap": {
      "en": "English"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/SieIdvUKkCQ",
  "published": "2025-03-07T13:10:30Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/ES1PfddZdWY",
    "published": "2025-03-07T13:10:30Z",
    "content": "text",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/V7MedgAaVUA",
  "published": "2025-03-07T13:10:43Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/cXY8fkfvAD4",
    "published": "2025-03-07T13:10:43Z",
    "content": "text",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/6kpqNkF5Kqc",
  "published": "2025-03-07T13:10:56Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/8gyLZ2E2K7I",
    "published": "2025-03-07T13:10:56Z",
    "contentMap": {
      "de": "Deutsch"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/WYNylSQQ6e4",
  "published": "2025-03-07T13:11:10Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/ZC1dvcfrT5c",
    "published": "2025-03-07T13:11:10Z",
    "contentMap": {
      "en": "English"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/waQG_FK8Ozs",
  "published": "2025-03-07T13:11:23Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/kiO-NUZSJt4",
    "published": "2025-03-07T13:11:23Z",
    "contentMap": {
      "en": "English",
      "de": "Deutsch"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/8uYUJ4fKmqA",
  "published": "2025-03-07T13:11:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/m_O9uz3fQ_o",
    "published": "2025-03-07T13:11:36Z",
    "contentMap": {
      "de": "Deutsch",
      "en": "English"
    },
    "cc": []
  }
}