Expanded message_schema.xsd to support message lists
This commit is contained in:
parent
e795a7cfe9
commit
b9c8a0db44
@ -4,29 +4,36 @@
|
|||||||
xmlns="https://github.com/informatik-ag-ngl"
|
xmlns="https://github.com/informatik-ag-ngl"
|
||||||
elementFormDefault="qualified">
|
elementFormDefault="qualified">
|
||||||
|
|
||||||
<xs:element name="Message">
|
<xs:element name="Messages">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="MetaData">
|
<xs:element name="Message" type="Message" minOccurs="0"
|
||||||
<xs:complexType>
|
maxOccurs="unbounded" />
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="Sender" type="xs:string" />
|
|
||||||
<xs:element name="Recipient" type="xs:string" />
|
|
||||||
<xs:element name="Date" type="xs:date" />
|
|
||||||
<xs:element name="State" type="xs:boolean" />
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
<xs:element name="Content" maxOccurs="unbounded">
|
|
||||||
<xs:complexType>
|
|
||||||
<xs:sequence>
|
|
||||||
<xs:element name="text" type="xs:string"/>
|
|
||||||
</xs:sequence>
|
|
||||||
<xs:attribute name="type" type="xs:string" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:complexType name="Message">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="MetaData">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="Sender" type="xs:string" />
|
||||||
|
<xs:element name="Recipient" type="xs:string" />
|
||||||
|
<xs:element name="Date" type="xs:date" />
|
||||||
|
<xs:element name="State" type="xs:boolean" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="Content" maxOccurs="unbounded">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="text" type="xs:string" />
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="type" type="xs:string" />
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
</xs:schema>
|
</xs:schema>
|
Reference in New Issue
Block a user