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/j1oDfr38IMwSEF5C',
'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
'id': 'http://host.test/objects/TUWpqNycMX1DfKTc',
'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-14T07:48:42Z',
'content': 'text',
'tag': [{'type': 'Mention',
'href': 'http://other.test/some/actor'}]},
'published': '2026-04-14T07:48:42Z',
'type': 'Create'}
Activity
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"actor": "http://host.test/some/actor",
"id": "http://host.test/activities/IdY8IEBKo0M59LqB",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/C5_DvpOn2hpJdLrd",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/C5_DvpOn2hpJdLrd",
"published": "2026-04-14T07:48:43Z",
"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/V8IkXl7aNpkA1FJl",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/PWHDs0MqZBWlWHBB",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/PWHDs0MqZBWlWHBB",
"published": "2026-04-14T07:48:43Z",
"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/h5bfcNJ4l9cAYFmT",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/TDqlQPUAb4THhpBH",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/TDqlQPUAb4THhpBH",
"published": "2026-04-14T07:48:43Z",
"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/S_1YLju6Hd3Pk5-R",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Ujwk5uB9qvzYgjEk",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/Ujwk5uB9qvzYgjEk",
"published": "2026-04-14T07:48:43Z",
"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/NClGPs143RVRIo6U",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Hj4c2dtLZ0r6TweL",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/Hj4c2dtLZ0r6TweL",
"published": "2026-04-14T07:48:43Z",
"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/TG_GMQgyzyjkyjYo",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/l1ZQZuGiaejB6Lpw",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/l1ZQZuGiaejB6Lpw",
"published": "2026-04-14T07:48:43Z",
"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/rL_Px6OHABhWyYjg",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/IcmiJu2wD72NQQpw",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/IcmiJu2wD72NQQpw",
"published": "2026-04-14T07:48:43Z",
"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/0iCkiyvyd_oYAFXK',
'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
'id': 'http://host.test/objects/nSgcKbQY4TUC3aik',
'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-14T07:48:42Z',
'content': 'text',
'tag': [{'type': 'Mention',
'href': 'http://other.test/some/actor'}]},
'published': '2026-04-14T07:48:42Z',
'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/Fo9hVeFMUXYbIr9A",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/quXctU9s9zTFtrVC",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"type": "Create"
}
Object
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/quXctU9s9zTFtrVC",
"published": "2026-04-14T07:48:43Z",
"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/Cj9iqUttLKR-hN_5",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/QW870asxOF9f7Gcw",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/QW870asxOF9f7Gcw",
"published": "2026-04-14T07:48:43Z",
"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/AjEetrri9UoTcOlK",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/swTXKe7MF7AaRA1o",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/swTXKe7MF7AaRA1o",
"published": "2026-04-14T07:48:43Z",
"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/l8fRFwzmGcnJKVZB",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/Hwrn_YkfAqqn24Am",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/Hwrn_YkfAqqn24Am",
"published": "2026-04-14T07:48:43Z",
"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/gAd5dIWk3pqM_xES",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/tvr7zOTym3JDAU9E",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/tvr7zOTym3JDAU9E",
"published": "2026-04-14T07:48:43Z",
"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/yoW0IevZZ5x0rJvR",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/mknJJuTmGzuNyrI-",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/mknJJuTmGzuNyrI-",
"published": "2026-04-14T07:48:43Z",
"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/vwRJXLapR6PUJMX7",
"object": {
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"attributedTo": "http://host.test/some/actor",
"cc": [],
"content": "text",
"id": "http://host.test/objects/5Z-7NiuEaMlppFNx",
"published": "2026-04-14T07:48:43Z",
"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-14T07:48:43Z",
"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/5Z-7NiuEaMlppFNx",
"published": "2026-04-14T07:48:43Z",
"tag": [
{
"href": "http://other.test/some/actor",
"type": "Mention"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://other.test/some/actor"
],
"type": "Note"
}