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/30BB1FC_vKQ",
  "published": "2025-03-07T11:42:22Z",
  "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/emmNqoXiKio",
  "published": "2025-03-07T11:42:22Z",
  "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/8DQBcjU-CtQ",
  "published": "2025-03-07T11:42:22Z",
  "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/QQYNl8CBpbw",
  "published": "2025-03-07T11:42:22Z",
  "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/9VZKp48YM8I",
  "published": "2025-03-07T11:42:22Z",
  "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/tfNqRad483U",
  "published": "2025-03-07T11:42:22Z",
  "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/uvTvQ-p7HhE",
  "published": "2025-03-07T11:42:22Z",
  "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/98fQYJTuxnw",
  "published": "2025-03-07T11:42:22Z",
  "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/YfiKa2b2x8U",
  "published": "2025-03-07T11:42:22Z",
  "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/RSyciPzMhuc",
  "published": "2025-03-07T11:42:22Z",
  "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/DSmx5ao1clk",
  "published": "2025-03-07T11:42:22Z",
  "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/Hvo3iWImlhs",
  "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/UuGWW-eUO9o",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/ithpeXBpxv0",
  "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/2LRiMGXUEBE",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/tTrYjesLCTQ",
  "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/a75d2ay8pDU",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/Om9Da-13D7k",
  "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/JhXhMvgZ8II",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/CfCP_snsY-U",
  "object": {
    "attachment": {
      "href": "https://funfedi.dev",
      "type": "Link"
    },
    "attributedTo": "http://actor.example",
    "content": "Link",
    "id": "http://actor.example/qdpYT0Q5lZw",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/MT9gKA7pV1A",
  "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/mSEdeR6gMl4",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/9Dga1IlvqnQ",
  "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/heywW1AR3CI",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/ulVttAZVrvU",
  "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/7t84j9aOnBY",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/69yggPiTXiM",
  "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/j4SMIX0hYgQ",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/XS9_MwiOmV8",
  "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/wNQryCqYHAQ",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "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/UoDVo045MFI",
  "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/0qg2Avy5uvw",
    "published": "2025-03-07T11:42:22Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-03-07T11:42:22Z",
  "to": [
    "http://remote.example/",
    "as:Public"
  ],
  "type": "Create"
}