<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="https://cdds.io/config" xmlns:config="https://cdds.io/config">
  <xs:element name="CycloneDDS">
    <xs:annotation>
      <xs:documentation>
CycloneDDS configuration</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="config:Domain"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Domain">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The General element specifying Domain related settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Compatibility"/>
        <xs:element minOccurs="0" ref="config:Discovery"/>
        <xs:element minOccurs="0" ref="config:General"/>
        <xs:element minOccurs="0" ref="config:Internal"/>
        <xs:element minOccurs="0" ref="config:Partitioning"/>
        <xs:element minOccurs="0" ref="config:SSL"/>
        <xs:element minOccurs="0" ref="config:Security"/>
        <xs:element minOccurs="0" ref="config:SharedMemory"/>
        <xs:element minOccurs="0" ref="config:Sizing"/>
        <xs:element minOccurs="0" ref="config:TCP"/>
        <xs:element minOccurs="0" ref="config:Threads"/>
        <xs:element minOccurs="0" ref="config:Tracing"/>
      </xs:all>
      <xs:attribute name="Id">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;Domain id this configuration applies to, or "any" if it applies to all domain ids.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;any&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Compatibility">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Compatibility element allows you to specify various settings related to compatibility with standards and with other DDSI implementations.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AssumeRtiHasPmdEndpoints"/>
        <xs:element minOccurs="0" ref="config:ExplicitlyPublishQosSetToDefault"/>
        <xs:element minOccurs="0" ref="config:ManySocketsMode"/>
        <xs:element minOccurs="0" ref="config:StandardsConformance"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AssumeRtiHasPmdEndpoints" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option assumes ParticipantMessageData endpoints required by the liveliness protocol are present in RTI participants even when not properly advertised by the participant discovery protocol.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExplicitlyPublishQosSetToDefault" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies whether QoS settings set to default values are explicitly published in the discovery protocol. Implementations are to use the default value for QoS settings not published, which allows a significant reduction of the amount of data that needs to be exchanged for the discovery protocol, but this requires all implementations to adhere to the default values specified by the specifications.&lt;/p&gt;
&lt;p&gt;When interoperability is required with an implementation that does not follow the specifications in this regard, setting this option to true will help.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ManySocketsMode">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies whether a network socket will be created for each domain participant on a host. The specification seems to assume that each participant has a unique address, and setting this option will ensure this to be the case. This is not the default.&lt;/p&gt;
&lt;p&gt;Disabling it slightly improves performance and reduces network traffic somewhat. It also causes the set of port numbers needed by Cyclone DDS to become predictable, which may be useful for firewall and NAT configuration.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;single&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="false"/>
        <xs:enumeration value="true"/>
        <xs:enumeration value="single"/>
        <xs:enumeration value="none"/>
        <xs:enumeration value="many"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="StandardsConformance">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the level of standards conformance of this instance of the Cyclone DDS Service. Stricter conformance typically means less interoperability with other implementations. Currently, three modes are defined:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;pedantic&lt;/i&gt;: very strictly conform to the specification, ultimately for compliance testing, but currently of little value because it adheres even to what will most likely turn out to be editing errors in the DDSI standard. Arguably, as long as no errata have been published, the current text is in effect, and that is what pedantic currently does.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;strict&lt;/i&gt;: a relatively less strict view of the standard than does pedantic: it follows the established behaviour where the standard is obviously in error.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;lax&lt;/i&gt;: attempt to provide the smoothest possible interoperability, anticipating future revisions of elements in the standard in areas that other implementations do not adhere to, even though there is no good reason not to.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;lax&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="lax"/>
        <xs:enumeration value="strict"/>
        <xs:enumeration value="pedantic"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Discovery">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Discovery element allows you to specify various parameters related to the discovery of peers.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:DSGracePeriod"/>
        <xs:element minOccurs="0" ref="config:DefaultMulticastAddress"/>
        <xs:element minOccurs="0" ref="config:EnableTopicDiscoveryEndpoints"/>
        <xs:element minOccurs="0" ref="config:ExternalDomainId"/>
        <xs:element minOccurs="0" ref="config:LeaseDuration"/>
        <xs:element minOccurs="0" ref="config:MaxAutoParticipantIndex"/>
        <xs:element minOccurs="0" ref="config:ParticipantIndex"/>
        <xs:element minOccurs="0" ref="config:Peers"/>
        <xs:element minOccurs="0" ref="config:Ports"/>
        <xs:element minOccurs="0" ref="config:SPDPInterval"/>
        <xs:element minOccurs="0" ref="config:SPDPMulticastAddress"/>
        <xs:element minOccurs="0" ref="config:Tag"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="DSGracePeriod" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls for how long endpoints discovered via a Cloud discovery service will survive after the discovery service disappears, allowing reconnection without loss of data when the discovery service restarts (or another instance takes over).&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DefaultMulticastAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the default multicast address for all traffic other than participant discovery packets. It defaults to Discovery/SPDPMulticastAddress.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;auto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableTopicDiscoveryEndpoints" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether the built-in endpoints for topic discovery are created and used to exchange topic discovery information.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExternalDomainId" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;An override for the domain id is used to discovery and determine the port number mapping. This allows the creating of multiple domains in a single process while making them appear as a single domain on the network. The value "default" disables the override.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LeaseDuration" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the default participant lease duration.&lt;p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxAutoParticipantIndex" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum DDSI participant index selected by this instance of the Cyclone DDS service if the Discovery/ParticipantIndex is "auto".&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;9&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ParticipantIndex" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the DDSI participant index used by this instance of the Cyclone DDS service for discovery purposes. Only one such participant id is used, independent of the number of actual DomainParticipants on the node. It is either:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;auto&lt;/i&gt;: which will attempt to automatically determine an available participant index (see also Discovery/MaxAutoParticipantIndex), or&lt;/li&gt;
