VirtualBox

source: vbox/trunk/src/VBox/Main/xml/VirtualBox-settings-freebsd.xsd@ 5606

Last change on this file since 5606 was 4893, checked in by vboxsync, 17 years ago

freebsd schema.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 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 Version 1.0-freebsd
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-freebsd.
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="2000"/>
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="oss"/>
95 <xsd:enumeration value="alsa"/>
96 </xsd:restriction>
97 </xsd:simpleType>
98 </xsd:attribute>
99</xsd:complexType>
100
101<!--
102// Root element
103/////////////////////////////////////////////////////////////////////////
104-->
105
106<xsd:element name="VirtualBox">
107 <xsd:complexType>
108 <xsd:complexContent>
109 <xsd:extension base="TVirtualBox">
110 <xsd:attribute name="version" type="xsd:token" fixed="1.2-freebsd" use="required"/>
111 </xsd:extension>
112 </xsd:complexContent>
113 </xsd:complexType>
114</xsd:element>
115
116</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