26 lines
No EOL
927 B
XML
26 lines
No EOL
927 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="urn:xmpp:filetransfer:http"
|
|
xmlns="urn:xmpp:filetransfer:http" elementFormDefault="qualified">
|
|
<xs:element name="file" type="File"/>
|
|
|
|
<xs:complexType name="File">
|
|
<xs:sequence>
|
|
<xs:element name="url" type="xs:anyURI"/>
|
|
<xs:element name="file-info" type="FileInfo"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="FileInfo">
|
|
<xs:sequence>
|
|
<xs:element name="filename" type="xs:string"/>
|
|
<xs:element name="size" type="xs:positiveInteger"/>
|
|
<xs:element name="content-type" type="xs:string" minOccurs="0"/>
|
|
</xs:sequence>
|
|
<xs:attribute name="from" type="xs:string" use="optional"/>
|
|
<xs:attribute name="to" type="xs:string" use="optional"/>
|
|
<xs:attribute name="timestamp" type="xs:positiveInteger"/>
|
|
</xs:complexType>
|
|
|
|
|
|
</xs:schema> |