Variations of to and cc¶
Example 1: Varying addressing 0¶
Comments
'cc' is a required property
Failed validating 'required' in schema:
{'additionalProperties': True,
'description': 'Draft of a schema for ActivityPub activities',
'properties': {'@context': {'anyOf': [{'type': 'string'},
{'items': {}, 'type': 'array'}],
'examples': ['https://www.w3.org/ns/activitystreams',
['https://www.w3.org/ns/activitystreams',
{'Hashtag': 'as:Hashtag'}]]},
'id': {'description': 'id of the activity or object',
'examples': ['https://actor.example/some_id'],
'type': 'string'},
'to': {'description': 'Array of actors this activity '
'or object is addressed to',
'examples': [['https://bob.example'],
['https://alice.example',
'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'},
'cc': {'default': [],
'description': 'Array of actors this activity '
'or object is carbon copied to.',
'examples': [['https://bob.example'],
['https://alice.example',
'https://bob.example']],
'items': {'type': 'string'},
'type': 'array'},
'published': {'description': 'Moment of this activity '
'or object being '
'published',
'format': 'date-time',
'type': 'string'},
'type': {'description': 'Type of the activity or '
'activity',
'examples': ['Follow',
'Accept',
'Create',
'Undo',
'Like',
'Note'],
'type': 'string'},
'actor': {'description': 'id of the actor performing '
'this activity',
'examples': ['https://actor.example/'],
'type': 'string'},
'object': {'anyOf': [{'type': 'string'},
{'type': 'object'}]},
'target': {'anyOf': [{'type': 'string'},
{'additionalProperties': True,
'type': 'object'}],
'description': 'The target, e.g. for an Add '
'activity',
'examples': ['https://other.example/target_id',
{'content': 'meow',
'type': 'Note'}]},
'content': {'description': 'The content used for '
'example to represent the '
'Emote for a like',
'examples': ['🐮', '❤️'],
'type': 'string'}},
'required': ['@context', 'id', 'to', 'type', 'actor', 'cc'],
'title': 'Activity',
'type': 'object'}
On instance:
{'to': ['http://other.test/some/actor',
'https://www.w3.org/ns/activitystreams#Public'],
'@context': ['https://www.w3.org/ns/activitystreams'],
'actor': 'http://host.test/some/actor',
'id': 'http://host.test/activities/0P8ZwAN5cULfZ8VL',
'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
'id': 'http://host.test/objects/AxEs7KPoplKt0RzE',
'type': 'Note',
'attributedTo': 'http://host.test/some/actor',
'to': ['https://www.w3.org/ns/activitystreams#Public',
'http://other.test/some/actor'],
'cc': [],
'published': '2026-04-08T07:53:32Z',
'content': 'text',
'tag': [{'type': 'Mention',
'href': 'http://other.test/some/actor'}]},
'published': '2026-04-08T07:53:32Z',
'type': 'Create'}
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"id": "http://host.test/activities/AQVx8UQBKO-zbeZQ",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Wo2UxUncoDbkNdPF",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Wo2UxUncoDbkNdPF",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 2: Varying addressing 1¶
Comments
None is not of type 'array'
Failed validating 'type' in schema['properties']['cc']:
{'default': [],
'description': 'Array of actors this activity or object is carbon '
'copied to.',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'type': 'array'}
On instance['cc']:
None
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": null,
"id": "http://host.test/activities/gUScVt11NJrRRvVt",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/CO2u6Hi5hq0uyeqN",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/CO2u6Hi5hq0uyeqN",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 3: Varying addressing 2¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [],
"id": "http://host.test/activities/DR9xPUPZUdx2H6E1",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/p_YOZ5SLkRK8pq9Z",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/p_YOZ5SLkRK8pq9Z",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 4: Varying addressing 3¶
Comments
'http://other.test/some/actor' is not of type 'array'
Failed validating 'type' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
'http://other.test/some/actor'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": "https://www.w3.org/ns/activitystreams#Public",
"id": "http://host.test/activities/g6fFGibDyBonMrUS",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/04wDiBhSQlN00rjv",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": "http://other.test/some/actor",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/04wDiBhSQlN00rjv",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 5: Varying addressing 4¶
Comments
'http://other.test/some/actor' is not of type 'array'
Failed validating 'type' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
'http://other.test/some/actor'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://host.test/activities/pIwkvD9MmavmaCvt",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/PQblfhxpNzVZNFHJ",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": "http://other.test/some/actor",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/PQblfhxpNzVZNFHJ",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 6: Varying addressing 5¶
Comments
'https://www.w3.org/ns/activitystreams#Public' is not of type 'array'
Failed validating 'type' in schema['properties']['cc']:
{'default': [],
'description': 'Array of actors this activity or object is carbon '
'copied to.',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'type': 'array'}
On instance['cc']:
'https://www.w3.org/ns/activitystreams#Public'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": "https://www.w3.org/ns/activitystreams#Public",
"id": "http://host.test/activities/1tK58fN6PE5kcGif",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Vm-0Q4n7NSQU-qlc",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Vm-0Q4n7NSQU-qlc",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 7: Varying addressing 6¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://host.test/activities/sTE8dbnxmZVTvAjt",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/lIME7OZ40A7IHB0y",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"http://other.test/some/actor"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/lIME7OZ40A7IHB0y",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 8: Varying addressing 7¶
Comments
'to' is a required property
Failed validating 'required' in schema:
{'additionalProperties': True,
'description': 'Draft of a schema for ActivityPub activities',
'properties': {'@context': {'anyOf': [{'type': 'string'},
{'items': {}, 'type': 'array'}],
'examples': ['https://www.w3.org/ns/activitystreams',
['https://www.w3.org/ns/activitystreams',
{'Hashtag': 'as:Hashtag'}]]},
'id': {'description': 'id of the activity or object',
'examples': ['https://actor.example/some_id'],
'type': 'string'},
'to': {'description': 'Array of actors this activity '
'or object is addressed to',
'examples': [['https://bob.example'],
['https://alice.example',
'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'},
'cc': {'default': [],
'description': 'Array of actors this activity '
'or object is carbon copied to.',
'examples': [['https://bob.example'],
['https://alice.example',
'https://bob.example']],
'items': {'type': 'string'},
'type': 'array'},
'published': {'description': 'Moment of this activity '
'or object being '
'published',
'format': 'date-time',
'type': 'string'},
'type': {'description': 'Type of the activity or '
'activity',
'examples': ['Follow',
'Accept',
'Create',
'Undo',
'Like',
'Note'],
'type': 'string'},
'actor': {'description': 'id of the actor performing '
'this activity',
'examples': ['https://actor.example/'],
'type': 'string'},
'object': {'anyOf': [{'type': 'string'},
{'type': 'object'}]},
'target': {'anyOf': [{'type': 'string'},
{'additionalProperties': True,
'type': 'object'}],
'description': 'The target, e.g. for an Add '
'activity',
'examples': ['https://other.example/target_id',
{'content': 'meow',
'type': 'Note'}]},
'content': {'description': 'The content used for '
'example to represent the '
'Emote for a like',
'examples': ['🐮', '❤️'],
'type': 'string'}},
'required': ['@context', 'id', 'to', 'type', 'actor', 'cc'],
'title': 'Activity',
'type': 'object'}
On instance:
{'cc': ['http://other.test/some/actor',
'https://www.w3.org/ns/activitystreams#Public'],
'@context': ['https://www.w3.org/ns/activitystreams'],
'actor': 'http://host.test/some/actor',
'id': 'http://host.test/activities/Q-EtQhYlHxlW_77E',
'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
'id': 'http://host.test/objects/r36L_aiA4xe99VRS',
'type': 'Note',
'attributedTo': 'http://host.test/some/actor',
'to': ['https://www.w3.org/ns/activitystreams#Public',
'http://other.test/some/actor'],
'cc': [],
'published': '2026-04-08T07:53:32Z',
'content': 'text',
'tag': [{'type': 'Mention',
'href': 'http://other.test/some/actor'}]},
'published': '2026-04-08T07:53:32Z',
'type': 'Create'}
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://host.test/activities/txBwanrt2vO5a331",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/_5QmfGkGDuVghu9a",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/_5QmfGkGDuVghu9a",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 9: Varying addressing 8¶
Comments
None is not of type 'array'
Failed validating 'type' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
None
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://host.test/activities/dAlLVMx0noavvchl",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/dGJ-gYHPMpc1y6gO",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": null,
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/dGJ-gYHPMpc1y6gO",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 10: Varying addressing 9¶
Comments
[] should be non-empty
Failed validating 'minItems' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
[]
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"http://other.test/some/actor",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://host.test/activities/y9eStzH7wUBlQqfG",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/uQ47rnDV8hbC1kRI",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/uQ47rnDV8hbC1kRI",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 11: Varying addressing 10¶
Comments
'https://www.w3.org/ns/activitystreams#Public' is not of type 'array'
Failed validating 'type' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
'https://www.w3.org/ns/activitystreams#Public'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": "http://other.test/some/actor",
"id": "http://host.test/activities/l4cRcdIpjWaYxRf-",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/iCVabhQ_vT3_dYhg",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": "https://www.w3.org/ns/activitystreams#Public",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/iCVabhQ_vT3_dYhg",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 12: Varying addressing 11¶
Comments
'http://other.test/some/actor' is not of type 'array'
Failed validating 'type' in schema['properties']['cc']:
{'default': [],
'description': 'Array of actors this activity or object is carbon '
'copied to.',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'type': 'array'}
On instance['cc']:
'http://other.test/some/actor'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": "http://other.test/some/actor",
"id": "http://host.test/activities/fWwEZWmqXY2BoNd7",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/TmMC9dkaqGPcKoXH",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/TmMC9dkaqGPcKoXH",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 13: Varying addressing 12¶
Comments
'https://www.w3.org/ns/activitystreams#Public' is not of type 'array'
Failed validating 'type' in schema['properties']['to']:
{'description': 'Array of actors this activity or object is addressed '
'to',
'examples': [['https://bob.example'],
['https://alice.example', 'https://bob.example']],
'items': {'type': 'string'},
'minItems': 1,
'type': 'array'}
On instance['to']:
'https://www.w3.org/ns/activitystreams#Public'
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"http://other.test/some/actor"
],
"id": "http://host.test/activities/bW_xaHNOA1n9Nk4g",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/BM64sfw4hYldlJF1",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": "https://www.w3.org/ns/activitystreams#Public",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/BM64sfw4hYldlJF1",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}
Example 14: Varying addressing 13¶
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"cc": [
"http://other.test/some/actor"
],
"id": "http://host.test/activities/9mWdpk_VzefqJhFl",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/SDkCAMhSuevqbbiD",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
},
"published": "2026-04-08T07:53:32Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/SDkCAMhSuevqbbiD",
"published": "2026-04-08T07:53:32Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}