&lt;li&gt;a non-negative integer less than 120, or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;none&lt;/i&gt;:, which causes it to use arbitrary port numbers for unicast sockets which entirely removes the constraints on the participant index but makes unicast discovery impossible.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;none&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Peers">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element statically configures addresses for discovery.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:Peer"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Peer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element statically configures addresses for discovery.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="Address" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This element specifies an IP address to which discovery packets must be sent, in addition to the default multicast address (see also General/AllowMulticast). Both hostnames and a numerical IP address are accepted; the hostname or IP address may be suffixed with :PORT to explicitly set the port to which it must be sent. Multiple Peers may be specified.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Ports">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Ports element specifies various parameters related to the port numbers used for discovery. These all have default values specified by the DDSI 2.1 specification and rarely need to be changed.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Base"/>
        <xs:element minOccurs="0" ref="config:DomainGain"/>
        <xs:element minOccurs="0" ref="config:MulticastDataOffset"/>
        <xs:element minOccurs="0" ref="config:MulticastMetaOffset"/>
        <xs:element minOccurs="0" ref="config:ParticipantGain"/>
        <xs:element minOccurs="0" ref="config:UnicastDataOffset"/>
        <xs:element minOccurs="0" ref="config:UnicastMetaOffset"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Base" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the base port number (refer to the DDSI 2.1 specification, section 9.6.1, constant PB).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;7400&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DomainGain" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the domain gain, relating domain ids to sets of port numbers (refer to the DDSI 2.1 specification, section 9.6.1, constant DG).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;250&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastDataOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for multicast data traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d2).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastMetaOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for multicast meta traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d0).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ParticipantGain" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the participant gain, relating p0, participant index to sets of port numbers (refer to the DDSI 2.1 specification, section 9.6.1, constant PG).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UnicastDataOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for unicast data traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d3).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;11&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UnicastMetaOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for unicast meta traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d1).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPInterval" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the interval between spontaneous transmissions of participant discovery packets.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPMulticastAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the multicast address used as the destination for the participant discovery packets. In IPv4 mode the default is the (standardised) 239.255.0.1, in IPv6 mode it becomes ff02::ffff:239.255.0.1, which is a non-standardised link-local multicast address.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;239.255.0.1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Tag" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;String extension for domain id that remote participants must match to be discovered.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="General">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The General element specifies overall Cyclone DDS service settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AllowMulticast"/>
        <xs:element minOccurs="0" ref="config:DontRoute"/>
        <xs:element minOccurs="0" ref="config:EnableMulticastLoopback"/>
        <xs:element minOccurs="0" ref="config:EntityAutoNaming"/>
        <xs:element minOccurs="0" ref="config:ExternalNetworkAddress"/>
        <xs:element minOccurs="0" ref="config:ExternalNetworkMask"/>
        <xs:element minOccurs="0" ref="config:FragmentSize"/>
        <xs:element minOccurs="0" ref="config:Interfaces"/>
        <xs:element minOccurs="0" ref="config:MaxMessageSize"/>
        <xs:element minOccurs="0" ref="config:MaxRexmitMessageSize"/>
        <xs:element minOccurs="0" ref="config:MulticastRecvNetworkInterfaceAddresses"/>
        <xs:element minOccurs="0" ref="config:MulticastTimeToLive"/>
        <xs:element minOccurs="0" ref="config:RedundantNetworking"/>
        <xs:element minOccurs="0" ref="config:Transport"/>
        <xs:element minOccurs="0" ref="config:UseIPv6"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AllowMulticast">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS uses multicasts for data traffic.&lt;/p&gt;
