<abstract>This specification defines how XMPP projects can provide a machine-readable description of their abilities, and how external entities can interact with it.</abstract>
<remark>Accepted by vote of Council on 2021-01-13.</remark>
</revision>
<revision>
<version>0.0.1</version>
<date>2021-01-10</date>
<initials>egp</initials>
<remark><p>First draft.</p></remark>
</revision>
</header>
<section1topic='Introduction'anchor='intro'>
<p>Gathering information on many implementations has always been a chore, there exist various lists or comparisons for XMPP clients, servers and libraries, but these are often out of date, inaccurate, incomplete, or generally unmaintained.</p>
<p>This specification aims at solving this problem by putting the work of publishing and keeping up to date said information onto the maintainers of the software. Given many already do maintain this kind of list, the inconvenience should be minimal.</p>
<p>The information listed SHOULD include, but isn’t limited to, the project name, homepage, description, logo, screenshots if relevant, specifications supported (RFCs and XEPs). A full list of supported properties is described in RDF format at <linkurl='http://usefulinc.com/ns/doap#'>http://usefulinc.com/ns/doap#</link>.</p>
<p>A central point should be defined to gather the list of implementations publishing their information, this specifications proposes <linkurl='https://xmpp.org'>xmpp.org</link> for this purpose.</p>
</section1>
<section1topic='Requirements'anchor='reqs'>
<p>Creating, publishing and maintaining a project description should be as easy as possible for producers.</p>
<p>Fetching, parsing and using a project description should be as easy as possible for consumers.</p>
<p>These two requirements have oriented the choice of technologies towards being as restrictive as possible:</p>
<ul>
<li>The chosen RDF serialisation format MUST be RDF/XML, assuming XMPP project authors are already familiar with XML as a serialisation format.</li>
<li>The resulting file should be published over HTTPS, without access restrictions.</li>
</ul>
</section1>
<section1topic='Glossary'anchor='glossary'>
<dl>
<di>
<dt>DOAP</dt>
<dd>Description of a Project, the chosen RDF format used by this specification to describe the various properties of a project.</dd>
</di>
<di>
<dt>RDF</dt>
<dd>Resource Description Framework, a generic data model framework, supporting many serialisation formats and conversions between them. For the purpose of this specification we will only consider RDF/XML, an XML serialisation format, with the rationale that all XMPP authors are already familiar with this serialisation format.</dd>
</di>
</dl>
</section1>
<section1topic='Use Cases'anchor='usecases'>
<p>A user might want to know which compliance suite level a given client supports before choosing it.</p>
<p>A sysadmin might want to know which compliance suite level a given server supports before choosing it.</p>
<p>An XMPP service might want to propose clients based on their advertised support of what they consider a modern client.</p>
<p>A specification author might want to know the list of projects implementing this specification, their support level and version.</p>
<p>An XMPP enthousiast website might want to automatically update their XMPP comparison page with up to date information.</p>
<section2topic='Examples'anchor='examples'>
<p>This specification won’t list every property one could add to their DOAP file, that is the role of the <linkurl='https://github.com/ewilderj/doap/wiki'>DOAP specification</link>, so it will start with examples.</p>
<p>Here is a minimal DOAP file, containing the same data as the <linkurl='https://xmpp.org/2017/03/new-xmpp-software-listing-rules/'>XMPP Software Listing</link>:</p>
<p>It is recommended to start from such an example and tweak it to correspond to your project.</p>
</section2>
<section2topic='Extensions Specific to XMPP'anchor='extensions'>
<p>As per the requirements, and as you may have seen in the previous example, we want to know the implementation status of each relevant XMPP specification, which isn’t covered by the DOAP specification.</p>
<p>In order to support that, the <linkurl='https://linkmauve.fr/ns/xmpp-doap#'>https://linkmauve.fr/ns/xmpp-doap#</link> namespace defines the <tt><SupportedXep/></tt> element, which sports a few properties:</p>
<table>
<tr>
<th>Property</th>
<th>Description</th>
<th>Required</th>
</tr>
<tr>
<td>xep</td>
<td>The URL to the XEP document.</td>
<td>Required</td>
</tr>
<tr>
<td>status</td>
<td>The support status by this project, can be 'complete', 'partial', 'planned', 'deprecated', 'removed' or 'wontfix'.</td>
<td>Required</td>
</tr>
<tr>
<td>version</td>
<td>XEP version implemented by this software.</td>
<td>Optional</td>
</tr>
<tr>
<td>since</td>
<td>Software version this support first appeared in.</td>
<td>Optional</td>
</tr>
<tr>
<td>note</td>
<td>Any implementation note the project deems relevant.</td>
<td>Optional</td>
</tr>
</table>
</section2>
</section1>
<section1topic='Business Rules'anchor='rules'>
<p>A project SHOULD publish the information it deems relevant in the format defined in this specification.</p>
<p>A project MAY maintain this information in another serialisation (JSON-LD, Turtle…), but MUST submit it in RDF/XML serialisation.</p>
<p>Once satisfied with it, a project SHOULD submit their DOAP file to xmpp.org following <linkurl='https://github.com/xsf/xmpp.org/blob/master/tools/README.rst'>this process</link>.</p>
<p>xmpp.org SHOULD cache and host the given files on the behalf of projects, so that if their website goes down for whichever reason other consumers can keep working as usual.</p>
<p><linkurl='https://schema.org/'>https://schema.org/</link> was also considered, given the considerable overlap in features with DOAP, but it didn’t contain many properties useful for software projects. Parts of its properties are reused in this specification, where DOAP was lacking (namely for the logo, screenshot and documentation properties).</p>
<p><linkurl='https://www.freedesktop.org/software/appstream/docs/'>AppStream</link> was also considered, but it lacks the extensibility and existing tooling of RDF, while being limited to being a description for software installers instead of a generic software description.</p>