This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
envoy/src/main/resources/message_schema.xsd

32 lines
953 B
XML
Raw Normal View History

2019-09-28 14:20:25 +02:00
<?xml version="1.0"?>
2019-09-28 16:21:07 +02:00
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://github.com/informatik-ag-ngl"
xmlns="https://github.com/informatik-ag-ngl"
elementFormDefault="qualified">
2019-09-28 14:20:25 +02:00
2019-09-28 16:21:07 +02:00
<xs:element name="Message">
<xs:complexType>
<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:element>
2019-09-28 14:20:25 +02:00
</xs:schema>