Skip to content

Commit

Permalink
Refs #12277: Added new types to Discovery Server XSD
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Santiago <[email protected]>
  • Loading branch information
jsan-rt committed Dec 2, 2021
1 parent 3504c16 commit 25e1a22
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions resources/xsd/discovery-server.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,20 @@
</xs:simpleContent>
</xs:complexType>

<xs:complexType name="RemoteServerChangeType">
<xs:attribute name="prefix" type="stringType" use="required" />
<xs:attribute name="addess" type="stringType" use="required" />
<xs:attribute name="port" type="uint32Type" use="required" />
</xs:complexType>

<xs:complexType name="ServerListChangeType">
<xs:sequence>
<xs:element name="RemoteServer" type="RemoteServerChangeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="time" type="uint32Type" use="required" />
<xs:attribute name="prefix" type="stringType" use="required" />
</xs:complexType>

<xs:element name="DS">
<xs:complexType>
<xs:all>
Expand Down Expand Up @@ -1069,6 +1083,13 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="serverchange" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="change" type="ServerListChangeType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="user_shutdown" type="xs:boolean" default="true" use="optional" />
<xs:attribute name="prefix_validation" type="xs:boolean" default="true" use="optional" />
Expand Down

0 comments on commit 25e1a22

Please sign in to comment.