&lt;p&gt;It is a comma-separated list of some of the following keywords: "spdp", "asm", "ssm", or either of "false" or "true", or "default".&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;spdp&lt;/i&gt;: enables the use of ASM (any-source multicast) for participant discovery, joining the multicast group on the discovery socket, transmitting SPDP messages to this group, but never advertising nor using any multicast address in any discovery message, thus forcing unicast communications for all endpoint discovery and user data.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;asm&lt;/i&gt;: enables the use of ASM for all traffic, including receiving SPDP but not transmitting SPDP messages via multicast&lt;/li&gt;
&lt;li&gt;&lt;i&gt;ssm&lt;/i&gt;: enables the use of SSM (source-specific multicast) for all non-SPDP traffic (if supported)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When set to "false" all multicasting is disabled. The default, "true" enables the full use of multicasts. Listening for multicasts can be controlled by General/MulticastRecvNetworkInterfaceAddresses.&lt;/p&gt;
&lt;p&gt;"default" maps on spdp if the network is a WiFi network, on true if it is a wired network&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="default|((false|spdp|asm|ssm|true)(,(false|spdp|asm|ssm|true))*)"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="DontRoute" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows setting the SO_DONTROUTE option for outgoing packets to bypass the local routing tables. This is generally useful only when the routing tables cannot be trusted, which is highly unusual.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableMulticastLoopback" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies whether Cyclone DDS allows IP multicast packets to be visible to all DDSI participants in the same node, including itself. It must be "true" for intra-node multicast communications. However, if a node runs only a single Cyclone DDS service and does not host any other DDSI-capable programs, it should be set to "false" for improved performance.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EntityAutoNaming">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the entity autonaming mode. By default set to 'empty' which means no name will be set (but you can still use dds_qset_entity_name). When set to 'fancy' participants, publishers, subscribers, writers, and readers will get randomly generated names. An autonamed entity will share a 3-letter prefix with their parent entity.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;empty&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:restriction base="xs:anyType">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="empty"/>
              <xs:enumeration value="fancy"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:attribute name="seed">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;Provide an initial seed for the entity naming. Your string will be hashed to provide the random state. When provided, the same sequence of names is generated every run. Creating your entities in the same order will ensure they are the same between runs. If you run multiple nodes, set this via environment variable to ensure every node generates unique names. A random starting seed is chosen when left empty, (the default). &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:restriction>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExternalNetworkAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows explicitly overruling the network address Cyclone DDS advertises in the discovery protocol, which by default is the address of the preferred network interface (General/NetworkInterfaceAddress), to allow Cyclone DDS to communicate across a Network Address Translation (NAT) device.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;auto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExternalNetworkMask" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the network mask of the external network address. This element is relevant only when an external network address (General/ExternalNetworkAddress) is explicitly configured. In this case locators received via the discovery protocol that are within the same external subnet (as defined by this mask) will be translated to an internal address by replacing the network portion of the external address with the corresponding portion of the preferred network interface address. This option is IPv4-only.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0.0.0.0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="FragmentSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the size of DDSI sample fragments generated by Cyclone DDS. Samples larger than FragmentSize are fragmented into fragments of FragmentSize bytes each, except the last one, which may be smaller. The DDSI spec mandates a minimum fragment size of 1025 bytes, but Cyclone DDS will do whatever size is requested, accepting fragments of which the size is at least the minimum of 1025 and FragmentSize.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1344 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Interfaces">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the network interfaces for use by Cyclone DDS. Multiple interfaces can be specified with an assigned priority. The list in use will be sorted by priority. If interfaces have an equal priority, the specification order will be preserved.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:NetworkInterface"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkInterface">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a network interface. You can set autodetermine="true" to autoselect the interface CycloneDDS considers the highest quality. If autodetermine="false" (the default), you must specify the name and/or address attribute. If you specify both, they must match the same interface.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="address">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the address of the interface. With ipv4 allows  matching on the network part if the host part is set to zero. &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="autodetermine">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;If set to "true" an interface is automatically selected. Specifying a name or an address when automatic is set is considered an error.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="multicast">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies whether the interface should use multicast. On its default setting, 'default', it will use the value as return by the operating system. If set to 'true', the interface will be assumed to be multicast capable even when the interface flags returned by the operating system state it is not (this provides a workaround for some platforms). If set to 'false', the interface will never be used for multicast.
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="name">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the name of the interface. &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="prefer_multicast" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;When false (default), Cyclone DDS uses unicast for data whenever a single unicast suffices. Setting this to true makes it prefer multicasting data, falling back to unicast only when no multicast is available.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="presence_required" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;By default, all specified network interfaces must be present; if they are missing Cyclone will not start. By explicitly setting this setting for an interface, you can instruct Cyclone to ignore that interface if it is not present.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="priority">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the interface priority (decimal integer or &lt;i&gt;default&lt;/i&gt;). The default value for loopback interfaces is 2, for all other interfaces it is 0.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxMessageSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum size of the UDP payload that Cyclone DDS will generate. Cyclone DDS will try to maintain this limit within the bounds of the DDSI specification, which means that in some cases (especially for very low values of MaxMessageSize) larger payloads may sporadically be observed (currently up to 1192 B).&lt;/p&gt;
&lt;p&gt;On some networks it may be necessary to set this item to keep the packetsize below the MTU to prevent IP fragmentation.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;14720 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxRexmitMessageSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum size of the UDP payload that Cyclone DDS will generate for a retransmit. Cyclone DDS will try to maintain this limit within the bounds of the DDSI specification, which means that in some cases (especially for very low values) larger payloads may sporadically be observed (currently up to 1192 B).&lt;/p&gt;
&lt;p&gt;On some networks it may be necessary to set this item to keep the packetsize below the MTU to prevent IP fragmentation.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1456 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastRecvNetworkInterfaceAddresses" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies which network interfaces Cyclone DDS listens to multicasts. The following options are available:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;all&lt;/i&gt;: listen for multicasts on all multicast-capable interfaces; or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;any&lt;/i&gt;: listen for multicasts on the operating system default interface; or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;preferred&lt;/i&gt;: listen for multicasts on the preferred interface (General/Interface/NetworkInterface with the highest priority); or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;none&lt;/i&gt;: does not listen for multicasts on any interface; or&lt;/li&gt;
&lt;li&gt;a comma-separated list of network addresses: configures Cyclone DDS to listen for multicasts on all listed addresses.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If Cyclone DDS is in IPv6 mode and the address of the preferred network interface is a link-local address, "all" is treated as a synonym for "preferred" and a comma-separated list is treated as "preferred" if it contains the preferred interface and as "none" if not.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;preferred&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastTimeToLive" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the time-to-live setting for outgoing multicast packets.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;32&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RedundantNetworking" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;When enabled, use selected network interfaces in parallel for redundancy.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Transport">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows selecting the transport to be used (udp, udp6, tcp, tcp6, raweth)&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="default"/>
        <xs:enumeration value="udp"/>
        <xs:enumeration value="udp6"/>
        <xs:enumeration value="tcp"/>
        <xs:enumeration value="tcp6"/>
        <xs:enumeration value="raweth"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="UseIPv6">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Deprecated (use Transport instead)&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="false"/>
        <xs:enumeration value="true"/>
        <xs:enumeration value="default"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Internal">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Internal elements deal with a variety of settings that are evolving and that are not necessarily fully supported. For the majority of the Internal settings the functionality is supported, but the right to change the way the options control the functionality is reserved. This includes renaming or moving options.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AccelerateRexmitBlockSize"/>
        <xs:element minOccurs="0" ref="config:AckDelay"/>
        <xs:element minOccurs="0" ref="config:AutoReschedNackDelay"/>
        <xs:element minOccurs="0" ref="config:BuiltinEndpointSet"/>
        <xs:element minOccurs="0" ref="config:BurstSize"/>
        <xs:element minOccurs="0" ref="config:ControlTopic"/>
        <xs:element minOccurs="0" ref="config:DefragReliableMaxSamples"/>
        <xs:element minOccurs="0" ref="config:DefragUnreliableMaxSamples"/>
        <xs:element minOccurs="0" ref="config:DeliveryQueueMaxSamples"/>
        <xs:element minOccurs="0" ref="config:EnableExpensiveChecks"/>
        <xs:element minOccurs="0" ref="config:GenerateKeyhash"/>
        <xs:element minOccurs="0" ref="config:HeartbeatInterval"/>
        <xs:element minOccurs="0" ref="config:LateAckMode"/>
        <xs:element minOccurs="0" ref="config:LivelinessMonitoring"/>
        <xs:element minOccurs="0" ref="config:MaxParticipants"/>
        <xs:element minOccurs="0" ref="config:MaxQueuedRexmitBytes"/>
        <xs:element minOccurs="0" ref="config:MaxQueuedRexmitMessages"/>
        <xs:element minOccurs="0" ref="config:MaxSampleSize"/>
        <xs:element minOccurs="0" ref="config:MeasureHbToAckLatency"/>
        <xs:element minOccurs="0" ref="config:MonitorPort"/>
        <xs:element minOccurs="0" ref="config:MultipleReceiveThreads"/>
        <xs:element minOccurs="0" ref="config:NackDelay"/>
        <xs:element minOccurs="0" ref="config:PreEmptiveAckDelay"/>
        <xs:element minOccurs="0" ref="config:PrimaryReorderMaxSamples"/>
        <xs:element minOccurs="0" ref="config:PrioritizeRetransmit"/>
        <xs:element minOccurs="0" ref="config:RediscoveryBlacklistDuration"/>
        <xs:element minOccurs="0" ref="config:RetransmitMerging"/>
        <xs:element minOccurs="0" ref="config:RetransmitMergingPeriod"/>
        <xs:element minOccurs="0" ref="config:RetryOnRejectBestEffort"/>
        <xs:element minOccurs="0" ref="config:SPDPResponseMaxDelay"/>
        <xs:element minOccurs="0" ref="config:SecondaryReorderMaxSamples"/>
        <xs:element minOccurs="0" ref="config:SocketReceiveBufferSize"/>
        <xs:element minOccurs="0" ref="config:SocketSendBufferSize"/>
        <xs:element minOccurs="0" ref="config:SquashParticipants"/>
        <xs:element minOccurs="0" ref="config:SynchronousDeliveryLatencyBound"/>
        <xs:element minOccurs="0" ref="config:SynchronousDeliveryPriorityThreshold"/>
        <xs:element minOccurs="0" ref="config:Test"/>
        <xs:element minOccurs="0" ref="config:UnicastResponseToSPDPMessages"/>
        <xs:element minOccurs="0" ref="config:UseMulticastIfMreqn"/>
        <xs:element minOccurs="0" ref="config:Watermarks"/>
        <xs:element minOccurs="0" ref="config:WriterLingerDuration"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AccelerateRexmitBlockSize" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Proxy readers that are assumed to still be retrieving historical data get this many samples retransmitted when they NACK something, even if some of these samples have sequence numbers outside the set covered by the NACK.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AckDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between sending identical acknowledgements.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AutoReschedNackDelay" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the interval with which a reader will continue NACK'ing missing samples in the absence of a response from the writer, as a protection mechanism against writers incorrectly stopping the sending of HEARTBEAT messages.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;3 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="BuiltinEndpointSet">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls which participants will have which built-in endpoints for the discovery and liveliness protocols. Valid values are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;full&lt;/i&gt;: all participants have all endpoints;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;writers&lt;/i&gt;: all participants have the writers, but just one has the readers;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;minimal&lt;/i&gt;: only one participant has built-in endpoints.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default is &lt;i&gt;writers&lt;/i&gt;, as this is thought to be compliant and reasonably efficient. &lt;i&gt;Minimal&lt;/i&gt; may or may not be compliant but is most efficient, and &lt;i&gt;full&lt;/i&gt; is inefficient but certain to be compliant.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;writers&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="full"/>
        <xs:enumeration value="writers"/>
        <xs:enumeration value="minimal"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="BurstSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting for controlling the size of transmitting bursts.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:MaxInitTransmit"/>
        <xs:element minOccurs="0" ref="config:MaxRexmit"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxInitTransmit" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies how much more than the (presumed or discovered) receive buffer size may be sent when transmitting a sample for the first time, expressed as a percentage; the remainder will then be handled via retransmits. Usually, the receivers can keep up with the transmitter, at least on average, so generally it is better to hope for the best and recover. Besides, the retransmits will be unicast, and so any multicast advantage will be lost as well.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4294967295&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxRexmit" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the amount of data to be retransmitted in response to one NACK.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 MiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ControlTopic">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The ControlTopic element allows configured whether Cyclone DDS provides a special control interface via a predefined topic or not.&lt;p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType/>
  </xs:element>
  <xs:element name="DefragReliableMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum number of samples that can be defragmented simultaneously for a reliable writer. This has to be large enough to handle retransmissions of historical data in addition to new samples.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;16&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DefragUnreliableMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum number of samples that can be defragmented simultaneously for best-effort writers.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DeliveryQueueMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the maximum size of a delivery queue, expressed in samples. Once a delivery queue is full, incoming samples destined for that queue are dropped until space becomes available again.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;256&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableExpensiveChecks">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables expensive checks in builds with assertions enabled and is ignored otherwise. Recognised categories are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;whc&lt;/i&gt;: writer history cache checking&lt;/li&gt;
