Skip to content

Variations of to and cc

Example 1: Varying addressing 0

Comments

Validation of activity against schema failed
'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/OGUc0MTK8iyaNm45',
     'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
                'attributedTo': 'http://host.test/some/actor',
                'content': 'text',
                'id': 'http://host.test/objects/FX5OQIPN9PdXkoUm',
                'published': '2025-12-23T10:32:31Z',
                'to': ['https://www.w3.org/ns/activitystreams#Public',
                       'http://other.test/some/actor'],
                'cc': [],
                'tag': [{'type': 'Mention',
                         'href': 'http://other.test/some/actor'}],
                'type': 'Note'},
     'published': '2025-12-23T10:32:31Z',
     'type': 'Create'}

Activity
{
  "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/8KpFANfqMRvw1oIx",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/A10ik5NF5rDXr1te",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/A10ik5NF5rDXr1te",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 2: Varying addressing 1

Comments

Validation of activity against schema failed
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
{
  "to": [
    "http://other.test/some/actor",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "cc": null,
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "id": "http://host.test/activities/itS1iX71S7WNczcF",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/_kaYN5cZLl0z4h6u",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/_kaYN5cZLl0z4h6u",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 3: Varying addressing 2

Activity
{
  "to": [
    "http://other.test/some/actor",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "cc": [],
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "id": "http://host.test/activities/FEECBhvv7Wj9lWzK",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/eTnTdBXbC9bJKJgK",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/eTnTdBXbC9bJKJgK",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 4: Varying addressing 3

Comments

Validation of activity against schema failed
'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
{
  "to": "http://other.test/some/actor",
  "cc": "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/hrdABcqdBYrF7uM6",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/4QByYEV4oCib98jj",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/4QByYEV4oCib98jj",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 5: Varying addressing 4

Comments

Validation of activity against schema failed
'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
{
  "to": "http://other.test/some/actor",
  "cc": [
    "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/Ea7Hk_iAUjOF4Fhq",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/G-5YKg5sV45WxqjD",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/G-5YKg5sV45WxqjD",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 6: Varying addressing 5

Comments

Validation of activity against schema failed
'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
{
  "to": [
    "http://other.test/some/actor"
  ],
  "cc": "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/iMxsmGrMGv5RBI7p",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/egRZnqt_cg_B7oPN",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/egRZnqt_cg_B7oPN",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 7: Varying addressing 6

Activity
{
  "to": [
    "http://other.test/some/actor"
  ],
  "cc": [
    "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/krFXwbCWA1s2jWqk",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/Vhy59rlUSuhauZ6a",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/Vhy59rlUSuhauZ6a",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 8: Varying addressing 7

Comments

Validation of activity against schema failed
'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/l94ITyUcQmp-N7Zo',
     'object': {'@context': ['https://www.w3.org/ns/activitystreams'],
                'attributedTo': 'http://host.test/some/actor',
                'content': 'text',
                'id': 'http://host.test/objects/TYM0NbQIdzg5Oh5c',
                'published': '2025-12-23T10:32:31Z',
                'to': ['https://www.w3.org/ns/activitystreams#Public',
                       'http://other.test/some/actor'],
                'cc': [],
                'tag': [{'type': 'Mention',
                         'href': 'http://other.test/some/actor'}],
                'type': 'Note'},
     'published': '2025-12-23T10:32:31Z',
     'type': 'Create'}

Activity
{
  "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/Ib7b3OlrOWHbFua6",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/tjgnBMgMPpuDi2Mj",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/tjgnBMgMPpuDi2Mj",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 9: Varying addressing 8

Comments

Validation of activity against schema failed
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
{
  "cc": [
    "http://other.test/some/actor",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "to": null,
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "id": "http://host.test/activities/fVRGFdUfD4LeVtpG",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/QQaAkx6FJbMGwOVw",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/QQaAkx6FJbMGwOVw",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 10: Varying addressing 9

Comments

Validation of activity against schema failed
[] 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
{
  "cc": [
    "http://other.test/some/actor",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "to": [],
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "id": "http://host.test/activities/d71V4W22WPVy-Xra",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/sJaXRUCUTzXgNrSL",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/sJaXRUCUTzXgNrSL",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 11: Varying addressing 10

Comments

Validation of activity against schema failed
'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
{
  "cc": "http://other.test/some/actor",
  "to": "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/Ew6D6Ap6rDACA1KJ",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/Gl6rRwB_Kcotalbh",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/Gl6rRwB_Kcotalbh",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 12: Varying addressing 11

Comments

Validation of activity against schema failed
'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
{
  "cc": "http://other.test/some/actor",
  "to": [
    "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/dEwRp69uId7p-JLh",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/EG4mmK3_DW9fFTi8",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/EG4mmK3_DW9fFTi8",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 13: Varying addressing 12

Comments

Validation of activity against schema failed
'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
{
  "cc": [
    "http://other.test/some/actor"
  ],
  "to": "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/PkPhO0beWyFZIqAw",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/3It26K3u84X7ste1",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/3It26K3u84X7ste1",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}

Example 14: Varying addressing 13

Activity
{
  "cc": [
    "http://other.test/some/actor"
  ],
  "to": [
    "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/UFa6Woa8nTANc7m6",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "content": "text",
    "id": "http://host.test/objects/OBh-lavbx9W6rxhF",
    "published": "2025-12-23T10:32:31Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "cc": [],
    "tag": [
      {
        "type": "Mention",
        "href": "http://other.test/some/actor"
      }
    ],
    "type": "Note"
  },
  "published": "2025-12-23T10:32:31Z",
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "content": "text",
  "id": "http://host.test/objects/OBh-lavbx9W6rxhF",
  "published": "2025-12-23T10:32:31Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "cc": [],
  "tag": [
    {
      "type": "Mention",
      "href": "http://other.test/some/actor"
    }
  ],
  "type": "Note"
}