Skip to content

Necessary Properties

With this support table, we want to illustrate, which properties can be removed from an object, and still create an appropriate response. We note that the basic form of an object is

{
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "as:Public",
      "http://mitra/users/admin"
    ],
    "id": "http://pasture-one-actor/actor/wFuWTn-8BiE",
    "published": "2023-11-28T11:38:15Z",
    "content": "All fields"
}

Support Table Preview

content Object Activity
All fields Object Activity
without id Object Activity
without published Object Activity
without attributedTo Object Activity
without type Object Activity

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "All fields",
  "id": "http://actor.example/object/78mcUlA2ol0",
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "without id",
  "id": null,
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "without published",
  "id": "http://actor.example/object/17bxt1SU7zw",
  "published": null,
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": null,
  "content": "without attributedTo",
  "id": "http://actor.example/object/Kezi_5gAIzI",
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "without type",
  "id": "http://actor.example/object/TGI_xacP4e0",
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": null
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/mCmk2Q5DSkI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "All fields",
    "id": "http://actor.example/object/rKgKZuvkjxM",
    "published": "2025-09-09T09:32:38Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/activity/d9oOJKx-1iI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "without id",
    "id": null,
    "published": "2025-09-09T09:32:38Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/activity/bMzlOyLdWhw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "without published",
    "id": "http://actor.example/object/-BAgmljkZtc",
    "published": null,
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/activity/4tlZDSSFbBw",
  "object": {
    "attributedTo": null,
    "content": "without attributedTo",
    "id": "http://actor.example/object/pbckHd7MqcI",
    "published": "2025-09-09T09:32:38Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/activity/e3HW8PvgHHE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "without type",
    "id": "http://actor.example/object/aQOlukk5-o4",
    "published": "2025-09-09T09:32:38Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": null
  },
  "published": "2025-09-09T09:32:38Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://remote.example/"
  ],
  "type": "Create"
}