-
Notifications
You must be signed in to change notification settings - Fork 7
/
forward.xsd
45 lines (40 loc) · 1.48 KB
/
forward.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
41
42
43
44
45
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmpp:forward:0'
xmlns='urn:xmpp:forward:0'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0297: https://xmpp.org/extensions/xep-0297.html
</xs:documentation>
</xs:annotation>
<xs:import namespace='jabber:client'
schemaLocation='https://xmpp.org/schemas/jabber-client.xsd'/>
<xs:import namespace='jabber:server'
schemaLocation='https://xmpp.org/schemas/jabber-server.xsd'/>
<xs:import namespace='urn:xmpp:delay'
schemaLocation='https://xmpp.org/schemas/delay.xsd'/>
<xs:element name='forwarded'>
<xs:complexType>
<xs:sequence xmlns:delay='urn:xmpp:delay'
xmlns:client='jabber:client'
xmlns:server='jabber:server'>
<xs:element ref='delay:delay' minOccurs='0' maxOccurs='1' />
<xs:choice minOccurs='0' maxOccurs='1'>
<xs:choice>
<xs:element ref='client:message'/>
<xs:element ref='client:presence'/>
<xs:element ref='client:iq'/>
</xs:choice>
<xs:choice>
<xs:element ref='server:message'/>
<xs:element ref='server:presence'/>
<xs:element ref='server:iq'/>
</xs:choice>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>