]> git.mxchange.org Git - friendica.git/blob - src/Protocol/Activity/ObjectType.php
wrapping up 2019.12
[friendica.git] / src / Protocol / Activity / ObjectType.php
1 <?php
2
3 namespace Friendica\Protocol\Activity;
4
5 use Friendica\Protocol\ActivityNamespace;
6
7 /**
8  * This class contains the different object types in activities
9  */
10 final class ObjectType
11 {
12         /**
13          * The "bookmark" object type represents a pointer to some URL -- typically a web page.
14          *
15          * @see http://activitystrea.ms/head/activity-schema.html#bookmark
16          * @var string
17          */
18         const BOOKMARK = ActivityNamespace::ACTIVITY_SCHEMA . 'bookmark';
19         /**
20          * The "comment" object type represents a textual response to another object.
21          *
22          * @see http://activitystrea.ms/head/activity-schema.html#comment
23          * @var string
24          */
25         const COMMENT = ActivityNamespace::ACTIVITY_SCHEMA . 'comment';
26         /**
27          * The "comment" object type represents a textual response to another object.
28          * (Default type for items)
29          *
30          * @see http://activitystrea.ms/head/activity-schema.html#note
31          * @var string
32          */
33         const NOTE = ActivityNamespace::ACTIVITY_SCHEMA . 'note';
34         /**
35          * The "person" object type represents a user account.
36          *
37          * @see http://activitystrea.ms/head/activity-schema.html#person
38          * @var string
39          */
40         const PERSON = ActivityNamespace::ACTIVITY_SCHEMA . 'person';
41         /**
42          * The "image" object type represents a graphical image.
43          *
44          * @see http://activitystrea.ms/head/activity-schema.html#image
45          * @var string
46          */
47         const IMAGE = ActivityNamespace::ACTIVITY_SCHEMA . 'image';
48         /**
49          * @var string
50          */
51         const PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'photo';
52         /**
53          * The "video" object type represents video content,
54          * which usually consists of a motion picture track and an audio track.
55          *
56          * @see http://activitystrea.ms/head/activity-schema.html#video
57          * @var string
58          */
59         const VIDEO = ActivityNamespace::ACTIVITY_SCHEMA . 'video';
60         /**
61          * @var string
62          */
63         const PROFILE_PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'profile-photo';
64         /**
65          * @var string
66          */
67         const ALBUM = ActivityNamespace::ACTIVITY_SCHEMA . 'photo-album';
68         /**
69          * The "event" object type represents an event that occurs in a certain place during a particular interval of time.
70          *
71          * @see http://activitystrea.ms/head/activity-schema.html#event
72          * @var string
73          */
74         const EVENT = ActivityNamespace::ACTIVITY_SCHEMA . 'event';
75         /**
76          * The "group" object type represents a grouping of objects in which member objects can join or leave.
77          *
78          * @see http://activitystrea.ms/head/activity-schema.html#group
79          * @var string
80          */
81         const GROUP = ActivityNamespace::ACTIVITY_SCHEMA . 'group';
82
83
84         /**
85          * @var string
86          */
87         const HEART = ActivityNamespace::DFRN . '/heart';
88         /**
89          * @var string
90          */
91         const TAGTERM = ActivityNamespace::DFRN . '/tagterm';
92         /**
93          * @var string
94          */
95         const PROFILE = ActivityNamespace::DFRN . '/profile';
96
97
98         /**
99          * The "question" object type represents a question or poll.
100          *
101          * @see http://activitystrea.ms/head/activity-schema.html#question
102          * @var string
103          */
104         const QUESTION = 'http://activityschema.org/object/question';
105 }