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 Version 1.0-macosx
|
---|
7 |
|
---|
8 | Copyright (C) 2004-2007 innotek GmbH
|
---|
9 |
|
---|
10 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | available from http://www.virtualbox.org. This file is free software;
|
---|
12 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | General Public License as published by the Free Software Foundation,
|
---|
14 | in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
15 | distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
16 | be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | -->
|
---|
18 |
|
---|
19 | <xsd:schema
|
---|
20 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
21 | xmlns="http://www.innotek.de/VirtualBox-settings"
|
---|
22 | xmlns:vb="http://www.innotek.de/VirtualBox-settings"
|
---|
23 | targetNamespace="http://www.innotek.de/VirtualBox-settings"
|
---|
24 | elementFormDefault="qualified"
|
---|
25 | >
|
---|
26 |
|
---|
27 | <xsd:annotation>
|
---|
28 | <xsd:documentation xml:lang="en">
|
---|
29 | innotek VirtualBox Settings Schema Version 1.0-macosx.
|
---|
30 | Copyright (c) 2004-2007 innotek GmbH.
|
---|
31 | </xsd:documentation>
|
---|
32 | </xsd:annotation>
|
---|
33 |
|
---|
34 | <xsd:include schemaLocation="VirtualBox-settings-common.xsd"/>
|
---|
35 |
|
---|
36 | <!--
|
---|
37 | // Simple types
|
---|
38 | /////////////////////////////////////////////////////////////////////////
|
---|
39 | -->
|
---|
40 |
|
---|
41 | <!--
|
---|
42 | // Complex types
|
---|
43 | /////////////////////////////////////////////////////////////////////////
|
---|
44 | -->
|
---|
45 |
|
---|
46 | <xsd:complexType name="TMemory">
|
---|
47 | <xsd:attribute name="RAMSize" use="required">
|
---|
48 | <xsd:simpleType>
|
---|
49 | <xsd:restriction base="xsd:unsignedInt">
|
---|
50 | <xsd:minInclusive value="4"/>
|
---|
51 | <xsd:maxInclusive value="3000"/>
|
---|
52 | </xsd:restriction>
|
---|
53 | </xsd:simpleType>
|
---|
54 | </xsd:attribute>
|
---|
55 | </xsd:complexType>
|
---|
56 |
|
---|
57 | <xsd:complexType name="TNetwork">
|
---|
58 | <xsd:sequence>
|
---|
59 | <xsd:element name="Adapter" minOccurs="0" maxOccurs="unbounded">
|
---|
60 | <xsd:complexType>
|
---|
61 | <xsd:complexContent>
|
---|
62 | <xsd:extension base="TAdapter">
|
---|
63 | <xsd:choice minOccurs="0">
|
---|
64 | <xsd:element name="NAT">
|
---|
65 | <xsd:complexType/>
|
---|
66 | </xsd:element>
|
---|
67 | <xsd:element name="HostInterface">
|
---|
68 | <xsd:complexType>
|
---|
69 | <xsd:attribute name="name" type="TLocalFile"/>
|
---|
70 | <xsd:attribute name="TAPSetup" type="TLocalFile"/>
|
---|
71 | <xsd:attribute name="TAPTerminate" type="TLocalFile"/>
|
---|
72 | </xsd:complexType>
|
---|
73 | </xsd:element>
|
---|
74 | <xsd:element name="InternalNetwork">
|
---|
75 | <xsd:complexType>
|
---|
76 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
77 | </xsd:complexType>
|
---|
78 | </xsd:element>
|
---|
79 | </xsd:choice>
|
---|
80 | </xsd:extension>
|
---|
81 | </xsd:complexContent>
|
---|
82 | </xsd:complexType>
|
---|
83 | </xsd:element>
|
---|
84 | </xsd:sequence>
|
---|
85 | </xsd:complexType>
|
---|
86 |
|
---|
87 | <xsd:complexType name="TAudioAdapter">
|
---|
88 | <xsd:attribute name="enabled" type="xsd:boolean"/>
|
---|
89 | <xsd:attribute name="driver" use="required">
|
---|
90 | <!--- @todo (dmik) capitalize enum values on next format change! -->
|
---|
91 | <xsd:simpleType>
|
---|
92 | <xsd:restriction base="xsd:token">
|
---|
93 | <xsd:enumeration value="null"/>
|
---|
94 | <xsd:enumeration value="coreaudio"/>
|
---|
95 | </xsd:restriction>
|
---|
96 | </xsd:simpleType>
|
---|
97 | </xsd:attribute>
|
---|
98 | </xsd:complexType>
|
---|
99 |
|
---|
100 | <!--
|
---|
101 | // Root element
|
---|
102 | /////////////////////////////////////////////////////////////////////////
|
---|
103 | -->
|
---|
104 |
|
---|
105 | <xsd:element name="VirtualBox">
|
---|
106 | <xsd:complexType>
|
---|
107 | <xsd:complexContent>
|
---|
108 | <xsd:extension base="TVirtualBox">
|
---|
109 | <xsd:attribute name="version" type="xsd:token" fixed="1.2-macosx" use="required"/>
|
---|
110 | </xsd:extension>
|
---|
111 | </xsd:complexContent>
|
---|
112 | </xsd:complexType>
|
---|
113 | </xsd:element>
|
---|
114 |
|
---|
115 | </xsd:schema>
|
---|