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"
}
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/u24lhySCWfs",
"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"
}
],
"attributedTo": "http://actor.example",
"content": "without id",
"id": null,
"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"
}
],
"attributedTo": "http://actor.example",
"content": "without published",
"id": "http://actor.example/UUDWmp7e3tk",
"published": null,
"to": [
"as: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/zraoHKBs9KI",
"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"
}
],
"attributedTo": "http://actor.example",
"content": "without type",
"id": "http://actor.example/DWt58aRYG2o",
"published": "2025-03-07T11:42:22Z",
"to": [
"as: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/AtMAdlO869A",
"object": {
"attributedTo": "http://actor.example",
"content": "All fields",
"id": "http://actor.example/57WxoLgmHRM",
"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/6Ht9sQbNJLU",
"object": {
"attributedTo": "http://actor.example",
"content": "without id",
"id": null,
"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/f1iuc-rpHvg",
"object": {
"attributedTo": "http://actor.example",
"content": "without published",
"id": "http://actor.example/EEjyXvE1rCY",
"published": null,
"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/KWYXpfYIu7M",
"object": {
"attributedTo": null,
"content": "without attributedTo",
"id": "http://actor.example/csdZSjX_s3Y",
"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/MmV9J3GSJ5U",
"object": {
"attributedTo": "http://actor.example",
"content": "without type",
"id": "http://actor.example/d8kvr3tbGsQ",
"published": "2025-03-07T11:42:22Z",
"to": [
"as:Public",
"http://remote.example/"
],
"type": null
},
"published": "2025-03-07T11:42:22Z",
"to": [
"http://remote.example/",
"as:Public"
],
"type": "Create"
}