&lt;li&gt;&lt;i&gt;rhc&lt;/i&gt;: reader history cache checking&lt;/li&gt;
&lt;li&gt;&lt;i&gt;xevent&lt;/i&gt;: xevent checking&lt;/li&gt;
&lt;p&gt;In addition, there is the keyword &lt;i&gt;all&lt;/i&gt; that enables all checks.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="((whc|rhc|xevent|all)(,(whc|rhc|xevent|all))*)|"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="GenerateKeyhash" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;When true, include keyhashes in outgoing data for topics with keys.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="HeartbeatInterval">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows configuring the base interval for sending writer heartbeats and the bounds within which it can vary.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;100 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="config:duration_inf">
          <xs:attribute name="max" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the maximum interval for periodic heartbeats.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;8 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="min" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the minimum interval that must have passed since the most recent heartbeat from a writer, before another asynchronous (not directly related to writing) will be sent.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;5 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="minsched" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the minimum interval for periodic heartbeats. Other events may still cause heartbeats to go out.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;20 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="LateAckMode" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Ack a sample only when it has been delivered, instead of when committed to delivering it.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LivelinessMonitoring">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether or not implementation should internally monitor its own liveliness. If liveliness monitoring is enabled, stack traces can be dumped automatically when some thread appears to have stopped making progress.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:boolean">
          <xs:attribute name="Interval" type="config:duration">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This element controls the interval to check whether threads have been making progress.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="StackTraces" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This element controls whether or not to write stack traces to the DDSI2 trace when a thread fails to make progress (on select platforms only).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxParticipants" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This elements configures the maximum number of DCPS domain participants this Cyclone DDS instance is willing to service. 0 is unlimited.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxQueuedRexmitBytes" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;512 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxQueuedRexmitMessages" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting limits the maximum number of samples queued for retransmission.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;200&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxSampleSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the maximum (CDR) serialised size of samples that Cyclone DDS will forward in either direction. Samples larger than this are discarded with a warning.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2147483647 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MeasureHbToAckLatency" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables heartbeat-to-ack latency among Cyclone DDS services by prepending timestamps to Heartbeat and AckNack messages and calculating round trip times. This is non-standard behaviour. The measured latencies are quite noisy and are currently not used anywhere.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MonitorPort" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows configuring a service that dumps a text description of part the internal state to TCP clients. By default (-1), this is disabled; specifying 0 means a kernel-allocated port is used; a positive number is used as the TCP port number.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;-1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MultipleReceiveThreads">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether all traffic is handled by a single receive thread (false) or whether multiple receive threads may be used to improve latency (true). By default it is disabled on Windows because it appears that one cannot count on being able to send packets to oneself, which is necessary to stop the thread during shutdown. Currently multiple receive threads are only used for connectionless transport (e.g., UDP) and ManySocketsMode not set to single (the default).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:restriction base="xs:anyType">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="false"/>
              <xs:enumeration value="true"/>
              <xs:enumeration value="default"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:attribute name="maxretries" type="xs:integer">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;Receive threads dedicated to a single socket can only be triggered for termination by sending a packet. Reception of any packet will do, so termination failure due to packet loss is exceedingly unlikely, but to eliminate all risks, it will retry as many times as specified by this attribute before aborting.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4294967295&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:restriction>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="NackDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between receipt of a HEARTBEAT indicating missing samples and a NACK (ignored when the HEARTBEAT requires an answer). However, no NACK is sent if a NACK had been scheduled already for a response earlier than the delay requests: then that NACK will incorporate the latest information.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;100 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PreEmptiveAckDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between the discovering a remote writer and sending a pre-emptive AckNack to discover the available range of data.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrimaryReorderMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum size in samples of a primary re-order administration. Each proxy writer has one primary re-order administration to buffer the packet flow in case some packets arrive out of order. Old samples are forwarded to secondary re-order administrations associated with readers needing historical data.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrioritizeRetransmit" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether retransmits are prioritized over new data, speeding up recovery.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RediscoveryBlacklistDuration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls for how long a remote participant that was previously deleted will remain on a blacklist to prevent rediscovery, giving the software on a node time to perform any cleanup actions it needs to do. To some extent this delay is required internally by Cyclone DDS, but in the default configuration with the 'enforce' attribute set to false, Cyclone DDS will reallow rediscovery as soon as it has cleared its internal administration. Setting it to too small a value may result in the entry being pruned from the blacklist before Cyclone DDS is ready, it is therefore recommended to set it to at least several seconds.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="config:duration_inf">
          <xs:attribute name="enforce" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute controls whether the configured time during which recently deleted participants will not be rediscovered (i.e., "black listed") is enforced and following complete removal of the participant in Cyclone DDS, or whether it can be rediscovered earlier provided all traces of that participant have been removed already.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="RetransmitMerging">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This elements controls the addressing and timing of retransmits. Possible values are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;never&lt;/i&gt;: retransmit only to the NACK-ing reader;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;adaptive&lt;/i&gt;: attempt to combine retransmits needed for reliability, but send historical (transient-local) data to the requesting reader only;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;always&lt;/i&gt;: do not distinguish between different causes, always try to merge.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default is &lt;i&gt;never&lt;/i&gt;. See also Internal/RetransmitMergingPeriod.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;never&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="never"/>
        <xs:enumeration value="adaptive"/>
        <xs:enumeration value="always"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="RetransmitMergingPeriod" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting determines the time window size in which a NACK of some sample is ignored because a retransmit of that sample has been multicasted too recently. This setting has no effect on unicasted retransmits.&lt;/p&gt;
