New xsd schema to send all users to the client
This commit is contained in:
parent
e795a7cfe9
commit
e902ce0697
23
src/main/resources/userListSchema.xsd
Normal file
23
src/main/resources/userListSchema.xsd
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
<xs:element name="Users">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="User" type="User" minOccurs="0"
|
||||||
|
maxOccurs="unbounded" />
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:complexType name="User">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="UserName" type="xs:string"/>
|
||||||
|
<xs:element name="UserID" type="xs:integer"/>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
</xs:schema>
|
Reference in New Issue
Block a user