]> git.mxchange.org Git - friendica.git/blob - src/Protocol/ActivityNamespace.php
Move Namespace of ActivityNamespace
[friendica.git] / src / Protocol / ActivityNamespace.php
1 <?php
2
3 namespace Friendica\Protocol;
4
5 /**
6  * Activity namespaces constants
7  */
8 final class ActivityNamespace
9 {
10         /**
11          * Zot is a WebMTA which provides a decentralised identity and communications protocol using HTTPS/JSON.
12          *
13          * @var string
14          * @see https://zotlabs.org/page/zotlabs/specs+zot6+home
15          */
16         const ZOT             = 'http://purl.org/zot';
17         /**
18          * Friendica is using ActivityStreams in version 1.0 for its activities and object types.
19          * Additional types are used for non standard activities.
20          *
21          * @var string
22          * @see https://github.com/friendica/friendica/wiki/ActivityStreams
23          */
24         const DFRN            = 'http://purl.org/macgirvin/dfrn/1.0';
25         /**
26          * This namespace defines an extension for expressing threaded
27          * discussions within the Atom Syndication Format [RFC4287]
28          *
29          * @see https://tools.ietf.org/rfc/rfc4685.txt
30          * @var string
31          */
32         const THREAD          = 'http://purl.org/syndication/thread/1.0';
33         /**
34          * This namespace adds mechanisms to the Atom Syndication Format
35          * that publishers of Atom Feed and Entry documents can use to
36          * explicitly identify Atom entries that have been removed.
37          *
38          * @see https://tools.ietf.org/html/rfc6721
39          * @var string
40          */
41         const TOMB            = 'http://purl.org/atompub/tombstones/1.0';
42         /**
43          * This specification details a model for representing potential and completed activities
44          * using the JSON format.
45          *
46          * @see https://www.w3.org/ns/activitystreams
47          * @var string
48          */
49         const ACTIVITY2       = 'https://www.w3.org/ns/activitystreams#';
50         /**
51          * Atom Activities 1.0
52          *
53          * This namespace presents an XML format that allows activities on social objects
54          * to be expressed within the Atom Syndication Format.
55          *
56          * @see http://activitystrea.ms/spec/1.0
57          * @var string
58          */
59         const ACTIVITY        = 'http://activitystrea.ms/spec/1.0/';
60         /**
61          * This namespace presents a base set of Object types and Verbs for use with Activity Streams.
62          *
63          * @see http://activitystrea.ms/head/activity-schema.html
64          * @var string
65          */
66         const ACTIVITY_SCHEMA = 'http://activitystrea.ms/schema/1.0/';
67         /**
68          * Atom Media Extensions
69          *
70          * @var string
71          */
72         const MEDIA           = 'http://purl.org/syndication/atommedia';
73         /**
74          * The Salmon Protocol is an open, simple, standards-based solution that lets
75          * aggregators and sources unify the conversations.
76          *
77          * @see http://www.salmon-protocol.org/salmon-protocol-summary
78          * @var string
79          */
80         const SALMON_ME       = 'http://salmon-protocol.org/ns/magic-env';
81         /**
82          * OStatus is a minimal specification for distributed status updates or microblogging.
83          *
84          * @see https://ostatus.github.io/spec/OStatus%201.0%20Draft%202.html
85          * @var string
86          */
87         const OSTATUSSUB      = 'http://ostatus.org/schema/1.0/subscribe';
88         /**
89          * GeoRSS was designed as a lightweight, community driven way to extend existing feeds with geographic information.
90          *
91          * @see http://www.georss.org/
92          * @var string
93          */
94         const GEORSS          = 'http://www.georss.org/georss';
95         /**
96          * The Portable Contacts specification is designed to make it easier for developers
97          * to give their users a secure way to access the address books and friends lists
98          * they have built up all over the web.
99          *
100          * @see http://portablecontacts.net/draft-spec/
101          * @var string
102          */
103         const POCO            = 'http://portablecontacts.net/spec/1.0';
104         /**
105          * @var string
106          */
107         const FEED            = 'http://schemas.google.com/g/2010#updates-from';
108         /**
109          * OStatus is a minimal specification for distributed status updates or microblogging.
110          *
111          * @see https://ostatus.github.io/spec/OStatus%201.0%20Draft%202.html
112          * @var string
113          */
114         const OSTATUS         = 'http://ostatus.org/schema/1.0';
115         /**
116          * @var string
117          */
118         const STATUSNET       = 'http://status.net/schema/api/1/';
119         /**
120          * This namespace describes the Atom Activity Streams in RDF Vocabulary (AAIR),
121          * defined as a dictionary of named properties and classes using W3C's RDF technology,
122          * and specifically a mapping of the Atom Activity Streams work to RDF.
123          *
124          * @see http://xmlns.notu.be/aair/#RFC4287
125          * @var string
126          */
127         const ATOM1           = 'http://www.w3.org/2005/Atom';
128         /**
129          * @var string
130          */
131         const MASTODON        = 'http://mastodon.social/schema/1.0';
132 }