&lt;p&gt;See also Internal/RetransmitMerging.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;5 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RetryOnRejectBestEffort" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Whether or not to locally retry pushing a received best-effort sample into the reader caches when resource limits are reached.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPResponseMaxDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Maximum pseudo-random delay in milliseconds between discovering aremote participant and responding to it.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SecondaryReorderMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum size in samples of a secondary re-order administration. The secondary re-order administration is per reader needing historical data.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SocketReceiveBufferSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The settings in this element control the size of the socket receive buffers. The operating system provides some size receive buffer upon creation of the socket, this option can be used to increase the size of the buffer beyond that initially provided by the operating system. If the buffer size cannot be increased to the requested minimum size, an error is reported.&lt;/p&gt;
&lt;p&gt;The default setting requests a buffer size of 1MiB but accepts whatever is available after that.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="max" type="config:memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the size of the socket receive buffer to request, with the special value of "default" indicating that it should try to satisfy the minimum buffer size. If both are at "default", it will request 1MiB and accept anything. It is ignored if the  maximum is set to less than the minimum.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="min" type="config:memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the minimum acceptable socket receive buffer size, with the special value "default" indicating that whatever is available is acceptable.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SocketSendBufferSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The settings in this element control the size of the socket send buffers. The operating system provides some size send buffer upon creation of the socket, this option can be used to increase the size of the buffer beyond that initially provided by the operating system. If the buffer size cannot be increased to the requested minimum size, an error is reported.&lt;/p&gt;
&lt;p&gt;The default setting requires a buffer of at least 64KiB.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="max" type="config:memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the size of the socket send buffer to request, with the special value of "default" indicating that it should try to satisfy the minimum buffer size. If both are at "default", it will use whatever is the system default. It is ignored if the maximum is set to less than the minimum.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="min" type="config:memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the minimum acceptable socket send buffer size, with the special value "default" indicating that whatever is available is acceptable.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;64 KiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SquashParticipants" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS advertises all the domain participants it serves in DDSI (when set to &lt;i&gt;false&lt;/i&gt;), or rather only one domain participant (the one corresponding to the Cyclone DDS process; when set to &lt;i&gt;true&lt;/i&gt;). In the latter case, Cyclone DDS becomes the virtual owner of all readers and writers of all domain participants, dramatically reducing discovery traffic (a similar effect can be obtained by setting Internal/BuiltinEndpointSet to "minimal" but with less loss of information).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SynchronousDeliveryLatencyBound" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether samples sent by a writer with QoS settings transport_priority &gt;= SynchronousDeliveryPriorityThreshold and a latency_budget at most this element's value will be delivered synchronously from the "recv" thread, all others will be delivered asynchronously through delivery queues. This reduces latency at the expense of aggregate bandwidth.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;inf&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SynchronousDeliveryPriorityThreshold" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether samples sent by a writer with QoS settings latency_budget &lt;= SynchronousDeliveryLatencyBound and transport_priority greater than or equal to this element's value will be delivered synchronously from the "recv" thread, all others will be delivered asynchronously through delivery queues. This reduces latency at the expense of aggregate bandwidth.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Test">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Testing options.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="config:XmitLossiness"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="XmitLossiness" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the fraction of outgoing packets to drop, specified as samples per thousand.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UnicastResponseToSPDPMessages" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether the response to a newly discovered participant is sent as a unicasted SPDP packet instead of rescheduling the periodic multicasted one. There is no known benefit to setting this to &lt;i&gt;false&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UseMulticastIfMreqn" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Do not use.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Watermarks">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Watermarks for flow-control.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:WhcAdaptive"/>
        <xs:element minOccurs="0" ref="config:WhcHigh"/>
        <xs:element minOccurs="0" ref="config:WhcHighInit"/>
        <xs:element minOccurs="0" ref="config:WhcLow"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="WhcAdaptive" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS will adapt the high-water mark to current traffic conditions based on retransmit requests and transmit pressure.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcHigh" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum allowed high-water mark for the Cyclone DDS WHCs, expressed in bytes. A writer is suspended when the WHC reaches this size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;500 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcHighInit" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the initial level of the high-water mark for the Cyclone DDS WHCs, expressed in bytes.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcLow" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the low-water mark for the Cyclone DDS WHCs, expressed in bytes. A suspended writer resumes transmitting when its Cyclone DDS WHC shrinks to this size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WriterLingerDuration" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the maximum duration for which actual deletion of a reliable writer with unacknowledged data in its history will be postponed to provide proper reliable transmission.&lt;p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Partitioning">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Partitioning element specifies Cyclone DDS network partitions and how DCPS partition/topic combinations are mapped onto the network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:IgnoredPartitions"/>
        <xs:element minOccurs="0" ref="config:NetworkPartitions"/>
        <xs:element minOccurs="0" ref="config:PartitionMappings"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="IgnoredPartitions">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The IgnoredPartitions element specifies DCPS partition/topic combinations that are not distributed over the network.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:IgnoredPartition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IgnoredPartition">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element can prevent certain combinations of DCPS partition and topic from being transmitted over the network. Cyclone DDS will completely ignore readers and writers for which all DCPS partitions as well as their topic is ignored, not even creating DDSI readers and writers to mirror the DCPS ones.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="DCPSPartitionTopic" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies a partition and a topic expression, separated by a single '.', which are used to determine if a given partition and topic will be ignored or not. The expressions may use the usual wildcards '*' and '?'. Cyclone DDS will consider a wildcard DCPS partition to match an expression if a string that satisfies both expressions exists.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkPartitions">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The NetworkPartitions element specifies the Cyclone DDS network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:NetworkPartition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkPartition">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a Cyclone DDS network partition.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="Address" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the addresses associated with the network partition as a comma-separated list. The addresses are typically multicast addresses. Non-multicast addresses are allowed, provided the "Interface" attribute is not used:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;An address matching the address or the "external address" (see General/ExternalNetworkAddress; default is the actual address) of a configured interface results in adding the corresponding "external" address to the set of advertised unicast addresses.&lt;/li&gt;&lt;li&gt;An address corresponding to the (external) address of a configured interface, but not the address of the host itself, for example, a match when masking the addresses with the netmask for IPv4, results in adding the external address. For IPv4, this requires the host part to be all-zero.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Readers matching this network partition (cf. Partitioning/PartitionMappings) will advertise all addresses listed to the matching writers via the discovery protocol and will join the specified multicast groups. The writers will select the most suitable address from the addresses advertised by the readers.&lt;/p&gt;&lt;p&gt;The unicast addresses advertised by a reader are the only unicast addresses a writer will use to send data to it and are used to select the subset of network interfaces to use for transmitting multicast data with the intent of reaching it.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Interface">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute takes a comma-separated list of interface name that the reader is willing to receive data on. This is implemented by adding the interface addresses to the set address set configured using the sibling "Address" attribute. See there for more details.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Name" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the name of this Cyclone DDS network partition. Two network partitions cannot have the same name. Partition mappings (cf. Partitioning/PartitionMappings) refer to network partitions using these names.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="PartitionMappings">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The PartitionMappings element specifies the mapping from DCPS partition/topic combinations to Cyclone DDS network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:PartitionMapping"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PartitionMapping">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a mapping from a DCPS partition/topic combination to a Cyclone DDS network partition. This allows partitioning data flows by using special multicast addresses for part of the data and possibly encrypting the data flow.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="DCPSPartitionTopic" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies a partition and a topic expression, separated by a single '.', which are used to determine if a given partition and topic maps to the Cyclone DDS network partition named by the NetworkPartition attribute in this PartitionMapping element. The expressions may use the usual wildcards '*' and '?'. Cyclone DDS will consider a wildcard DCPS partition to match an expression if there exists a string that satisfies both expressions.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="NetworkPartition" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies which Cyclone DDS network partition is to be used for DCPS partition/topic combinations matching the DCPSPartitionTopic attribute within this PartitionMapping element.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SSL">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL element allows specifying various parameters related to using SSL/TLS for DDSI over TCP.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:CertificateVerification"/>
        <xs:element minOccurs="0" ref="config:Ciphers"/>
        <xs:element minOccurs="0" name="Enable" type="xs:boolean">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This enables SSL/TLS for TCP.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="config:EntropyFile"/>
        <xs:element minOccurs="0" ref="config:KeyPassphrase"/>
        <xs:element minOccurs="0" ref="config:KeystoreFile"/>
        <xs:element minOccurs="0" ref="config:MinimumTLSVersion"/>
        <xs:element minOccurs="0" ref="config:SelfSignedCertificates"/>
        <xs:element minOccurs="0" ref="config:VerifyClient"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="CertificateVerification" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;If disabled this allows SSL connections to occur even if an X509 certificate fails verification.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Ciphers" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The set of ciphers used by SSL/TLS&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EntropyFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS random entropy file name.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="KeyPassphrase" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS key pass phrase for encrypted keys.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;secret&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="KeystoreFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS key and certificate store file name. The keystore must be in PEM format.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;keystore&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MinimumTLSVersion" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The minimum TLS version that may be negotiated, valid values are 1.2 and 1.3.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1.3&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SelfSignedCertificates" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This enables the use of self signed X509 certificates.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="VerifyClient" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This enables an SSL server to check the X509 certificate of a connecting client.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Security">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to configure Cyclone DDS with the DDS Security specification plugins and settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AccessControl"/>
        <xs:element minOccurs="0" ref="config:Authentication"/>
        <xs:element minOccurs="0" ref="config:Cryptographic"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AccessControl">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Access Control plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Governance"/>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Access Control plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of Access Control plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_access_control&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of Access Control plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Access Control interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_access_control&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of Access Control plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_ac ) or single file without extension ( dds_security_ac ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the library is located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_ac&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:Permissions"/>
        <xs:element minOccurs="0" ref="config:PermissionsCA"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Governance" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the shared Governance Document signed by the Permissions CA in S/MIME format&lt;/p&gt;
&lt;p&gt;URI schemes: file, data&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Examples file URIs:&lt;/p&gt;
&lt;p&gt;&lt;Governance&gt;file:governance.smime&lt;/Governance&gt;&lt;/p&gt;
&lt;p&gt;&lt;Governance&gt;file:/home/myuser/governance.smime&lt;/Governance&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;Governance&gt;&lt;![CDATA[data:,MIME-Version: 1.0&lt;/p&gt;
&lt;p&gt;Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----F9A8A198D6F08E1285A292ADF14DD04F"&lt;/p&gt;
&lt;p&gt;This is an S/MIME signed message &lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F&lt;/p&gt;
&lt;p&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;/p&gt;
&lt;p&gt;&lt;dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;/p&gt;
&lt;p&gt;xsi:noNamespaceSchemaLocation="omg_shared_ca_governance.xsd"&gt;&lt;/p&gt;
&lt;p&gt;&lt;domain_access_rules&gt;&lt;/p&gt;
&lt;p&gt; . . . &lt;/p&gt;
&lt;p&gt;&lt;/domain_access_rules&gt;&lt;/p&gt;
&lt;p&gt;&lt;/dds&gt;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F&lt;/p&gt;
&lt;p&gt;Content-Type: application/x-pkcs7-signature; name="smime.p7s"&lt;/p&gt;
&lt;p&gt;Content-Transfer-Encoding: base64&lt;/p&gt;
&lt;p&gt;Content-Disposition: attachment; filename="smime.p7s"&lt;/p&gt;
&lt;p&gt;MIIDuAYJKoZIhv ...al5s=&lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F-]]&lt;/Governance&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Permissions" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the DomainParticipant permissions document signed by the Permissions CA in S/MIME format&lt;/p&gt;
&lt;p&gt;The permissions document specifies the permissions to be applied to a domain.&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Example file URIs:&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;file:permissions_document.p7s&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;file:/path_to/permissions_document.p7s&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;Example data URI:&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;&lt;![CDATA[data:,.........]]&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PermissionsCA" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to an X509 certificate for the PermissionsCA in PEM format.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;The file and data schemas shall refer to a X.509 v3 certificate (see X.509 v3 ITU-T Recommendation X.509 (2005) [39]) in PEM format.&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Examples:&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;PermissionsCA&gt;file:permissions_ca.pem&lt;/PermissionsCA&gt;&lt;/p&gt;
&lt;p&gt;&lt;PermissionsCA&gt;file:/home/myuser/permissions_ca.pem&lt;/PermissionsCA&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;PermissionsCA&gt;data:&lt;strong&gt;,&lt;/strong&gt;-----BEGIN CERTIFICATE-----&lt;/p&gt;
&lt;p&gt;MIIC3DCCAcQCCQCWE5x+Z ... PhovK0mp2ohhRLYI0ZiyYQ==&lt;/p&gt;
&lt;p&gt;-----END CERTIFICATE-----&lt;/PermissionsCA&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Authentication">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Authentication plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:CRL"/>
        <xs:element ref="config:IdentityCA"/>
        <xs:element ref="config:IdentityCertificate"/>
        <xs:element minOccurs="0" ref="config:IncludeOptionalFields"/>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Access Control plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of the Authentication plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_authentication&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of the Authentication plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Authentication interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_authentication&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of the Authentication plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_auth ) or single file without extension ( dds_security_auth ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the library is located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_auth&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:Password"/>
        <xs:element ref="config:PrivateKey"/>
        <xs:element minOccurs="0" ref="config:TrustedCADirectory"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="CRL" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Optional URI to load an X509 Certificate Revocation List&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;CRL&gt;file:crl.pem&lt;/CRL&gt;&lt;/p&gt;
&lt;p&gt;&lt;CRL&gt;data:,-----BEGIN X509 CRL-----&lt;br&gt;
MIIEpAIBAAKCAQEA3HIh...AOBaaqSV37XBUJg=&lt;br&gt;
-----END X509 CRL-----&lt;/CRL&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IdentityCA" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the X509 certificate [39] of the Identity CA that is the signer of Identity Certificate.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;The file and data schemas shall refer to a X.509 v3 certificate (see X.509 v3 ITU-T Recommendation X.509 (2005) [39]) in PEM format.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;IdentityCA&gt;file:identity_ca.pem&lt;/IdentityCA&gt;&lt;/p&gt;
&lt;p&gt;&lt;IdentityCA&gt;data:,-----BEGIN CERTIFICATE-----&lt;br&gt;
MIIC3DCCAcQCCQCWE5x+Z...PhovK0mp2ohhRLYI0ZiyYQ==&lt;br&gt;
-----END CERTIFICATE-----&lt;/IdentityCA&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IdentityCertificate" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;An identity certificate will identify all participants in the OSPL instance.&lt;br&gt;The content is URI to an X509 certificate signed by the IdentityCA in PEM format containing the signed public key.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;IdentityCertificate&gt;file:participant1_identity_cert.pem&lt;/IdentityCertificate&gt;&lt;/p&gt;
&lt;p&gt;&lt;IdentityCertificate&gt;data:,-----BEGIN CERTIFICATE-----&lt;br&gt;
MIIDjjCCAnYCCQDCEu9...6rmT87dhTo=&lt;br&gt;
-----END CERTIFICATE-----&lt;/IdentityCertificate&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IncludeOptionalFields" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The authentication handshake tokens may contain optional fields to be included for finding interoperability problems. If this parameter is set to true the optional fields are included in the handshake token exchange.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Password" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;A password is used to decrypt the private_key.&lt;/p&gt;
&lt;p&gt;The value of the password property shall be interpreted as the Base64 encoding of the AES-128 key that shall be used to decrypt the private_key using AES128-CBC.&lt;/p&gt;
&lt;p&gt;If the password property is not present, then the value supplied in the private_key property must contain the unencrypted private key.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrivateKey" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to access the private Private Key for all of the participants in the OSPL federation.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;PrivateKey&gt;file:identity_ca_private_key.pem&lt;/PrivateKey&gt;&lt;/p&gt;
&lt;p&gt;&lt;PrivateKey&gt;data:,-----BEGIN RSA PRIVATE KEY-----&lt;br&gt;
MIIEpAIBAAKCAQEA3HIh...AOBaaqSV37XBUJg==&lt;br&gt;
-----END RSA PRIVATE KEY-----&lt;/PrivateKey&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="TrustedCADirectory" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Trusted CA Directory which contains trusted CA certificates as separated files.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Cryptographic">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Cryptographic plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Cryptographic plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of the Cryptographic plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of the Cryptographic plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Cryptographic interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of the Cryptographic plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_crypto ) or single file without extension ( dds_security_crypto ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the is library located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SharedMemory">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Shared Memory element allows specifying various parameters related to using shared memory.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" name="Enable" type="xs:boolean">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element allows for enabling shared memory in Cyclone DDS.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="config:Locator"/>
        <xs:element minOccurs="0" ref="config:LogLevel"/>
        <xs:element minOccurs="0" ref="config:Prefix"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Locator" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Explicitly set the Iceoryx locator used by Cyclone to check whether a pair of processes is attached to the same Iceoryx shared memory.  The default is to use one of the MAC addresses of the machine, which should work well in most cases.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LogLevel">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element decides the verbosity level of shared memory message:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;off&lt;/i&gt;: no log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;fatal&lt;/i&gt;: show fatal log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;error&lt;/i&gt;: show error log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;warn&lt;/i&gt;: show warn log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;info&lt;/i&gt;: show info log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;debug&lt;/i&gt;: show debug log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;verbose&lt;/i&gt;: show verbose log&lt;/li&gt;
&lt;p&gt;If you don't want to see any log from shared memory, use &lt;i&gt;off&lt;/i&gt; to disable logging.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;info&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="off"/>
        <xs:enumeration value="fatal"/>
        <xs:enumeration value="error"/>
        <xs:enumeration value="warn"/>
        <xs:enumeration value="info"/>
        <xs:enumeration value="debug"/>
        <xs:enumeration value="verbose"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Prefix" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Override the Iceoryx service name used by Cyclone.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;DDS_CYCLONE&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Sizing">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Sizing element allows you to specify various configuration settings dealing with expected system sizes, buffer sizes, &amp;c.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:ReceiveBufferChunkSize"/>
        <xs:element minOccurs="0" ref="config:ReceiveBufferSize"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReceiveBufferChunkSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the size of one allocation unit in the receive buffer. It must be greater than the maximum packet size by a modest amount (too large packets are dropped). Each allocation is shrunk immediately after processing a message or freed straightaway.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128 KiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ReceiveBufferSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the size of a single receive buffer. Many receive buffers may be needed. The minimum workable size is a little larger than Sizing/ReceiveBufferChunkSize, and the value used is taken as the configured value and the actual minimum workable size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 MiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="TCP">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The TCP element allows you to specify various parameters related to running DDSI over TCP.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AlwaysUsePeeraddrForUnicast"/>
        <xs:element minOccurs="0" name="Enable">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element enables the optional TCP transport - deprecated, use General/Transport instead.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="false"/>
              <xs:enumeration value="true"/>
              <xs:enumeration value="default"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:NoDelay"/>
        <xs:element minOccurs="0" ref="config:Port"/>
        <xs:element minOccurs="0" ref="config:ReadTimeout"/>
        <xs:element minOccurs="0" ref="config:WriteTimeout"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AlwaysUsePeeraddrForUnicast" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting this to true means the unicast addresses in SPDP packets will be ignored, and the peer address from the TCP connection will be used instead. This may help work around incorrectly advertised addresses when using TCP.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="NoDelay" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables the TCP_NODELAY socket option, preventing multiple DDSI messages from being sent in the same TCP request. Setting this option typically optimises latency over throughput.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Port" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the TCP port number on which Cyclone DDS accepts connections. If the port is set, it is used in entity locators, published with DDSI discovery, dynamically allocated if zero, and disabled if -1 or not configured. If disabled other DDSI services will not be able to establish connections with the service, the service can only communicate by establishing connections to other services.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;-1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ReadTimeout" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the timeout for blocking TCP read operations. If this timeout expires then the connection is closed.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WriteTimeout" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the timeout for blocking TCP write operations. If this timeout expires then the connection is closed.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Threads">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to set thread properties.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:Thread"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Thread">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to set thread properties.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Scheduling"/>
        <xs:element minOccurs="0" ref="config:StackSize"/>
      </xs:all>
      <xs:attribute name="Name" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;The Name of the thread for which properties are being set. The following threads exist:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;gc&lt;/i&gt;: garbage collector thread involved in deleting entities;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;recv&lt;/i&gt;: receive thread, taking data from the network and running the protocol state machine;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;dq.builtins&lt;/i&gt;: delivery thread for DDSI-builtin data, primarily for discovery;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;lease&lt;/i&gt;: DDSI liveliness monitoring;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tev&lt;/i&gt;: general timed-event handling, retransmits and discovery;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;fsm&lt;/i&gt;: finite state machine thread for handling security handshake;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;xmit.CHAN&lt;/i&gt;: transmit thread for channel CHAN;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;dq.CHAN&lt;/i&gt;: delivery thread for channel CHAN;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tev.CHAN&lt;/i&gt;: timed-event thread for channel CHAN.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Scheduling">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the scheduling properties of the thread.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Class"/>
        <xs:element minOccurs="0" ref="config:Priority"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Class">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the thread scheduling class (&lt;i&gt;realtime&lt;/i&gt;, &lt;i&gt;timeshare&lt;/i&gt; or &lt;i&gt;default&lt;/i&gt;). The user may need special privileges from the underlying operating system to be able to assign some of the privileged scheduling classes.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="realtime"/>
        <xs:enumeration value="timeshare"/>
        <xs:enumeration value="default"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Priority" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the thread priority (decimal integer or &lt;i&gt;default&lt;/i&gt;). Only priorities supported by the underlying operating system can be assigned to this element. The user may need special privileges from the underlying operating system to be able to assign some of the privileged priorities.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="StackSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the stack size for this thread. The default value &lt;i&gt;default&lt;/i&gt; leaves the stack size at the operating system default.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Tracing">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Tracing element controls the amount and type of information that is written into the tracing log by the DDSI service. This is useful to track the DDSI service during application development.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AppendToFile"/>
        <xs:element minOccurs="0" ref="config:Category"/>
        <xs:element minOccurs="0" ref="config:OutputFile"/>
        <xs:element minOccurs="0" ref="config:PacketCaptureFile"/>
        <xs:element minOccurs="0" ref="config:Verbosity"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AppendToFile" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies whether the output should be appended to an existing log file. The default is to create a new log file each time, which is generally the best option if a detailed log is generated.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Category">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables individual logging categories. These are enabled in addition to those enabled by Tracing/Verbosity. Recognised categories are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;fatal&lt;/i&gt;: all fatal errors, errors causing immediate termination&lt;/li&gt;
&lt;li&gt;&lt;i&gt;error&lt;/i&gt;: failures probably impacting correctness but not necessarily causing immediate termination&lt;/li&gt;
&lt;li&gt;&lt;i&gt;warning&lt;/i&gt;: abnormal situations that will likely not impact correctness&lt;/li&gt;
&lt;li&gt;&lt;i&gt;config&lt;/i&gt;: full dump of the configuration&lt;/li&gt;
&lt;li&gt;&lt;i&gt;info&lt;/i&gt;: general informational notices&lt;/li&gt;
&lt;li&gt;&lt;i&gt;discovery&lt;/i&gt;: all discovery activity&lt;/li&gt;
&lt;li&gt;&lt;i&gt;data&lt;/i&gt;: include data content of samples in traces&lt;/li&gt;
&lt;li&gt;&lt;i&gt;radmin&lt;/i&gt;: receive buffer administration&lt;/li&gt;
&lt;li&gt;&lt;i&gt;timing&lt;/i&gt;: periodic reporting of CPU loads per thread&lt;/li&gt;
&lt;li&gt;&lt;i&gt;traffic&lt;/i&gt;: periodic reporting of total outgoing data&lt;/li&gt;
&lt;li&gt;&lt;i&gt;whc&lt;/i&gt;: tracing of writer history cache changes&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tcp&lt;/i&gt;: tracing of TCP-specific activity&lt;/li&gt;
&lt;li&gt;&lt;i&gt;topic&lt;/i&gt;: tracing of topic definitions&lt;/li&gt;
&lt;li&gt;&lt;i&gt;plist&lt;/i&gt;: tracing of discovery parameter list interpretation&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;In addition, there is the keyword &lt;i&gt;trace&lt;/i&gt; that enables all but &lt;i&gt;radmin&lt;/i&gt;, &lt;i&gt;topic&lt;/i&gt;, &lt;i&gt;plist&lt;/i&gt; and &lt;i&gt;whc&lt;/i&gt;&lt;/p&gt;.
&lt;p&gt;The categorisation of tracing output is incomplete and hence most of the verbosity levels and categories are not of much use in the current release. This is an ongoing process and here we describe the target situation rather than the current situation. Currently, the most useful is &lt;i&gt;trace&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="((fatal|error|warning|info|config|discovery|data|radmin|timing|traffic|topic|tcp|plist|whc|throttle|rhc|content|shm|trace)(,(fatal|error|warning|info|config|discovery|data|radmin|timing|traffic|topic|tcp|plist|whc|throttle|rhc|content|shm|trace))*)|"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="OutputFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies where the logging is printed to. Note that &lt;i&gt;stdout&lt;/i&gt; and &lt;i&gt;stderr&lt;/i&gt; are treated as special values, representing "standard out" and "standard error" respectively. No file is created unless logging categories are enabled using the Tracing/Verbosity or Tracing/EnabledCategory settings.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;cyclonedds.log&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PacketCaptureFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies the file to which received and sent packets will be logged in the "pcap" format suitable for analysis using common networking tools, such as WireShark. IP and UDP headers are fictitious, in particular the destination address of received packets. The TTL may be used to distinguish between sent and received packets: it is 255 for sent packets and 128 for received ones. Currently IPv4 only.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Verbosity">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables standard groups of categories, based on a desired verbosity level. This is in addition to the categories enabled by the Tracing/Category setting. Recognised verbosity levels and the categories they map to are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;none&lt;/i&gt;: no Cyclone DDS log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;severe&lt;/i&gt;: error and fatal&lt;/li&gt;
&lt;li&gt;&lt;i&gt;warning&lt;/i&gt;: &lt;i&gt;severe&lt;/i&gt; + warning&lt;/li&gt;
&lt;li&gt;&lt;i&gt;info&lt;/i&gt;: &lt;i&gt;warning&lt;/i&gt; + info&lt;/li&gt;
&lt;li&gt;&lt;i&gt;config&lt;/i&gt;: &lt;i&gt;info&lt;/i&gt; + config&lt;/li&gt;
&lt;li&gt;&lt;i&gt;fine&lt;/i&gt;: &lt;i&gt;config&lt;/i&gt; + discovery&lt;/li&gt;
&lt;li&gt;&lt;i&gt;finer&lt;/i&gt;: &lt;i&gt;fine&lt;/i&gt; + traffic and timing&lt;/li&gt;
&lt;li&gt;&lt;i&gt;finest&lt;/i&gt;: &lt;i&gt;finer&lt;/i&gt; + trace&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;While &lt;i&gt;none&lt;/i&gt; prevents any message from being written to a DDSI2 log file.&lt;/p&gt;
&lt;p&gt;The categorisation of tracing output is incomplete and hence most of the verbosity levels and categories are not of much use in the current release. This is an ongoing process and here we describe the target situation rather than the current situation. Currently, the most useful verbosity levels are &lt;i&gt;config&lt;/i&gt;, &lt;i&gt;fine&lt;/i&gt; and &lt;i&gt;finest&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;none&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="finest"/>
        <xs:enumeration value="finer"/>
        <xs:enumeration value="fine"/>
        <xs:enumeration value="config"/>
        <xs:enumeration value="info"/>
        <xs:enumeration value="warning"/>
        <xs:enumeration value="severe"/>
        <xs:enumeration value="none"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:simpleType name="bandwidth">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([kMG]i?)?[Bb][p/]s"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="duration">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="duration_inf">
    <xs:restriction base="xs:token">
      <xs:pattern value="inf|0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="memsize">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([kMG]i?)?B"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
<!--- generated from ddsi_config.h[7f55b8f40b2e7f5984106abb0470128eb3d50017] -->
<!--- generated from ddsi__cfgunits.h[bd22f0c0ed210501d0ecd3b07c992eca549ef5aa] -->
<!--- generated from ddsi__cfgelems.h[771184755c23b94599f2ffd6e8c242dcea7d2658] -->
<!--- generated from ddsi_config.c[d8a0f6c998ffacc345e27681620e5f1a70cc5337] -->
<!--- generated from _confgen.h[1b1d88a85bd851f4e87118505ded33f7b33b0435] -->
<!--- generated from _confgen.c[237308acd53897a34e8c643e16e05a61d73ffd65] -->
<!--- generated from generate_rnc.c[b50e4b7ab1d04b2bc1d361a0811247c337b74934] -->
<!--- generated from generate_md.c[789b92e422631684352909cfb8bf43f6ceb16a01] -->
<!--- generated from generate_rst.c[636ceeed42784e8508dd412b88dfd5f3b44b191b] -->
<!--- generated from generate_xsd.c[6b6818d7f17a35d56c376c04ec1410427f34c0f0] -->
<!--- generated from generate_defconfig.c[ee80ba6719e71a457a85f1a638fe52f3756916d5] -->
