Domain Governance XSDΒΆ
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 elementFormDefault="qualified" attributeFormDefault="unqualified">
4 <xs:element name="dds" type="DomainAccessRulesNode" />
5 <xs:complexType name="DomainAccessRulesNode">
6 <xs:sequence minOccurs="1" maxOccurs="1">
7 <xs:element name="domain_access_rules"
8 type="DomainAccessRules" />
9 </xs:sequence>
10 </xs:complexType>
11 <xs:complexType name="DomainAccessRules">
12 <xs:sequence minOccurs="1" maxOccurs="unbounded">
13 <xs:element name="domain_rule" type="DomainRule" />
14 </xs:sequence>
15 </xs:complexType>
16 <xs:complexType name="DomainRule">
17 <xs:sequence minOccurs="1" maxOccurs="1">
18 <xs:element name="domains" type="DomainIdSet" />
19 <xs:element name="allow_unauthenticated_participants"
20 type="xs:boolean" />
21 <xs:element name="enable_join_access_control"
22 type="xs:boolean" />
23 <xs:element name="discovery_protection_kind"
24 type="ProtectionKind" />
25 <xs:element name="liveliness_protection_kind"
26 type="ProtectionKind" />
27 <xs:element name="rtps_protection_kind"
28 type="ProtectionKind" />
29 <xs:element name="topic_access_rules"
30 type="TopicAccessRules" />
31 </xs:sequence>
32 </xs:complexType>
33 <xs:complexType name="DomainIdSet">
34 <xs:choice minOccurs="1" maxOccurs="unbounded">
35 <xs:element name="id" type="DomainId" />
36 <xs:element name="id_range" type="DomainIdRange" />
37 </xs:choice>
38 </xs:complexType>
39 <xs:simpleType name="DomainId">
40 <xs:restriction base="xs:nonNegativeInteger" />
41 </xs:simpleType>
42 <xs:complexType name="DomainIdRange">
43 <xs:choice>
44 <xs:sequence>
45 <xs:element name="min" type="DomainId" />
46 <xs:element name="max" type="DomainId" minOccurs="0" />
47 </xs:sequence>
48 <xs:element name="max" type="DomainId" />
49 </xs:choice>
50 </xs:complexType>
51 <xs:simpleType name="ProtectionKind">
52 <xs:restriction base="xs:string">
53 <xs:enumeration value="ENCRYPT_WITH_ORIGIN_AUTHENTICATION" />
54 <xs:enumeration value="SIGN_WITH_ORIGIN_AUTHENTICATION" />
55 <xs:enumeration value="ENCRYPT" />
56 <xs:enumeration value="SIGN" />
57 <xs:enumeration value="NONE" />
58 </xs:restriction>
59 </xs:simpleType>
60 <xs:simpleType name="BasicProtectionKind">
61 <xs:restriction base="ProtectionKind">
62 <xs:enumeration value="ENCRYPT" />
63 <xs:enumeration value="SIGN" />
64 <xs:enumeration value="NONE" />
65 </xs:restriction>
66 </xs:simpleType>
67 <xs:complexType name="TopicAccessRules">
68 <xs:sequence minOccurs="1" maxOccurs="unbounded">
69 <xs:element name="topic_rule" type="TopicRule" />
70 </xs:sequence>
71 </xs:complexType>
72 <xs:complexType name="TopicRule">
73 <xs:sequence minOccurs="1" maxOccurs="1">
74 <xs:element name="topic_expression" type="TopicExpression" />
75 <xs:element name="enable_discovery_protection"
76 type="xs:boolean" />
77 <xs:element name="enable_liveliness_protection"
78 type="xs:boolean" />
79 <xs:element name="enable_read_access_control"
80 type="xs:boolean" />
81 <xs:element name="enable_write_access_control"
82 type="xs:boolean" />
83 <xs:element name="metadata_protection_kind"
84 type="ProtectionKind" />
85 <xs:element name="data_protection_kind"
86 type="BasicProtectionKind" />
87 </xs:sequence>
88 </xs:complexType>
89 <xs:simpleType name="TopicExpression">
90 <xs:restriction base="xs:string" />
91 </xs:simpleType>
92</xs:schema>
Back to the Domain Governance Document.