Skip to content

Attachments

In the support table:

  • “✅” means at least one attachment,
  • ”-” means parsed
  • “❌” means failed to parse

For more on image attachments see Image Description and Image Attachments.

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": [
    {
      "mediaType": "image/jpeg",
      "name": "a cow",
      "type": "Image",
      "url": "http://pasture-one-actor/assets/cow.jpg"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Image",
  "id": "http://actor.example/IC5Y5TFlEU8",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": [
    {
      "mediaType": "video/mp4",
      "name": "a cow eating grass",
      "type": "Video",
      "url": "http://pasture-one-actor/assets/cow_eating.mp4"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Video",
  "id": "http://actor.example/OPpdspbTbs4",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": [
    {
      "mediaType": "audio/mpeg",
      "name": "the moo sound of a cow",
      "type": "Audio",
      "url": "http://pasture-one-actor/assets/cow_moo.mp3"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Audio",
  "id": "http://actor.example/5W7RZgy8FOg",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": [
    {
      "mediaType": "audio/mpeg",
      "name": "the moo sound of a cow",
      "type": "Document",
      "url": "http://pasture-one-actor/assets/cow_moo.mp3"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "Audio as Document",
  "id": "http://actor.example/lX-u6RoJpEQ",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "https://funfedi.dev",
    "type": "Link"
  },
  "attributedTo": "http://actor.example",
  "content": "Link",
  "id": "http://actor.example/Rj9gAPBbCSQ",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "payto://iban/DE75512108001245126199",
    "name": "Donate",
    "rel": "payment",
    "type": "Link"
  },
  "attributedTo": "http://actor.example",
  "content": "Payment Link, see FEP-0ea0",
  "id": "http://actor.example/WSVItR89S0I",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "name": "text document",
    "type": "Document",
    "url": "http://pasture-one-actor/assets/sample.txt"
  },
  "attributedTo": "http://actor.example",
  "content": "Text document",
  "id": "http://actor.example/dgye9eIc8rs",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "href": "http://pasture-one-actor/assets/sample.txt",
    "name": "text document",
    "type": "Document"
  },
  "attributedTo": "http://actor.example",
  "content": "Text document, href instead of url",
  "id": "http://actor.example/GJ6viUQaJd4",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "attributedTo": "http://pasture-one-actor/actor",
    "content": "This is just a note",
    "name": "attached note",
    "published": "2024-03-06T07:23:56Z",
    "type": "Note"
  },
  "attributedTo": "http://actor.example",
  "content": "attached note",
  "id": "http://actor.example/OVLnmEGSXqE",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": {
    "@context": "https://schema.org/docs/jsonldcontext.jsonld",
    "@type": "Recipe",
    "name": "Peanut Butter and Jelly Sandwich",
    "recipeCategory": "Breakfast",
    "recipeIngredient": [
      "Bread",
      "Peanut Butter",
      "Raspberry Jam",
      "Coffee (optional)"
    ],
    "recipeInstructions": [
      {
        "@type": "HowToStep",
        "text": "Take a slice of bread and put it on a plate"
      },
      {
        "@type": "HowToStep",
        "text": "Spread peanut butter on the bread"
      },
      {
        "@type": "HowToStep",
        "text": "Spread raspberry jam on top of the peanut butter"
      },
      {
        "@type": "HowToStep",
        "text": "Eat your PB&J Sandwich and drink your coffee if you have it"
      },
      {
        "@type": "HowToStep",
        "text": "Check if you are still hungry, if yes a repeat step 1"
      }
    ]
  },
  "attributedTo": "http://actor.example",
  "content": "Recipe",
  "id": "http://actor.example/6Qr_Y9nGsCI",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Object 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attachment": [
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/101.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/102.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/103.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/104.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/105.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/106.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/107.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/108.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/109.png"
    },
    {
      "type": "Document",
      "url": "http://pasture-one-actor/images/1010.png"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "10 images",
  "id": "http://actor.example/icYIw_OFE0g",
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public"
  ],
  "type": "Note"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/WRSkDKryPFA",
  "object": {
    "attachment": [
      {
        "mediaType": "image/jpeg",
        "name": "a cow",
        "type": "Image",
        "url": "http://pasture-one-actor/assets/cow.jpg"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "Image",
    "id": "http://actor.example/Hm_Gj2sXd0o",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/HdmXQpeyG94",
  "object": {
    "attachment": [
      {
        "mediaType": "video/mp4",
        "name": "a cow eating grass",
        "type": "Video",
        "url": "http://pasture-one-actor/assets/cow_eating.mp4"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "Video",
    "id": "http://actor.example/mx3wJiZlD4U",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/o7I6ga4HplA",
  "object": {
    "attachment": [
      {
        "mediaType": "audio/mpeg",
        "name": "the moo sound of a cow",
        "type": "Audio",
        "url": "http://pasture-one-actor/assets/cow_moo.mp3"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "Audio",
    "id": "http://actor.example/TplherUTr_U",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/mjA0Hg-Patw",
  "object": {
    "attachment": [
      {
        "mediaType": "audio/mpeg",
        "name": "the moo sound of a cow",
        "type": "Document",
        "url": "http://pasture-one-actor/assets/cow_moo.mp3"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "Audio as Document",
    "id": "http://actor.example/ZoVQpel6Kaw",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/yq--syCZarY",
  "object": {
    "attachment": {
      "href": "https://funfedi.dev",
      "type": "Link"
    },
    "attributedTo": "http://actor.example",
    "content": "Link",
    "id": "http://actor.example/SxRpOGF4mUs",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/CYKI8BWExTM",
  "object": {
    "attachment": {
      "href": "payto://iban/DE75512108001245126199",
      "name": "Donate",
      "rel": "payment",
      "type": "Link"
    },
    "attributedTo": "http://actor.example",
    "content": "Payment Link, see FEP-0ea0",
    "id": "http://actor.example/pdqxC8M0WnU",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/ZDwKfZ9tR8o",
  "object": {
    "attachment": {
      "name": "text document",
      "type": "Document",
      "url": "http://pasture-one-actor/assets/sample.txt"
    },
    "attributedTo": "http://actor.example",
    "content": "Text document",
    "id": "http://actor.example/X-_OX_xN_dw",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/vSHkA7CkfyY",
  "object": {
    "attachment": {
      "href": "http://pasture-one-actor/assets/sample.txt",
      "name": "text document",
      "type": "Document"
    },
    "attributedTo": "http://actor.example",
    "content": "Text document, href instead of url",
    "id": "http://actor.example/5D262XGEln0",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/JSRuHssjJQg",
  "object": {
    "attachment": {
      "attributedTo": "http://pasture-one-actor/actor",
      "content": "This is just a note",
      "name": "attached note",
      "published": "2024-03-06T07:23:56Z",
      "type": "Note"
    },
    "attributedTo": "http://actor.example",
    "content": "attached note",
    "id": "http://actor.example/9WcXrNXnY0E",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/oc6ZwKMS6FA",
  "object": {
    "attachment": {
      "@context": "https://schema.org/docs/jsonldcontext.jsonld",
      "@type": "Recipe",
      "name": "Peanut Butter and Jelly Sandwich",
      "recipeCategory": "Breakfast",
      "recipeIngredient": [
        "Bread",
        "Peanut Butter",
        "Raspberry Jam",
        "Coffee (optional)"
      ],
      "recipeInstructions": [
        {
          "@type": "HowToStep",
          "text": "Take a slice of bread and put it on a plate"
        },
        {
          "@type": "HowToStep",
          "text": "Spread peanut butter on the bread"
        },
        {
          "@type": "HowToStep",
          "text": "Spread raspberry jam on top of the peanut butter"
        },
        {
          "@type": "HowToStep",
          "text": "Eat your PB&J Sandwich and drink your coffee if you have it"
        },
        {
          "@type": "HowToStep",
          "text": "Check if you are still hungry, if yes a repeat step 1"
        }
      ]
    },
    "attributedTo": "http://actor.example",
    "content": "Recipe",
    "id": "http://actor.example/xzF9-7oiY8c",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/aFQGMLu9Poc",
  "object": {
    "attachment": [
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/101.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/102.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/103.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/104.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/105.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/106.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/107.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/108.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/109.png"
      },
      {
        "type": "Document",
        "url": "http://pasture-one-actor/images/1010.png"
      }
    ],
    "attributedTo": "http://actor.example",
    "content": "10 images",
    "id": "http://actor.example/k-ldGH8ukZo",
    "published": "2025-01-13T19:51:01Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-01-13T19:51:01Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}