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;
25 * Activity namespaces constants
27 final class ActivityNamespace
30 * Zot is a WebMTA which provides a decentralised identity and communications protocol using HTTPS/JSON.
33 * @see https://zotlabs.org/page/zotlabs/specs+zot6+home
35 const ZOT = 'http://purl.org/zot';
37 * Friendica is using ActivityStreams in version 1.0 for its activities and object types.
38 * Additional types are used for non standard activities.
41 * @see https://github.com/friendica/friendica/wiki/ActivityStreams
43 const DFRN = 'http://purl.org/macgirvin/dfrn/1.0';
45 * This namespace defines an extension for expressing threaded
46 * discussions within the Atom Syndication Format [RFC4287]
48 * @see https://tools.ietf.org/rfc/rfc4685.txt
51 const THREAD = 'http://purl.org/syndication/thread/1.0';
53 * This namespace adds mechanisms to the Atom Syndication Format
54 * that publishers of Atom Feed and Entry documents can use to
55 * explicitly identify Atom entries that have been removed.
57 * @see https://tools.ietf.org/html/rfc6721
60 const TOMB = 'http://purl.org/atompub/tombstones/1.0';
62 * This specification details a model for representing potential and completed activities
63 * using the JSON format.
65 * @see https://www.w3.org/ns/activitystreams
68 const ACTIVITY2 = 'https://www.w3.org/ns/activitystreams#';
72 * This namespace presents an XML format that allows activities on social objects
73 * to be expressed within the Atom Syndication Format.
75 * @see http://activitystrea.ms/spec/1.0
78 const ACTIVITY = 'http://activitystrea.ms/spec/1.0/';
80 * This namespace presents a base set of Object types and Verbs for use with Activity Streams.
82 * @see http://activitystrea.ms/head/activity-schema.html
85 const ACTIVITY_SCHEMA = 'http://activitystrea.ms/schema/1.0/';
87 * Atom Media Extensions
91 const MEDIA = 'http://purl.org/syndication/atommedia';
93 * The Salmon Protocol is an open, simple, standards-based solution that lets
94 * aggregators and sources unify the conversations.
96 * @see http://www.salmon-protocol.org/salmon-protocol-summary
99 const SALMON_ME = 'http://salmon-protocol.org/ns/magic-env';
101 * OStatus is a minimal specification for distributed status updates or microblogging.
103 * @see https://ostatus.github.io/spec/OStatus%201.0%20Draft%202.html
106 const OSTATUSSUB = 'http://ostatus.org/schema/1.0/subscribe';
108 * GeoRSS was designed as a lightweight, community driven way to extend existing feeds with geographic information.
110 * @see http://www.georss.org/
113 const GEORSS = 'http://www.georss.org/georss';
115 * The Portable Contacts specification is designed to make it easier for developers
116 * to give their users a secure way to access the address books and friends lists
117 * they have built up all over the web.
119 * @see http://portablecontacts.net/draft-spec/
122 const POCO = 'http://portablecontacts.net/spec/1.0';
126 const FEED = 'http://schemas.google.com/g/2010#updates-from';
128 * OStatus is a minimal specification for distributed status updates or microblogging.
130 * @see https://ostatus.github.io/spec/OStatus%201.0%20Draft%202.html
133 const OSTATUS = 'http://ostatus.org/schema/1.0';
137 const STATUSNET = 'http://status.net/schema/api/1/';
139 * This namespace describes the Atom Activity Streams in RDF Vocabulary (AAIR),
140 * defined as a dictionary of named properties and classes using W3C's RDF technology,
141 * and specifically a mapping of the Atom Activity Streams work to RDF.
143 * @see http://xmlns.notu.be/aair/#RFC4287
146 const ATOM1 = 'http://www.w3.org/2005/Atom';
151 const MASTODON = 'http://mastodon.social/schema/1.0';
156 const LITEPUB = 'http://litepub.social';
161 const PEERTUBE = 'https://joinpeertube.org';