34 lines
922 B
XML
34 lines
922 B
XML
|
<?xml version="1.0"?>
|
||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
|
|
||
|
<xs:element name="Message" type="Message"/>
|
||
|
|
||
|
<xs:complexType name="Message">
|
||
|
<xs:sequence>
|
||
|
<xs:element name="MetaData" type="MetaData" />
|
||
|
<xs:element name="Content" type="Content"
|
||
|
maxOccurs="unbounded" />
|
||
|
</xs:sequence>
|
||
|
</xs:complexType>
|
||
|
|
||
|
<xs:complexType name="Content">
|
||
|
<xs:sequence>
|
||
|
<xs:any />
|
||
|
</xs:sequence>
|
||
|
<xs:attribute name="type" type="xs:string" />
|
||
|
</xs:complexType>
|
||
|
|
||
|
<!-- Sender ID to be able to reply (maybe not necessary because we already
|
||
|
have Sender ID -->
|
||
|
|
||
|
<xs:complexType name="MetaData">
|
||
|
<xs:sequence>
|
||
|
<xs:element name="Sender" type="xs:string" />
|
||
|
<xs:element name="Recipient" type="xs:string" />
|
||
|
<xs:element name="Time" type="xs:time" />
|
||
|
<xs:element name="Date" type="xs:date" />
|
||
|
<xs:element name="State" type="xs:boolean" />
|
||
|
</xs:sequence>
|
||
|
</xs:complexType>
|
||
|
|
||
|
</xs:schema>
|