mirror of
https://github.com/moparisthebest/xeps
synced 2024-08-13 16:53:48 -04:00
XEP-0359: Add an XML Schema.
This commit is contained in:
parent
4176cdc989
commit
171219782e
30
xep-0359.xml
30
xep-0359.xml
@ -179,7 +179,35 @@
|
||||
</section2>
|
||||
</section1>
|
||||
<section1 topic='XML Schema' anchor='schema'>
|
||||
<p>REQUIRED for protocol specifications.</p>
|
||||
<code><![CDATA[
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<xs:schema
|
||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||
targetNamespace='urn:xmpp:sid:0'
|
||||
elementFormDefault='qualified'>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The protocol documented by this schema is defined in
|
||||
XEP-0359: https://www.xmpp.org/extensions/xep-0359.html
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:element name='stanza-id'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||
<xs:attribute name='by' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='origin-id'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>]]></code>
|
||||
</section1>
|
||||
<section1 topic='Acknowledgements' anchor='ack'>
|
||||
<p>Thanks to Thijs Alkemade and Georg Lukas for providing feedback.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user