-
Notifications
You must be signed in to change notification settings - Fork 7
/
sipub.xsd
49 lines (43 loc) · 1.61 KB
/
sipub.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
46
47
48
49
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://jabber.org/protocol/sipub'
xmlns='http://jabber.org/protocol/sipub'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0137: https://xmpp.org/extensions/xep-0137.html
</xs:documentation>
</xs:annotation>
<xs:element name='sipub'>
<xs:annotation>
<xs:documentation>This is the root content element for advertising a stream.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:any namespace='##other' minOccurs='1' maxOccurs='1'/>
</xs:choice>
<xs:attribute name='id' type='xs:string' use='required'/>
<xs:attribute name='from' type='xs:string' use='optional'/>
<xs:attribute name='mime-type' type='xs:string' use='optional'/>
<xs:attribute name='profile' type='xs:string' use='optional'/>
</xs:complexType>
</xs:element>
<xs:element name='start'>
<xs:annotation>
<xs:documentation>This is the element for requesting retrieval of a stream.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name='id' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
<xs:element name='starting'>
<xs:annotation>
<xs:documentation>This is the element for specifying the stream to be retrieved.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name='sid' type='xs:string' use='required'/>
</xs:complexType>
</xs:element>
</xs:schema>