3 * @copyright Copyright (C) 2010-2022, the Friendica project
5 * @license GNU AGPL version 3 or any later version
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as
9 * published by the Free Software Foundation, either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Affero General Public License for more details.
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22 namespace Friendica\Protocol\Activity;
24 use Friendica\Protocol\ActivityNamespace;
27 * This class contains the different object types in activities
29 final class ObjectType
32 * The "bookmark" object type represents a pointer to some URL -- typically a web page.
34 * @see http://activitystrea.ms/head/activity-schema.html#bookmark
37 const BOOKMARK = ActivityNamespace::ACTIVITY_SCHEMA . 'bookmark';
39 * The "comment" object type represents a textual response to another object.
41 * @see http://activitystrea.ms/head/activity-schema.html#comment
44 const COMMENT = ActivityNamespace::ACTIVITY_SCHEMA . 'comment';
46 * The "comment" object type represents a textual response to another object.
47 * (Default type for items)
49 * @see http://activitystrea.ms/head/activity-schema.html#note
52 const NOTE = ActivityNamespace::ACTIVITY_SCHEMA . 'note';
54 * The "person" object type represents a user account.
56 * @see http://activitystrea.ms/head/activity-schema.html#person
59 const PERSON = ActivityNamespace::ACTIVITY_SCHEMA . 'person';
61 * The "image" object type represents a graphical image.
63 * @see http://activitystrea.ms/head/activity-schema.html#image
66 const IMAGE = ActivityNamespace::ACTIVITY_SCHEMA . 'image';
70 const PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'photo';
72 * The "video" object type represents video content,
73 * which usually consists of a motion picture track and an audio track.
75 * @see http://activitystrea.ms/head/activity-schema.html#video
78 const VIDEO = ActivityNamespace::ACTIVITY_SCHEMA . 'video';
82 const PROFILE_PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'profile-photo';
86 const ALBUM = ActivityNamespace::ACTIVITY_SCHEMA . 'photo-album';
88 * The "event" object type represents an event that occurs in a certain place during a particular interval of time.
90 * @see http://activitystrea.ms/head/activity-schema.html#event
93 const EVENT = ActivityNamespace::ACTIVITY_SCHEMA . 'event';
95 * The "group" object type represents a grouping of objects in which member objects can join or leave.
97 * @see http://activitystrea.ms/head/activity-schema.html#group
100 const GROUP = ActivityNamespace::ACTIVITY_SCHEMA . 'group';
106 const HEART = ActivityNamespace::DFRN . '/heart';
110 const TAGTERM = ActivityNamespace::DFRN . '/tagterm';
114 const PROFILE = ActivityNamespace::DFRN . '/profile';
118 * The "question" object type represents a question or poll.
120 * @see http://activitystrea.ms/head/activity-schema.html#question
123 const QUESTION = 'http://activityschema.org/object/question';