summaryrefslogtreecommitdiff
path: root/spec/vocabulary.md
blob: 1413ad086920ecb1ea658616eb604581e0d7f7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
---
title: ForgeFed Vocabulary
---

# Abstract

This document describes the ForgeFed vocabulary. It's intended to be an extension
of the [ActivityPub Vocabulary](https://www.w3.org/TR/activitystreams-vocabulary/)
and provides additional vocabulary for federation of project management and
version control system hosting and collaboration platforms.

# Introduction

The ForgeFed Vocabulary describes a set of types and properties to be used by
platforms that support the ForgeFed protocol. This specification describes only
the new vocabulary called ForgeFed. The ForgeFed behavior specification
describes how to use this vocabulary, along with standard ActivityPub
vocabulary, to support the ForgeFed protocol.

# Types

The base URI of all ForgeFed terms is `https://forgefed.peers.community/ns#`.
The ForgeFed vocabulary has a JSON-LD context whose URI is
`https://forgefed.peers.community/ns`. Implementers MUST either include the
ActivityPub and ForgeFed contexts in their object definitions, or other
contexts that would result with the ActivityPub and ForgeFed terms being
assigned they correct full URIs. Implementers MAY include additional contexts
and terms as appropriate.

A typical `@context` of a ForgeFed object may look like this:

```json
"@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://forgefed.peers.community/ns"
]
```

## Activity Types

### Push {#act-push}

**URI:** `https://forgefed.peers.community/ns#Push`

**Notes:** Indicates that new content has been pushed to the
[Repository](#type-repository).

**Extends:** [Activity][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://example.dev/aviva/outbox/reBGo",
    "type": "Push",
    "actor": "https://example.dev/aviva",
    "to": [
        "https://example.dev/aviva/followers",
        "https://example.dev/aviva/myproject",
        "https://example.dev/aviva/myproject/team",
        "https://example.dev/aviva/myproject/followers"
    ],
    "summary": "<p>Aviva pushed a commit to myproject</p>",
    "object": {
        "type": "OrderedCollection",
        "totalItems": 1,
        "items": [
            {
                "id": "https://example.dev/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20",
                "type": "Commit",
                "attributedTo": "https://example.dev/aviva",
                "context": "https://example.dev/aviva/myproject",
                "hash": "d96596230322716bd6f87a232a648ca9822a1c20",
                "created": "2019-11-03T13:43:59Z",
                "name": "Provide hints in sign-up form fields",
            }
        ]
    },
    "target": "https://example.dev/aviva/myproject/branches/master",
    "context": "https://example.dev/aviva/myproject"
}
```

## Actor Types

### Repository {#type-repository}

**URI:** `https://forgefed.peers.community/ns#Repository`

**Notes:** Represents a version control system repository.

**Extends:** [Object][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://w3id.org/security/v1",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://dev.example/aviva/treesim",
    "type": "Repository",
    "publicKey": {
        "id": "https://dev.example/aviva/treesim#main-key",
        "owner": "https://dev.example/aviva/treesim",
        "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhki....."
    },
    "inbox": "https://dev.example/aviva/treesim/inbox",
    "outbox": "https://dev.example/aviva/treesim/outbox",
    "followers": "https://dev.example/aviva/treesim/followers",
    "team": "https://dev.example/aviva/treesim/team",
    "name": "Tree Growth 3D Simulation",
    "summary": "<p>Tree growth 3D simulator for my nature exploration game</p>"
}
```

## Object Types

### Branch {#type-branch}

**URI:** `https://forgefed.peers.community/ns#Branch`

**Notes:** Represents a named variable reference to a version of the
[Repository](#type-repository), typically used for committing changes in
parallel to other development, and usually eventually merging the changes into
the main history line.

**Extends:** [Object][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://example.dev/luke/myrepo/branches/master",
    "type": "Branch",
    "name": "master",
    "context": "https://example.dev/luke/myrepo",
    "ref": "refs/heads/master"
}
```

### Commit {#type-commit}

**URI:** `https://forgefed.peers.community/ns#Commit`

**Notes:** Represents a named set of changes in the history of a
[Repository](#type-repository).  This is called "commit" in Git, Mercurial and
Monotone; "patch" in Darcs; sometimes called "change set". Note that `Commit`
is a set of changes that already exists in a repo's history, while a
[Patch](#type-patch) is a separate proposed change set, that *could* be applied
and pushed to a repo, resulting with a `Commit`.

**Extends:** [Object][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
    "type": "Commit",
    "context": "https://example.dev/alice/myrepo",
    "attributedTo": "https://example.dev/bob",
    "committedBy": "https://example.dev/alice",
    "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
    "name": "Add an installation script, fixes issue #89",
    "description": {
        "mediaType": "text/plain",
        "content": "It's about time people can install on their computers!"
    },
    "created": "2019-07-11T12:34:56Z",
    "committed": "2019-07-26T23:45:01Z"
}
```

### TicketDependency {#type-ticketdependency}

**URI:** `https://forgefed.peers.community/ns#TicketDependency`

**Notes:** Represents a relationship between 2 [Ticket](#type-ticket)s, in
which the resolution of one ticket requires the other ticket to be resolved
too. It MUST specify the [subject], [object] and [relationship] properties, and
the `relationship` property MUST be [dependsOn](#prop-dependson).

**Extends:** [Relationship][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "type": ["Relationship", "TicketDependency"],
    "id": "https://example.dev/ticket-deps/2342593",
    "attributedTo": "https://example.dev/alice",
    "summary": "Alice's ticket depends on Bob's ticket",
    "published": "2019-07-11T12:34:56Z",
    "subject": "https://example.dev/alice/myproj/issues/42",
    "relationship": "dependsOn",
    "object": "https://dev.community/bob/coolproj/issues/85"
}
```

### Ticket {#type-ticket}

**URI:** `https://forgefed.peers.community/ns#Ticket`

**Notes:** Represents an item that requires work or attention. Tickets exist in
the context of a project (which may or may not be a version-control
repository), and are used to track ideas, proposals, tasks, bugs and more.

**Extends:** [Object][]

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "type": "Ticket",
    "id": "https://example.dev/alice/myrepo/issues/42",
    "context": "https://example.dev/alice/myrepo",
    "attributedTo": "https://dev.community/bob",
    "summary": "Nothing works!",
    "content": "<p>Please fix. <i>Everything</i> is broken!</p>",
    "mediaType": "text/html",
    "source": {
        "content": "Please fix. *Everything* is broken!",
        "mediaType": "text/markdown; variant=CommonMark"
    },
    "assignedTo": "https://example.dev/alice",
    "isResolved": false
}
```

# Properties

## earlyItems {#prop-earlyitems}

**URI:** `https://forgefed.peers.community/ns#earlyItems`

**Notes:** In an ordered collection (or an ordered collection page) in which
[items][] (or [orderedItems][]) contains a continuous subset of the
collection's items from one end, `earlyItems` identifiers a continuous subset
from the other end. For example, if `items` lists the chronologically
latest items, `earlyItems` would list the chrologically earliest items. The
ordering rule for items in `earlyItems` MUST be the same as in `items`. For
examle, if `items` lists items in reverse chronogical order, then so does
`earlyItems`.

**Domain:** [OrderedCollection][]

**Range:** Ordered list of [[Object][] | [Link][]]

**Functional:** No

**Inverse of:** (None)

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://dev.example/aviva/outbox",
    "type": "OrderedCollection",
    "totalItems": 712,
    "orderedItems": [
       "https://dev.example/aviva/outbox/712",
       "https://dev.example/aviva/outbox/711",
       "https://dev.example/aviva/outbox/710"
    ],
    "earlyItems": [
       "https://dev.example/aviva/outbox/3",
       "https://dev.example/aviva/outbox/2",
       "https://dev.example/aviva/outbox/1"
    ]
}
```

## assignedTo {#prop-assignedto}

**URI:** `https://forgefed.peers.community/ns#assignedTo`

**Notes:** Identifies the [Person][] assigned to work on this
[Ticket](#type-ticket).

**Domain:** [Ticket](#type-ticket)

**Range:** [Person][]

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## isResolved {#prop-isresolved}

**URI:** `https://forgefed.peers.community/ns#isResolved`

**Notes:** Specifies whether the [Ticket](#type-ticket) is closed, i.e. the
work on it is done and it doesn't need to attract attention anymore.

**Domain:** [Ticket](#type-ticket)

**Range:** `xsd:boolean`

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## dependsOn {#prop-dependson}

**URI:** `https://forgefed.peers.community/ns#dependsOn`

**Notes:** Identifies one or more tickets on which this [Ticket](#type-ticket)
depends, i.e. it can't be resolved without those tickets being resolved too.

**Domain:** [Ticket](#type-ticket)

**Range:** [Ticket](#type-ticket)

**Functional:** No

**Inverse of:** [dependedBy](#prop-dependedby)

**Example:**

## dependedBy {#prop-dependedby}

**URI:** `https://forgefed.peers.community/ns#dependedBy`

**Notes:** Identifies one or more tickets which depend on this
[Ticket](#type-ticket), i.e. they can't be resolved without this tickets being
resolved too.

**Domain:** [Ticket](#type-ticket)

**Range:** [Ticket](#type-ticket)

**Functional:** No

**Inverse of:** [dependsOn](#prop-dependson)

**Example:**

## dependencies {#prop-dependencies}

**URI:** `https://forgefed.peers.community/ns#dependencies`

**Notes:** Identifies a [Collection] of
[TicketDependency](#type-ticketdependency) which specify tickets that this
[Ticket](#type-ticket) depends on, i.e. this ticket is the [subject][] of the
[dependsOn](#prop-dependson) relationship.

**Domain:** [Ticket](#type-ticket)

**Range:** [Collection][] of items of type
[TicketDependency](#type-ticketdependency)

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## dependants {#prop-dependants}

**URI:** `https://forgefed.peers.community/ns#dependants`

**Notes:** Identifies a [Collection] of
[TicketDependency](#type-ticketdependency) which specify tickets that depends
on this [Ticket](#type-ticket), i.e. this ticket is the [object][] of the
[dependsOn](#prop-dependson) relationship. Often called "reverse dependencies".

**Domain:** [Ticket](#type-ticket)

**Range:** [Collection][] of items of type
[TicketDependency](#type-ticketdependency)

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## repository (DEPRECATED) {#prop-repository}

**URI:** `https://forgefed.peers.community/ns#repository`

**Notes:** Identifies the repository to which a commit belongs. DEPRECATED: Use
the standard ActivityPub `context` property instead.

**Domain:** `Commit`

**Range:** `Repository`

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## description {#prop-description}

**URI:** `https://forgefed.peers.community/ns#description`

**Notes:** Specifies the description text of a [Commit](#type-commit), which is
an optional possibly multi-line text provided in addition to the one-line
commit title. The range of the `description` property works the same way the
range of the ActivityPub [source][] property works.

**Domain:** [Commit](#type-commit)

**Range:** Object that specifies a [content][] and a [mediaType][]. The
`mediaType` SHOULD be `"text/plain"`.

**Functional:** Yes

**Inverse of:** (None)

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
    "type": "Commit",
    "context": "https://example.dev/alice/myrepo",
    "attributedTo": "https://example.dev/bob",
    "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
    "created": "2019-07-11T12:34:56Z",
    "name": "Add an installation script, fixes issue #89",

    "description": {
        "mediaType": "text/plain",
        "content": "It's about time people can install on their computers!"
    },
}
```

## committedBy {#prop-committedby}

**URI:** `https://forgefed.peers.community/ns#committedBy`

**Notes:** Identifies the actor (usually a person, but could be something else,
e.g. a bot) that added a set of changes to the version-control
[Repository](#type-repository).  Sometimes the author of the changes and the
committer of those changes aren't the same actor, in which case the
`committedBy` property can be used to specify who added the changes to the
repository. For example, when applying a patch to a repository, e.g. a Git
repository, the author would be the person who made the patch, and the
committer would be the person who applied the patch to their copy of the
repository.

**Domain:** [Commit](#type-commit)

**Range:** [Object][]

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## hash {#prop-hash}

**URI:** `https://forgefed.peers.community/ns#hash`

**Notes:** Specifies the hash associated with a [Commit](#type-commit), which
is a unique identifier of the commit within the [Repository](#type-repository),
usually generated as a cryptographic hash function of some (or all) of the
commit's data or metadata.  For example, in Git it would be the SHA1 hash of
the commit; in Darcs it would be the SHA1 hash of the patch info.

**Domain:** [Commit](#type-commit)

**Range:** `xsd:string` of hexadecimal digit ASCII characters

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## committed {#prop-committed}

**URI:** `https://forgefed.peers.community/ns#committed`

**Notes:** Specifies the time that a set of changes was committed into the
[Repository](#type-repository) and became a [Commit](#type-commit) in it. This
can be different from the time the set of changes was produced, e.g. if one
person creates a patch and sends to another, and the other person then applies
the patch to their copy of the repository. We call the former event "created"
and the latter event "committed", and this latter event is specified by the
`committed` property.

**Domain:** [Commit](#type-commit)

**Range:** `xsd:dateTime`

**Functional:** Yes

**Inverse of:** (None)

**Example:**

## filesAdded {#prop-filesadded}

**URI:** `https://forgefed.peers.community/ns#filesAdded`

**Notes:** Specifies a filename, as a relative path, relative to the top of the
tree of files in the [Repository](#type-repository), of a file that got added
in this [Commit](#type-commit), and didn't exist in the previous version of the
tree.

**Domain:** [Commit](#type-commit)

**Range:** `xsd:string`

**Functional:** No

**Inverse of:** (None)

**Example:**

## filesModified {#prop-filesmodified}

**URI:** `https://forgefed.peers.community/ns#filesModified`

**Notes:** Specifies a filename, as a relative path, relative to the top of the
tree of files in the [Repository](#type-repository), of a file that existed in
the previous version of the tree, and its contents got modified in this
[Commit](#type-commit).

**Domain:** [Commit](#type-commit)

**Range:** `xsd:string`

**Functional:** No

**Inverse of:** (None)

**Example:**

## filesRemoved {#prop-filesremoved}

**URI:** `https://forgefed.peers.community/ns#filesRemoved`

**Notes:** Specifies a filename, as a relative path, relative to the top of the
tree of files in the [Repository](#type-repository), of a file that existed in
the previous version of the tree, and got removed from the tree in this
[Commit](#type-commit).

**Domain:** [Commit](#type-commit)

**Range:** `xsd:string`

**Functional:** No

**Inverse of:** (None)

**Example:**

## ref {#prop-ref}

**URI:** `https://forgefed.peers.community/ns#ref`

**Notes:** Specifies an identifier for a [Branch](#type-branch), that is used
in the [Repository](#type-repository) to uniquely refer to it. For example, in
Git, "refs/heads/master" would be the `ref` of the master branch.

**Domain:** [Branch](#type-branch)

**Range:** `xsd:string`

**Functional:** Yes

**Inverse of:** (None)

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://example.dev/luke/myrepo/branches/master",
    "type": "Branch",
    "name": "master",
    "context": "https://example.dev/luke/myrepo",

    "ref": "refs/heads/master"
}
```

## team {#prop-team}

**URI:** `https://forgefed.peers.community/ns#team`

**Notes:**: Specifies a [Collection][] of actors who are working on the object,
or responsible for it, or managing or administrating it, or having edit access
to it. For example, for a [Repository](#type-repository), it could be the
people who have push/edit access, the "collaborators" of the repository.

**Domain:** [Object][]

**Range:** [Collection][] of actors

**Functional:** Yes

**Inverse of:** (None)

**Example:**

A repository *https://dev.example/aviva/treesim*:

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://w3id.org/security/v1",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://dev.example/aviva/treesim",
    "type": "Repository",
    "publicKey": {
        "id": "https://dev.example/aviva/treesim#main-key",
        "owner": "https://dev.example/aviva/treesim",
        "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhki....."
    },
    "inbox": "https://dev.example/aviva/treesim/inbox",
    "outbox": "https://dev.example/aviva/treesim/outbox",
    "followers": "https://dev.example/aviva/treesim/followers",
    "name": "Tree Growth 3D Simulation",
    "summary": "<p>Tree growth 3D simulator for my nature exploration game</p>",

    "team": "https://dev.example/aviva/treesim/team"
}
```

The repository's team *https://dev.example/aviva/treesim/team*:

```json
{
    "@context": "https://www.w3.org/ns/activitystreams",
    "id": "https://dev.example/aviva/treesim/team",
    "type": "Collection",
    "totalItems": 3,
    "items": [
        "https://dev.example/aviva",
        "https://dev.example/luke",
        "https://code.community/users/lorax"
    ]
}
```

## ticketsTrackedBy {#prop-ticketstrackedby}

**URI:** `https://forgefed.peers.community/ns#ticketsTrackedBy`

**Notes:** Identifies the actor which tracks tickets related to the given
object. This is the actor to whom you send tickets you'd like to open against
the object.

**Domain:** [Object][]

**Range:** [Object][] that is an actor

**Functional:** Yes

**Inverse of:** [tracksTicketsFor](#prop-tracksticketsfor)

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://dev.example/aviva/treesim",
    "type": "Repository",
    "name": "Tree Growth 3D Simulation",
    "summary": "<p>Tree growth 3D simulator for my nature exploration game</p>",
    "ticketsTrackedBy": "https://bugs.example/projects/treesim"
}
```

## tracksTicketsFor {#prop-tracksticketsfor}

**URI:** `https://forgefed.peers.community/ns#tracksTicketsFor`

**Notes:** Identifies objects for which which this ticket tracker tracks
tickets. When you'd like to open a ticket against those objects, you can send
them to this tracker.

**Domain:** [Object][] that is an actor

**Range:** [Object][]

**Functional:** No

**Inverse of:** [ticketsTrackedBy](#prop-ticketstrackedby)

**Example:**

```json
{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://forgefed.peers.community/ns"
    ],
    "id": "https://bugs.example/treesim",
    "type": "Project",
    "tracksTicketsFor": [
        "https://dev.example/aviva/liblsystem",
        "https://dev.example/aviva/3d-tree-models",
        "https://dev.example/aviva/treesim"
    ]
}
```

[Activity]:          https://www.w3.org/TR/activitystreams-vocabulary/#dfn-activity
[Collection]:        https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection
[Link]:              https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link
[Object]:            https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object
[OrderedCollection]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection
[Person]:            https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person

[content]:      https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content
[items]:        https://www.w3.org/TR/activitystreams-vocabulary/#dfn-items
[mediaType]:    https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype
[orderedItems]: https://www.w3.org/TR/activitystreams-core/#collections
[relationship]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship
[source]:       https://www.w3.org/TR/activitypub/#source-property
[subject]:      https://www.w3.org/TR/activitystreams-vocabulary/#dfn-subject