-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrsm.xsd
40 lines (35 loc) · 1.34 KB
/
rsm.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://jabber.org/protocol/rsm'
xmlns='http://jabber.org/protocol/rsm'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0059: https://xmpp.org/extensions/xep-0059.html
</xs:documentation>
</xs:annotation>
<xs:element name='set'>
<xs:complexType>
<xs:sequence>
<xs:element name='after' type='xs:string' minOccurs='0' maxOccurs='1'/>
<xs:element name='before' type='xs:string' minOccurs='0' maxOccurs='1'/>
<xs:element name='count' type='xs:int' minOccurs='0' maxOccurs='1'/>
<xs:element ref='first' minOccurs='0' maxOccurs='1'/>
<xs:element name='index' type='xs:int' minOccurs='0' maxOccurs='1'/>
<xs:element name='last' type='xs:string' minOccurs='0' maxOccurs='1'/>
<xs:element name='max' type='xs:int' minOccurs='0' maxOccurs='1'/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name='first'>
<xs:complexType>
<xs:simpleContent>
<xs:extension base='xs:string'>
<xs:attribute name='index' type='xs:int' use='optional'/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>