VirtualBox

source: vbox/trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd@ 2521

Last change on this file since 2521 was 2521, checked in by vboxsync, 18 years ago

Main and XML changes for VRDP multiconnection mode (at least 2 more commits will follow: VRDP server with working milticonnection clipboard and Console ClientLogon change to take the multiconnection flag into account).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 22.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * :tabSize=2:indentSize=2:noTabs=true:
4 * :folding=explicit:collapseFolds=1:
5 *
6 * InnoTek VirtualBox Settings Schema
7 * Common definitions
8
9 * Copyright (C) 2006 InnoTek Systemberatung GmbH
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License as published by the Free Software Foundation,
15 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
16 * distribution. VirtualBox OSE is distributed in the hope that it will
17 * be useful, but WITHOUT ANY WARRANTY of any kind.
18 *
19 * If you received this file as part of a commercial VirtualBox
20 * distribution, then only the terms of your commercial VirtualBox
21 * license agreement apply instead of the previous paragraph.
22-->
23
24<xsd:schema
25 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
26 xmlns="http://www.innotek.de/VirtualBox-settings"
27 xmlns:vb="http://www.innotek.de/VirtualBox-settings"
28 targetNamespace="http://www.innotek.de/VirtualBox-settings"
29 elementFormDefault="qualified"
30>
31
32<xsd:annotation>
33 <xsd:documentation xml:lang="en">
34 InnoTek VirtualBox Settings Schema (common definitions).
35 Copyright (c) 2004-2007 InnoTek Systemberatung GmbH.
36 </xsd:documentation>
37</xsd:annotation>
38
39<!--
40// Simple types
41/////////////////////////////////////////////////////////////////////////
42-->
43
44<xsd:simpleType name="TUUID">
45 <xsd:restriction base="xsd:token">
46 <xsd:pattern value="\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}"/>
47 </xsd:restriction>
48</xsd:simpleType>
49
50<xsd:simpleType name="TNonNullUUID">
51 <xsd:restriction base="TUUID">
52 <xsd:pattern value=".*[1-9A-Fa-f]+.*"/>
53 </xsd:restriction>
54</xsd:simpleType>
55
56<xsd:simpleType name="TUInt64">
57 <xsd:restriction base="xsd:string">
58 <xsd:pattern value="0x[A-Fa-f0-9]{1,16}"/>
59 </xsd:restriction>
60</xsd:simpleType>
61
62<xsd:simpleType name="TLocalFile">
63 <xsd:restriction base="xsd:string">
64 <xsd:pattern value=".+"/>
65 </xsd:restriction>
66</xsd:simpleType>
67
68<xsd:simpleType name="TDiskType">
69 <xsd:restriction base="xsd:token">
70 <xsd:enumeration value="HD"/>
71 <xsd:enumeration value="DVD"/>
72 <xsd:enumeration value="FD"/>
73 </xsd:restriction>
74</xsd:simpleType>
75
76<xsd:simpleType name="TDeviceType">
77 <xsd:restriction base="xsd:token">
78 <xsd:enumeration value="None"/>
79 <xsd:enumeration value="Floppy"/>
80 <xsd:enumeration value="DVD"/>
81 <xsd:enumeration value="HardDisk"/>
82 <xsd:enumeration value="Network"/>
83 </xsd:restriction>
84</xsd:simpleType>
85
86<xsd:simpleType name="TUSBDeviceFilterAction">
87 <xsd:restriction base="xsd:token">
88 <xsd:enumeration value="Ignore"/>
89 <xsd:enumeration value="Hold"/>
90 </xsd:restriction>
91</xsd:simpleType>
92
93<xsd:simpleType name="TNonEmptyString">
94 <xsd:restriction base="xsd:string">
95 <xsd:pattern value=".+"/>
96 </xsd:restriction>
97</xsd:simpleType>
98
99<xsd:simpleType name="TPresentDateTimeUTC">
100 <xsd:restriction base="xsd:dateTime">
101 <xsd:minInclusive value="1900-01-01T00:00:00Z"/>
102 <xsd:maxInclusive value="199999999-12-31T23:59:59Z"/>
103 <xsd:pattern value=".+-.+-.+T.+:.+:[0-9]{2}Z"/>
104 </xsd:restriction>
105</xsd:simpleType>
106
107<xsd:simpleType name="TGuestOSType">
108 <xsd:restriction base="xsd:string">
109 <xsd:enumeration value="unknown"/>
110 <xsd:enumeration value="dos"/>
111 <xsd:enumeration value="win31"/>
112 <xsd:enumeration value="win95"/>
113 <xsd:enumeration value="win98"/>
114 <xsd:enumeration value="winme"/>
115 <xsd:enumeration value="winnt4"/>
116 <xsd:enumeration value="win2k"/>
117 <xsd:enumeration value="winxp"/>
118 <xsd:enumeration value="win2k3"/>
119 <xsd:enumeration value="winvista"/>
120 <xsd:enumeration value="os2warp3"/>
121 <xsd:enumeration value="os2warp4"/>
122 <xsd:enumeration value="os2warp45"/>
123 <xsd:enumeration value="linux22"/>
124 <xsd:enumeration value="linux24"/>
125 <xsd:enumeration value="linux26"/>
126 <xsd:enumeration value="freebsd"/>
127 <xsd:enumeration value="openbsd"/>
128 <xsd:enumeration value="netbsd"/>
129 <xsd:enumeration value="netware"/>
130 <xsd:enumeration value="solaris"/>
131 <xsd:enumeration value="l4"/>
132 </xsd:restriction>
133</xsd:simpleType>
134
135<!--- @todo (dmik) capitalize enum values on next format change! -->
136<!--- @todo (dmik) change "null" to None" -->
137<xsd:simpleType name="TVRDPAuthType">
138 <xsd:restriction base="xsd:string">
139 <xsd:enumeration value="null"/>
140 <xsd:enumeration value="guest"/>
141 <xsd:enumeration value="external"/>
142 </xsd:restriction>
143</xsd:simpleType>
144
145<xsd:simpleType name="TNetworkAdapterType">
146 <xsd:restriction base="xsd:string">
147 <xsd:enumeration value="Am79C970A"/>
148 <xsd:enumeration value="Am79C973"/>
149 </xsd:restriction>
150</xsd:simpleType>
151
152<xsd:simpleType name="TTriStateBoolType">
153 <xsd:restriction base="xsd:string">
154 <xsd:enumeration value="false"/>
155 <xsd:enumeration value="true"/>
156 <xsd:enumeration value="default"/>
157 </xsd:restriction>
158</xsd:simpleType>
159
160<!--- @todo (dmik) capitalize enum values on next format change! -->
161<xsd:simpleType name="TBIOSBootMenuModeType">
162 <xsd:restriction base="xsd:string">
163 <xsd:enumeration value="disabled"/>
164 <xsd:enumeration value="menuonly"/>
165 <xsd:enumeration value="messageandmenu"/>
166 </xsd:restriction>
167</xsd:simpleType>
168
169<xsd:simpleType name="TClipboardMode">
170 <xsd:restriction base="xsd:string">
171 <xsd:enumeration value="Disabled"/>
172 <xsd:enumeration value="HostToGuest"/>
173 <xsd:enumeration value="GuestToHost"/>
174 <xsd:enumeration value="Bidirectional"/>
175 </xsd:restriction>
176</xsd:simpleType>
177
178<!--
179// Complex types
180/////////////////////////////////////////////////////////////////////////
181-->
182
183<xsd:complexType name="TImage">
184 <xsd:attribute name="src" type="TLocalFile" use="required"/>
185 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
186</xsd:complexType>
187
188<xsd:complexType name="TVirtualDiskImage">
189 <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
190</xsd:complexType>
191
192<xsd:complexType name="TDiffHardDisk">
193 <xsd:sequence>
194 <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
195 <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
196 </xsd:sequence>
197 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
198</xsd:complexType>
199
200<xsd:complexType name="THardDisk">
201 <xsd:sequence>
202 <xsd:choice>
203 <xsd:element name="VirtualDiskImage" type="TVirtualDiskImage"/>
204 <xsd:element name="ISCSIHardDisk">
205 <xsd:complexType>
206 <xsd:attribute name="server" type="xsd:token" use="required"/>
207 <xsd:attribute name="port" type="xsd:unsignedShort" default="0"/>
208 <xsd:attribute name="target" type="xsd:token" use="required"/>
209 <xsd:attribute name="lun" type="TUInt64" default="0x0"/>
210 <xsd:attribute name="userName" type="xsd:token"/>
211 <xsd:attribute name="password" type="xsd:token"/>
212 </xsd:complexType>
213 </xsd:element>
214 <xsd:element name="VMDKImage">
215 <xsd:complexType>
216 <xsd:attribute name="filePath" type="TLocalFile" use="required"/>
217 </xsd:complexType>
218 </xsd:element>
219 <xsd:element name="PhysicalVolume">
220 <xsd:complexType>
221 <xsd:attribute name="path" type="TLocalFile" use="required"/>
222 </xsd:complexType>
223 </xsd:element>
224 </xsd:choice>
225 <xsd:element name="DiffHardDisk" type="TDiffHardDisk" minOccurs="0" maxOccurs="unbounded"/>
226 </xsd:sequence>
227 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
228 <xsd:attribute name="type" use="required">
229 <xsd:simpleType>
230 <xsd:restriction base="xsd:string">
231 <xsd:enumeration value="normal"/>
232 <xsd:enumeration value="immutable"/>
233 <xsd:enumeration value="writethrough"/>
234 </xsd:restriction>
235 </xsd:simpleType>
236 </xsd:attribute>
237</xsd:complexType>
238
239<xsd:complexType name="TImageRef">
240 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
241</xsd:complexType>
242
243<xsd:complexType name="THostDrive">
244 <xsd:attribute name="src" type="TLocalFile" use="required"/>
245</xsd:complexType>
246
247<xsd:complexType name="TUSBDeviceFilter">
248 <!--- @todo (dmik) make all attr names likeThis on next format change! -->
249 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
250 <xsd:attribute name="active" type="xsd:boolean" use="required"/>
251 <xsd:attribute name="vendorid" type="xsd:token"/>
252 <xsd:attribute name="productid" type="xsd:token"/>
253 <xsd:attribute name="revision" type="xsd:token"/>
254 <xsd:attribute name="manufacturer" type="xsd:token"/>
255 <xsd:attribute name="product" type="xsd:token"/>
256 <xsd:attribute name="serialnumber" type="xsd:token"/>
257 <xsd:attribute name="port" type="xsd:token"/>
258 <xsd:attribute name="remote" type="xsd:token"/>
259</xsd:complexType>
260
261<xsd:complexType name="THostUSBDeviceFilter">
262 <xsd:complexContent>
263 <xsd:extension base="TUSBDeviceFilter">
264 <xsd:attribute name="action" type="TUSBDeviceFilterAction" use="required"/>
265 </xsd:extension>
266 </xsd:complexContent>
267</xsd:complexType>
268
269<xsd:complexType name="TSystemProperties">
270 <xsd:attribute name="defaultVDIFolder" type="TLocalFile"/>
271 <xsd:attribute name="defaultMachineFolder" type="TLocalFile"/>
272 <!--- @todo (dmik) remove defaultSavedStateFolder on next format change! -->
273 <xsd:attribute name="defaultSavedStateFolder" type="TLocalFile"/>
274 <xsd:attribute name="remoteDisplayAuthLibrary" type="TLocalFile"/>
275 <xsd:attribute name="HWVirtExEnabled" type="xsd:boolean"/>
276</xsd:complexType>
277
278<xsd:complexType name="TExtraData">
279 <xsd:sequence>
280 <xsd:element name="ExtraDataItem" minOccurs="0" maxOccurs="unbounded">
281 <xsd:complexType>
282 <xsd:attribute name="name" type="xsd:token" use="required"/>
283 <xsd:attribute name="value" type="xsd:string" use="required"/>
284 </xsd:complexType>
285 </xsd:element>
286 </xsd:sequence>
287</xsd:complexType>
288
289<xsd:complexType name="TGlobal">
290 <xsd:all>
291 <xsd:element name="MachineRegistry">
292 <xsd:complexType>
293 <xsd:sequence>
294 <xsd:element name="MachineEntry" minOccurs="0" maxOccurs="unbounded">
295 <xsd:complexType>
296 <xsd:attribute name="src" type="TLocalFile" use="required"/>
297 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
298 </xsd:complexType>
299 </xsd:element>
300 </xsd:sequence>
301 </xsd:complexType>
302 </xsd:element>
303 <xsd:element name="DiskRegistry">
304 <xsd:complexType>
305 <xsd:all>
306 <xsd:element name="HardDisks" minOccurs="0">
307 <xsd:complexType>
308 <xsd:sequence>
309 <xsd:element name="HardDisk" type="THardDisk" minOccurs="0" maxOccurs="unbounded"/>
310 </xsd:sequence>
311 </xsd:complexType>
312 </xsd:element>
313 <xsd:element name="DVDImages" minOccurs="0">
314 <xsd:complexType>
315 <xsd:sequence>
316 <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
317 </xsd:sequence>
318 </xsd:complexType>
319 </xsd:element>
320 <xsd:element name="FloppyImages" minOccurs="0">
321 <xsd:complexType>
322 <xsd:sequence>
323 <xsd:element name="Image" type="TImage" minOccurs="0" maxOccurs="unbounded"/>
324 </xsd:sequence>
325 </xsd:complexType>
326 </xsd:element>
327 </xsd:all>
328 </xsd:complexType>
329 </xsd:element>
330 <xsd:element name="USBDeviceFilters">
331 <xsd:complexType>
332 <xsd:sequence>
333 <xsd:element name="DeviceFilter" type="THostUSBDeviceFilter"
334 minOccurs="0" maxOccurs="unbounded"/>
335 </xsd:sequence>
336 </xsd:complexType>
337 </xsd:element>
338 <xsd:element name="SystemProperties" type="TSystemProperties"/>
339 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
340 </xsd:all>
341</xsd:complexType>
342
343<xsd:complexType name="THWVirtExType">
344 <xsd:attribute name="enabled" type="TTriStateBoolType" default="default"/>
345</xsd:complexType>
346
347<xsd:complexType name="TCPU">
348 <xsd:sequence>
349 <xsd:element name="HardwareVirtEx" type="THWVirtExType" minOccurs="0"/>
350 </xsd:sequence>
351</xsd:complexType>
352
353<xsd:complexType name="TBoot">
354 <xsd:sequence>
355 <xsd:element name="Order" minOccurs="0" maxOccurs="unbounded">
356 <xsd:complexType>
357 <xsd:attribute name="position" use="required">
358 <xsd:simpleType>
359 <xsd:restriction base="xsd:unsignedInt">
360 <xsd:minInclusive value="1"/>
361 <xsd:maxInclusive value="4"/>
362 </xsd:restriction>
363 </xsd:simpleType>
364 </xsd:attribute>
365 <xsd:attribute name="device" type="TDeviceType" use="required"/>
366 </xsd:complexType>
367 </xsd:element>
368 </xsd:sequence>
369</xsd:complexType>
370
371<xsd:complexType name="TDisplay">
372 <xsd:attribute name="VRAMSize" use="required">
373 <xsd:simpleType>
374 <xsd:restriction base="xsd:unsignedInt">
375 <xsd:minInclusive value="1"/>
376 <xsd:maxInclusive value="128"/>
377 </xsd:restriction>
378 </xsd:simpleType>
379 </xsd:attribute>
380 <xsd:attribute name="MonitorCount" default="1">
381 <xsd:simpleType>
382 <xsd:restriction base="xsd:unsignedInt">
383 <xsd:maxInclusive value="8"/>
384 </xsd:restriction>
385 </xsd:simpleType>
386 </xsd:attribute>
387</xsd:complexType>
388
389<xsd:complexType name="TRemoteDisplay">
390 <xsd:attribute name="enabled" type="xsd:boolean"/>
391 <xsd:attribute name="port" type="xsd:unsignedInt" default="0"/>
392 <xsd:attribute name="netAddress" type="xsd:token" default=""/>
393 <xsd:attribute name="authType" type="TVRDPAuthType" default="null"/>
394 <xsd:attribute name="authTimeout" type="xsd:unsignedInt" default="5000"/>
395 <xsd:attribute name="allowMultiConnection" type="xsd:boolean" default="false"/>
396</xsd:complexType>
397
398<xsd:complexType name="TBIOS">
399 <xsd:all>
400 <xsd:element name="ACPI">
401 <xsd:complexType>
402 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
403 </xsd:complexType>
404 </xsd:element>
405 <xsd:element name="IOAPIC" minOccurs="0">
406 <xsd:complexType>
407 <xsd:attribute name="enabled" type="xsd:boolean" default="false"/>
408 </xsd:complexType>
409 </xsd:element>
410 <xsd:element name="Logo" minOccurs="0">
411 <xsd:complexType>
412 <xsd:attribute name="fadeIn" type="xsd:boolean" default="true"/>
413 <xsd:attribute name="fadeOut" type="xsd:boolean" default="true"/>
414 <xsd:attribute name="displayTime" type="xsd:unsignedInt" default="0"/>
415 <xsd:attribute name="imagePath" type="TLocalFile"/>
416 </xsd:complexType>
417 </xsd:element>
418 <xsd:element name="BootMenu" minOccurs="0">
419 <xsd:complexType>
420 <xsd:attribute name="mode" type="TBIOSBootMenuModeType" default="messageandmenu"/>
421 </xsd:complexType>
422 </xsd:element>
423 </xsd:all>
424</xsd:complexType>
425
426<xsd:complexType name="THardDiskAttachment">
427 <xsd:attribute name="hardDisk" type="TNonNullUUID"/>
428 <xsd:attribute name="bus" use="required">
429 <xsd:simpleType>
430 <xsd:restriction base="xsd:token">
431 <xsd:enumeration value="ide0"/>
432 <xsd:enumeration value="ide1"/>
433 </xsd:restriction>
434 </xsd:simpleType>
435 </xsd:attribute>
436 <xsd:attribute name="device" use="required">
437 <xsd:simpleType>
438 <xsd:restriction base="xsd:token">
439 <xsd:enumeration value="master"/>
440 <xsd:enumeration value="slave"/>
441 </xsd:restriction>
442 </xsd:simpleType>
443 </xsd:attribute>
444</xsd:complexType>
445
446<xsd:complexType name="THardDiskAttachments">
447 <xsd:sequence>
448 <xsd:element name="HardDiskAttachment" type="THardDiskAttachment"
449 minOccurs="0" maxOccurs="unbounded"/>
450 </xsd:sequence>
451</xsd:complexType>
452
453<xsd:complexType name="TDVDDrive">
454 <xsd:choice minOccurs="0">
455 <xsd:element name="Image" type="TImageRef"/>
456 <xsd:element name="HostDrive" type="THostDrive"/>
457 </xsd:choice>
458 <xsd:attribute name="passthrough" type="xsd:boolean" default="false"/>
459</xsd:complexType>
460
461<xsd:complexType name="TFloppyDrive">
462 <xsd:choice minOccurs="0">
463 <xsd:element name="Image" type="TImageRef"/>
464 <xsd:element name="HostDrive" type="THostDrive"/>
465 </xsd:choice>
466 <xsd:attribute name="enabled" type="xsd:boolean" default="true"/>
467</xsd:complexType>
468
469<xsd:complexType name="TUSBController">
470 <xsd:sequence>
471 <xsd:element name="Device" minOccurs="0" maxOccurs="unbounded">
472 <xsd:complexType>
473 <xsd:attribute name="vendorid" type="xsd:unsignedShort" use="required"/>
474 <xsd:attribute name="productid" type="xsd:unsignedShort" use="required"/>
475 <xsd:attribute name="revision" type="xsd:unsignedShort" use="required"/>
476 <xsd:attribute name="serialhash" type="TUInt64" use="required"/>
477 <xsd:attribute name="manufacturer" type="xsd:string"/>
478 <xsd:attribute name="product" type="xsd:string"/>
479 <xsd:attribute name="serialnumber" type="xsd:string"/>
480 <xsd:attribute name="comment" type="xsd:string"/>
481 </xsd:complexType>
482 </xsd:element>
483 <xsd:element name="DeviceFilter" type="TUSBDeviceFilter"
484 minOccurs="0" maxOccurs="unbounded"/>
485 </xsd:sequence>
486 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
487</xsd:complexType>
488
489<xsd:complexType name="TAdapter">
490 <xsd:attribute name="type" type="TNetworkAdapterType" default="Am79C970A"/>
491 <xsd:attribute name="slot" use="required">
492 <xsd:simpleType>
493 <xsd:restriction base="xsd:unsignedInt">
494 <xsd:minInclusive value="0"/>
495 <xsd:maxExclusive value="4"/>
496 </xsd:restriction>
497 </xsd:simpleType>
498 </xsd:attribute>
499 <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
500 <xsd:attribute name="MACAddress">
501 <xsd:simpleType>
502 <xsd:restriction base="xsd:hexBinary">
503 <xsd:length value="6"/>
504 </xsd:restriction>
505 </xsd:simpleType>
506 </xsd:attribute>
507 <xsd:attribute name="cable" type="xsd:boolean" use="required"/>
508 <xsd:attribute name="trace" type="xsd:boolean" default="false"/>
509 <xsd:attribute name="tracefile" type="xsd:string"/>
510</xsd:complexType>
511
512<xsd:complexType name="TSharedFolder">
513 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
514 <xsd:attribute name="hostPath" type="TLocalFile" use="required"/>
515</xsd:complexType>
516
517<xsd:complexType name="TSharedFolders">
518 <xsd:sequence>
519 <xsd:element name="SharedFolder" type="TSharedFolder" minOccurs="0" maxOccurs="unbounded"/>
520 </xsd:sequence>
521</xsd:complexType>
522
523<xsd:complexType name="TClipboard">
524 <xsd:attribute name="mode" type="TClipboardMode" use="required"/>
525</xsd:complexType>
526
527<xsd:complexType name="THardware">
528 <xsd:all>
529 <xsd:element name="CPU" type="TCPU" minOccurs = "0"/>
530 <xsd:element name="Memory" type="TMemory"/>
531 <xsd:element name="Boot" type="TBoot">
532 <xsd:unique name="THardware-Boot-Order">
533 <xsd:selector xpath="vb:Order"/>
534 <xsd:field xpath="@position"/>
535 </xsd:unique>
536 </xsd:element>
537 <xsd:element name="Display" type="TDisplay"/>
538 <xsd:element name="RemoteDisplay" type="TRemoteDisplay" minOccurs="0"/>
539 <xsd:element name="BIOS" type="TBIOS"/>
540 <xsd:element name="DVDDrive" type="TDVDDrive"/>
541 <xsd:element name="FloppyDrive" type="TFloppyDrive"/>
542 <xsd:element name="USBController" type="TUSBController"/>
543 <xsd:element name="Network" type="TNetwork">
544 <xsd:unique name="THardware-Network-Adapter">
545 <xsd:selector xpath="vb:Adapter"/>
546 <xsd:field xpath="@slot"/>
547 </xsd:unique>
548 </xsd:element>
549 <xsd:element name="AudioAdapter" type="TAudioAdapter"/>
550 <!--- @todo (dmik) remove minOccurs="0" from SharedFolders on next format change! -->
551 <xsd:element name="SharedFolders" type="TSharedFolders" minOccurs="0">
552 <xsd:unique name="THardware-SharedFolders-SharedFolder">
553 <xsd:selector xpath="vb:SharedFolder"/>
554 <xsd:field xpath="@name"/>
555 </xsd:unique>
556 </xsd:element>
557 <!--- @todo (dmik) remove minOccurs="0" from SharedFolders on next format change! -->
558 <xsd:element name="Clipboard" type="TClipboard" minOccurs="0"/>
559 </xsd:all>
560</xsd:complexType>
561
562<xsd:complexType name="TMachine">
563 <xsd:all>
564 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
565 <xsd:element name="Hardware" type="THardware"/>
566 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
567 <xsd:element name="ExtraData" type="TExtraData" minOccurs="0"/>
568 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0"/>
569 </xsd:all>
570 <xsd:attribute name="name" type="TNonEmptyString" use="required"/>
571 <xsd:attribute name="nameSync" type="xsd:boolean" default="true"/>
572 <xsd:attribute name="OSType" type="TGuestOSType" use="required"/>
573 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
574 <xsd:attribute name="stateFile" type="TLocalFile"/>
575 <xsd:attribute name="currentSnapshot" type="TNonNullUUID"/>
576 <xsd:attribute name="snapshotFolder" type="TLocalFile"/>
577 <!--- @todo (dmik) make lastStateChange required on next format change! -->
578 <xsd:attribute name="lastStateChange" type="TPresentDateTimeUTC"/>
579 <xsd:attribute name="aborted" type="xsd:boolean"/>
580 <xsd:attribute name="currentStateModified" type="xsd:boolean" default="true"/>
581</xsd:complexType>
582
583<xsd:complexType name="TSnapshot">
584 <xsd:all>
585 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
586 <xsd:element name="Hardware" type="THardware"/>
587 <xsd:element name="HardDiskAttachments" type="THardDiskAttachments"/>
588 <xsd:element name="Snapshots" minOccurs="0">
589 <xsd:complexType>
590 <xsd:sequence>
591 <xsd:element name="Snapshot" type="TSnapshot" minOccurs="0" maxOccurs="unbounded"/>
592 </xsd:sequence>
593 </xsd:complexType>
594 </xsd:element>
595 </xsd:all>
596 <xsd:attribute name="name" type="xsd:token" use="required"/>
597 <xsd:attribute name="uuid" type="TNonNullUUID" use="required"/>
598 <xsd:attribute name="timeStamp" type="TPresentDateTimeUTC" use="required"/>
599 <xsd:attribute name="stateFile" type="TLocalFile"/>
600</xsd:complexType>
601
602<xsd:complexType name="TVirtualBox" abstract="true">
603 <xsd:choice>
604 <xsd:element name="Global" type="TGlobal"/>
605 <xsd:element name="Machine" type="TMachine">
606 <!-- @currentSnapshot must refer to an existing Snapshot/@uuid -->
607 <xsd:key name="snapshot">
608 <xsd:selector xpath=".//vb:Snapshot"/>
609 <xsd:field xpath="@uuid"/>
610 </xsd:key>
611 <xsd:keyref name="currentSnapshot" refer="vb:snapshot">
612 <xsd:selector xpath="."/>
613 <xsd:field xpath="@currentSnapshot"/>
614 </xsd:keyref>
615 </xsd:element>
616 </xsd:choice>
617</xsd:complexType>
618
619</xsd:schema>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette