3 namespace Friendica\Protocol\Activity;
5 use Friendica\Protocol\ActivityNamespace;
8 * This class contains the different object types in activities
10 final class ObjectType
13 * The "bookmark" object type represents a pointer to some URL -- typically a web page.
15 * @see http://activitystrea.ms/head/activity-schema.html#bookmark
18 const BOOKMARK = ActivityNamespace::ACTIVITY_SCHEMA . 'bookmark';
20 * The "comment" object type represents a textual response to another object.
22 * @see http://activitystrea.ms/head/activity-schema.html#comment
25 const COMMENT = ActivityNamespace::ACTIVITY_SCHEMA . 'comment';
27 * The "comment" object type represents a textual response to another object.
28 * (Default type for items)
30 * @see http://activitystrea.ms/head/activity-schema.html#note
33 const NOTE = ActivityNamespace::ACTIVITY_SCHEMA . 'note';
35 * The "person" object type represents a user account.
37 * @see http://activitystrea.ms/head/activity-schema.html#person
40 const PERSON = ActivityNamespace::ACTIVITY_SCHEMA . 'person';
42 * The "image" object type represents a graphical image.
44 * @see http://activitystrea.ms/head/activity-schema.html#image
47 const IMAGE = ActivityNamespace::ACTIVITY_SCHEMA . 'image';
51 const PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'photo';
53 * The "video" object type represents video content,
54 * which usually consists of a motion picture track and an audio track.
56 * @see http://activitystrea.ms/head/activity-schema.html#video
59 const VIDEO = ActivityNamespace::ACTIVITY_SCHEMA . 'video';
63 const PROFILE_PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'profile-photo';
67 const ALBUM = ActivityNamespace::ACTIVITY_SCHEMA . 'photo-album';
69 * The "event" object type represents an event that occurs in a certain place during a particular interval of time.
71 * @see http://activitystrea.ms/head/activity-schema.html#event
74 const EVENT = ActivityNamespace::ACTIVITY_SCHEMA . 'event';
76 * The "group" object type represents a grouping of objects in which member objects can join or leave.
78 * @see http://activitystrea.ms/head/activity-schema.html#group
81 const GROUP = ActivityNamespace::ACTIVITY_SCHEMA . 'group';
87 const HEART = ActivityNamespace::DFRN . '/heart';
91 const TAGTERM = ActivityNamespace::DFRN . '/tagterm';
95 const PROFILE = ActivityNamespace::DFRN . '/profile';
99 * The "question" object type represents a question or poll.
101 * @see http://activitystrea.ms/head/activity-schema.html#question
104 const QUESTION = 'http://activityschema.org/object/question';