|
9 | 9 |
|
10 | 10 | <xsd:complexType name="config">
|
11 | 11 | <xsd:sequence>
|
12 |
| - <xsd:element name="default-commit-options" type="default-commit-options" minOccurs="0" maxOccurs="1" /> |
| 12 | + <xsd:element name="default-commit-options" type="default-commit-options" minOccurs="0" /> |
13 | 13 | <xsd:element name="connection" type="connection" minOccurs="0" maxOccurs="unbounded" />
|
14 | 14 | <xsd:element name="document-manager" type="document-manager" minOccurs="0" maxOccurs="unbounded" />
|
15 | 15 | <xsd:element name="resolve-target-document" type="resolve_target_document" minOccurs="0" maxOccurs="unbounded" />
|
|
46 | 46 |
|
47 | 47 | <xsd:complexType name="connection">
|
48 | 48 | <xsd:sequence>
|
49 |
| - <xsd:element name="options" type="connection-options" minOccurs="0" maxOccurs="1" /> |
50 |
| - <xsd:element name="driver-options" type="connection-driver-options" minOccurs="0" maxOccurs="1" /> |
51 |
| - <xsd:element name="autoEncryption" type="auto-encryption" minOccurs="0" maxOccurs="1" /> |
| 49 | + <xsd:element name="options" type="connection-options" minOccurs="0" /> |
| 50 | + <xsd:element name="driver-options" type="connection-driver-options" minOccurs="0" /> |
| 51 | + <xsd:element name="autoEncryption" type="auto-encryption" minOccurs="0" /> |
52 | 52 | </xsd:sequence>
|
53 | 53 | <xsd:attribute name="id" type="xsd:string" use="required" />
|
54 | 54 | <xsd:attribute name="server" type="xsd:string" />
|
|
125 | 125 |
|
126 | 126 | <xsd:complexType name="auto-encryption">
|
127 | 127 | <xsd:sequence>
|
128 |
| - <xsd:element name="kmsProvider" type="kms-provider" minOccurs="1" maxOccurs="1" /> |
129 |
| - <xsd:element name="masterKey" type="master-key" minOccurs="0" maxOccurs="1" /> |
130 |
| - <xsd:element name="keyVaultClient" type="xsd:string" minOccurs="0" maxOccurs="1" /> |
131 |
| - <xsd:element name="keyVaultNamespace" type="xsd:string" minOccurs="0" maxOccurs="1" /> |
132 |
| - <xsd:element name="tlsOptions" type="tls-options" minOccurs="0" maxOccurs="1" /> |
133 |
| - <xsd:element name="encryptedFieldsMap" type="encrypted-fields-map" minOccurs="0" maxOccurs="1" /> |
134 |
| - <xsd:element name="extraOptions" type="extra-options" minOccurs="0" maxOccurs="1" /> |
| 128 | + <xsd:element name="kmsProvider" type="kms-provider" /> |
| 129 | + <xsd:element name="masterKey" type="master-key" minOccurs="0" /> |
| 130 | + <xsd:element name="keyVaultClient" type="xsd:string" minOccurs="0" /> |
| 131 | + <xsd:element name="keyVaultNamespace" type="xsd:string" minOccurs="0" /> |
| 132 | + <xsd:element name="tlsOptions" type="tls-options" minOccurs="0" /> |
| 133 | + <xsd:element name="encryptedFieldsMap" type="encrypted-fields-map" minOccurs="0" /> |
| 134 | + <xsd:element name="extraOptions" type="extra-options" minOccurs="0" /> |
135 | 135 | </xsd:sequence>
|
136 |
| - <xsd:attribute name="bypassAutoEncryption" type="xsd:boolean" use="optional" /> |
137 |
| - <xsd:attribute name="bypassQueryAnalysis" type="xsd:boolean" use="optional" /> |
| 136 | + <xsd:attribute name="bypassAutoEncryption" type="xsd:boolean" /> |
| 137 | + <xsd:attribute name="bypassQueryAnalysis" type="xsd:boolean" /> |
138 | 138 | </xsd:complexType>
|
139 | 139 |
|
140 | 140 | <xsd:complexType name="kms-provider">
|
141 | 141 | <xsd:attribute name="type" type="xsd:string" use="required" />
|
142 | 142 | <!-- AWS -->
|
143 |
| - <xsd:attribute name="accessKeyId" type="xsd:string" use="optional" /> |
144 |
| - <xsd:attribute name="secretAccessKey" type="xsd:string" use="optional" /> |
145 |
| - <xsd:attribute name="sessionToken" type="xsd:string" use="optional" /> |
| 143 | + <xsd:attribute name="accessKeyId" type="xsd:string" /> |
| 144 | + <xsd:attribute name="secretAccessKey" type="xsd:string" /> |
| 145 | + <xsd:attribute name="sessionToken" type="xsd:string" /> |
146 | 146 | <!-- Azure -->
|
147 |
| - <xsd:attribute name="tenantId" type="xsd:string" use="optional" /> |
148 |
| - <xsd:attribute name="clientId" type="xsd:string" use="optional" /> |
149 |
| - <xsd:attribute name="clientSecret" type="xsd:string" use="optional" /> |
150 |
| - <xsd:attribute name="keyVaultEndpoint" type="xsd:string" use="optional" /> |
151 |
| - <xsd:attribute name="identityPlatformEndpoint" type="xsd:string" use="optional" /> |
152 |
| - <xsd:attribute name="keyName" type="xsd:string" use="optional" /> |
153 |
| - <xsd:attribute name="keyVersion" type="xsd:string" use="optional" /> |
| 147 | + <xsd:attribute name="tenantId" type="xsd:string" /> |
| 148 | + <xsd:attribute name="clientId" type="xsd:string" /> |
| 149 | + <xsd:attribute name="clientSecret" type="xsd:string" /> |
| 150 | + <xsd:attribute name="keyVaultEndpoint" type="xsd:string" /> |
| 151 | + <xsd:attribute name="identityPlatformEndpoint" type="xsd:string" /> |
| 152 | + <xsd:attribute name="keyName" type="xsd:string" /> |
| 153 | + <xsd:attribute name="keyVersion" type="xsd:string" /> |
154 | 154 | <!-- GCP -->
|
155 |
| - <xsd:attribute name="email" type="xsd:string" use="optional" /> |
156 |
| - <xsd:attribute name="privateKey" type="xsd:string" use="optional" /> |
157 |
| - <xsd:attribute name="endpoint" type="xsd:string" use="optional" /> |
158 |
| - <xsd:attribute name="projectId" type="xsd:string" use="optional" /> |
159 |
| - <xsd:attribute name="location" type="xsd:string" use="optional" /> |
160 |
| - <xsd:attribute name="keyRing" type="xsd:string" use="optional" /> |
| 155 | + <xsd:attribute name="email" type="xsd:string" /> |
| 156 | + <xsd:attribute name="privateKey" type="xsd:string" /> |
| 157 | + <xsd:attribute name="endpoint" type="xsd:string" /> |
| 158 | + <xsd:attribute name="projectId" type="xsd:string" /> |
| 159 | + <xsd:attribute name="location" type="xsd:string" /> |
| 160 | + <xsd:attribute name="keyRing" type="xsd:string" /> |
161 | 161 | <!-- Attribute already present for another KMS type -->
|
162 |
| - <!-- <xsd:attribute name="keyName" type="xsd:string" use="optional" /> --> |
163 |
| - <!-- <xsd:attribute name="keyVersion" type="xsd:string" use="optional" /> --> |
| 162 | + <!-- <xsd:attribute name="keyName" type="xsd:string" /> --> |
| 163 | + <!-- <xsd:attribute name="keyVersion" type="xsd:string" /> --> |
164 | 164 | <!-- KMIP -->
|
165 |
| - <!-- <xsd:attribute name="endpoint" type="xsd:string" use="optional" /> --> |
| 165 | + <!-- <xsd:attribute name="endpoint" type="xsd:string" /> --> |
166 | 166 | <!-- Local -->
|
167 |
| - <xsd:attribute name="key" type="xsd:string" use="optional" /> |
| 167 | + <xsd:attribute name="key" type="xsd:string" /> |
168 | 168 | </xsd:complexType>
|
169 | 169 |
|
170 | 170 | <xsd:complexType name="master-key">
|
171 | 171 | <xsd:attribute name="key" type="xsd:string" use="required" />
|
172 | 172 | </xsd:complexType>
|
173 | 173 |
|
174 | 174 | <xsd:complexType name="tls-options">
|
175 |
| - <xsd:attribute name="tlsCAFile" type="xsd:string" use="optional" /> |
176 |
| - <xsd:attribute name="tlsCertificateKeyFile" type="xsd:string" use="optional" /> |
177 |
| - <xsd:attribute name="tlsCertificateKeyFilePassword" type="xsd:string" use="optional" /> |
178 |
| - <xsd:attribute name="tlsDisableOCSPEndpointCheck" type="xsd:boolean" use="optional" /> |
| 175 | + <xsd:attribute name="tlsCAFile" type="xsd:string" /> |
| 176 | + <xsd:attribute name="tlsCertificateKeyFile" type="xsd:string" /> |
| 177 | + <xsd:attribute name="tlsCertificateKeyFilePassword" type="xsd:string" /> |
| 178 | + <xsd:attribute name="tlsDisableOCSPEndpointCheck" type="xsd:boolean" /> |
179 | 179 | </xsd:complexType>
|
180 | 180 |
|
181 | 181 | <xsd:simpleType name="encrypted-fields-map">
|
|
184 | 184 |
|
185 | 185 | <xsd:complexType name="encrypted-queries">
|
186 | 186 | <xsd:attribute name="queryType" type="xsd:string" use="required" />
|
187 |
| - <xsd:attribute name="min" type="xsd:string" use="optional" /> |
188 |
| - <xsd:attribute name="max" type="xsd:string" use="optional" /> |
189 |
| - <xsd:attribute name="sparsity" type="xsd:string" use="optional" /> |
190 |
| - <xsd:attribute name="trimFactor" type="xsd:string" use="optional" /> |
| 187 | + <xsd:attribute name="min" type="xsd:string" /> |
| 188 | + <xsd:attribute name="max" type="xsd:string" /> |
| 189 | + <xsd:attribute name="sparsity" type="xsd:string" /> |
| 190 | + <xsd:attribute name="trimFactor" type="xsd:string" /> |
191 | 191 | </xsd:complexType>
|
192 | 192 |
|
193 | 193 | <xsd:complexType name="extra-options">
|
194 |
| - <xsd:attribute name="mongocryptdURI" type="xsd:string" use="optional" /> |
195 |
| - <xsd:attribute name="mongocryptdBypassSpawn" type="xsd:boolean" use="optional" /> |
196 |
| - <xsd:attribute name="mongocryptdSpawnPath" type="xsd:string" use="optional" /> |
197 |
| - <xsd:attribute name="mongocryptdSpawnArgs" type="xsd:string" use="optional" /> |
198 |
| - <xsd:attribute name="cryptSharedLibPath" type="xsd:string" use="optional" /> |
199 |
| - <xsd:attribute name="cryptSharedLibRequired" type="xsd:boolean" use="optional" /> |
| 194 | + <xsd:attribute name="mongocryptdURI" type="xsd:string" /> |
| 195 | + <xsd:attribute name="mongocryptdBypassSpawn" type="xsd:boolean" /> |
| 196 | + <xsd:attribute name="mongocryptdSpawnPath" type="xsd:string" /> |
| 197 | + <xsd:attribute name="mongocryptdSpawnArgs" type="xsd:string" /> |
| 198 | + <xsd:attribute name="cryptSharedLibPath" type="xsd:string" /> |
| 199 | + <xsd:attribute name="cryptSharedLibRequired" type="xsd:boolean" /> |
200 | 200 | </xsd:complexType>
|
201 | 201 |
|
202 | 202 | <xsd:complexType name="document-manager">
|
203 | 203 | <xsd:choice maxOccurs="unbounded">
|
204 | 204 | <xsd:element name="filter" type="filter" minOccurs="0" maxOccurs="unbounded" />
|
205 | 205 | <xsd:element name="mapping" type="mapping" minOccurs="0" maxOccurs="unbounded" />
|
206 |
| - <xsd:element name="metadata-cache-driver" type="metadata-cache-driver" minOccurs="0" maxOccurs="1" /> |
207 |
| - <xsd:element name="profiler" type="profiler" minOccurs="0" maxOccurs="1" /> |
| 206 | + <xsd:element name="metadata-cache-driver" type="metadata-cache-driver" minOccurs="0" /> |
| 207 | + <xsd:element name="profiler" type="profiler" minOccurs="0" /> |
208 | 208 | </xsd:choice>
|
209 | 209 | <xsd:attribute name="id" type="xsd:string" use="required" />
|
210 | 210 | <xsd:attribute name="auto-mapping" type="xsd:boolean" />
|
|
247 | 247 |
|
248 | 248 | <xsd:complexType name="metadata-cache-driver">
|
249 | 249 | <xsd:all>
|
250 |
| - <xsd:element name="class" type="xsd:string" minOccurs="0" maxOccurs="1" /> |
251 |
| - <xsd:element name="host" type="xsd:string" minOccurs="0" maxOccurs="1" /> |
252 |
| - <xsd:element name="instance-class" type="xsd:string" minOccurs="0" maxOccurs="1" /> |
253 |
| - <xsd:element name="port" type="xsd:integer" minOccurs="0" maxOccurs="1" /> |
| 250 | + <xsd:element name="class" type="xsd:string" minOccurs="0" /> |
| 251 | + <xsd:element name="host" type="xsd:string" minOccurs="0" /> |
| 252 | + <xsd:element name="instance-class" type="xsd:string" minOccurs="0" /> |
| 253 | + <xsd:element name="port" type="xsd:integer" minOccurs="0" /> |
254 | 254 | </xsd:all>
|
255 | 255 | <xsd:attribute name="id" type="xsd:string" />
|
256 | 256 | <xsd:attribute name="type" type="xsd:string" />
|
|
0 commit comments