Content Warnings¶
Content Warnings are set using sensitive, then summary seems to be used as a spoiler text.
The last three examples are an attempt to add a content warning to an image.
Objects¶
Object 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/kQB1_NAcNCE",
"published": "2025-11-21T12:05:03Z",
"sensitive": true,
"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": "text",
"id": "http://actor.example/object/TUHx1LxVJos",
"published": "2025-11-21T12:05:03Z",
"summary": "summary",
"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": "text",
"id": "http://actor.example/object/hhCM79zNsnM",
"published": "2025-11-21T12:05:03Z",
"sensitive": true,
"summary": "summary",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 4¶
❌❌❌ does not obey schema ❌❌❌
{'type': 'Image', 'sensitive': True, 'url': 'http://pasture-one-actor/images/w001.png'} is not of type 'array'
Failed validating 'type' in schema['properties']['attachment']:
{'description': 'A list of objects that are attached to the original '
'object',
'items': {'additionalProperties': True, 'type': 'object'},
'type': 'array'}
On instance['attachment']:
{'type': 'Image',
'sensitive': True,
'url': 'http://pasture-one-actor/images/w001.png'}
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attachment": {
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w001.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/cIhu5HeUjnw",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 5¶
❌❌❌ does not obey schema ❌❌❌
{'type': 'Image', 'sensitive': True, 'url': 'http://pasture-one-actor/images/w002.png'} is not of type 'array'
Failed validating 'type' in schema['properties']['attachment']:
{'description': 'A list of objects that are attached to the original '
'object',
'items': {'additionalProperties': True, 'type': 'object'},
'type': 'array'}
On instance['attachment']:
{'type': 'Image',
'sensitive': True,
'url': 'http://pasture-one-actor/images/w002.png'}
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attachment": {
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w002.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/juB07ceC6K8",
"published": "2025-11-21T12:05:04Z",
"sensitive": true,
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 6¶
❌❌❌ does not obey schema ❌❌❌
{'content': 'content', 'type': 'Image', 'sensitive': True, 'url': 'http://pasture-one-actor/images/w003.png'} is not of type 'array'
Failed validating 'type' in schema['properties']['attachment']:
{'description': 'A list of objects that are attached to the original '
'object',
'items': {'additionalProperties': True, 'type': 'object'},
'type': 'array'}
On instance['attachment']:
{'content': 'content',
'type': 'Image',
'sensitive': True,
'url': 'http://pasture-one-actor/images/w003.png'}
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attachment": {
"content": "content",
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w003.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/cgHlhg96lzU",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 7¶
❌❌❌ does not obey schema ❌❌❌
{'type': 'Image', 'summary': 'summary', 'sensitive': True, 'url': 'http://pasture-one-actor/images/w004.png'} is not of type 'array'
Failed validating 'type' in schema['properties']['attachment']:
{'description': 'A list of objects that are attached to the original '
'object',
'items': {'additionalProperties': True, 'type': 'object'},
'type': 'array'}
On instance['attachment']:
{'type': 'Image',
'summary': 'summary',
'sensitive': True,
'url': 'http://pasture-one-actor/images/w004.png'}
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attachment": {
"sensitive": true,
"summary": "summary",
"type": "Image",
"url": "http://pasture-one-actor/images/w004.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/mc8mO8UVV5E",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/h0KH93rJx6s",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/p5Kl-eGkPJU",
"published": "2025-11-21T12:05:04Z",
"sensitive": true,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/6QTnW2yp5yk",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/w8p5qvvaKB8",
"published": "2025-11-21T12:05:04Z",
"summary": "summary",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/QH1nmst2Z_w",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/E6rMdeBLpqQ",
"published": "2025-11-21T12:05:04Z",
"sensitive": true,
"summary": "summary",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/2AhmD0VTicU",
"object": {
"attachment": {
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w001.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/YLkM8T-0V9A",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/W5D5iIimLh0",
"object": {
"attachment": {
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w002.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/guOCzvheRXY",
"published": "2025-11-21T12:05:04Z",
"sensitive": true,
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/r6O10yCTX6A",
"object": {
"attachment": {
"content": "content",
"sensitive": true,
"type": "Image",
"url": "http://pasture-one-actor/images/w003.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/mMJFtz-1KNk",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#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/activity/pnNxFOkOctw",
"object": {
"attachment": {
"sensitive": true,
"summary": "summary",
"type": "Image",
"url": "http://pasture-one-actor/images/w004.png"
},
"attributedTo": "http://actor.example",
"content": "see image",
"id": "http://actor.example/object/3CBfhdXZQ6o",
"published": "2025-11-21T12:05:04Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:04Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}