Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions xep-0489.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
<surname>Wild</surname>
<email>mwild1@gmail.com</email>
</author>
<revision>
<version>0.1.1</version>
<date>2025-08-29</date>
<initials>egp</initials>
<remark>
<p>Add the XML Schema.</p>
</remark>
</revision>
<revision>
<version>0.1.0</version>
<date>2024-03-11</date>
Expand Down Expand Up @@ -225,5 +233,38 @@ XEP-0030 with the following addition to the 'account' category:</p>
<doc>XEP-xxxx</doc>
</type>]]></code>
</section1>

<section1 topic='XML Schema' anchor='schema'>
<code><![CDATA[<?xml version='1.0' encoding='UTF-8'?>

<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns='urn:xmpp:raa:0'
targetNamespace='urn:xmpp:raa:0'
elementFormDefault='qualified'>

<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0489: https://xmpp.org/extensions/xep-0489.html
</xs:documentation>
</xs:annotation>

<xs:element name='info'>
<xs:complexType>
<xs:attribute name='affiliation'/>
<xs:attribute name='since' type='xs:dateTime' use='optional'/>
<xs:attribute name='trust' type='trust' use='optional'/>
</xs:complexType>
</xs:element>

<xs:simpleType name="trust">
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="100" />
</xs:restriction>
</xs:simpleType>

</xs:schema>]]></code>
</section1>
</xep>