mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 23:10:10 -05:00
XEP-0234: Add missing received and desc elements in schema.
This commit is contained in:
parent
c2a60d7e5e
commit
f3d3dd21ec
15
xep-0234.xml
15
xep-0234.xml
@ -1017,11 +1017,26 @@ a=file-range:1024-*]]></code>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='received'>
|
||||
<xs:complexType>
|
||||
<xs:attribute name='creator' use='required'>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base='xs:NCName'>
|
||||
<xs:enumeration value='initiator'/>
|
||||
<xs:enumeration value='responder'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name='name' type='xs:string' use='required'/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name='fileTransferElementType'>
|
||||
<xs:all xmlns:h='urn:xmpp:hashes:2' minOccurs='0'>
|
||||
<xs:element name='date' type='xs:date'/>
|
||||
<xs:element name='media-type' type='xs:string'/>
|
||||
<xs:element name='name' type='xs:string'/>
|
||||
<xs:element name='desc' type='xs:string'/>
|
||||
<xs:element name='size' type='xs:positiveInteger'/>
|
||||
<xs:element name='range' type='fileTransferRangeType'/>
|
||||
<xs:element ref='h:hash' minOccurs='0' maxOccurs='unbounded'/>
|
||||
|
Loading…
Reference in New Issue
Block a user