]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkHeaders.xsd
Updated Schema per e-mails.
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
CommitLineData
878ddf1f 1<?xml version="1.0" encoding="UTF-8"?>\r
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
3 <!--\r
4 Filename: FrameworkHeaders.xsd\r
5 \r
6 Copyright (c) 2006, Intel Corp.\r
7 All rights reserved. This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which may be found at http://opensource.org/licenses/bsd-license.php\r
10 \r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13 \r
14 -->\r
15 <xs:include schemaLocation="FrameworkDataElements.xsd"/>\r
16 <xs:element name="FdbHeader">\r
17 <xs:annotation>\r
18 <xs:documentation xml:lang="en">This is the header for the Framework Package Database file.</xs:documentation>\r
19 </xs:annotation>\r
20 <xs:complexType>\r
21 <xs:sequence>\r
22 <xs:element minOccurs="1" maxOccurs="1" ref="DatabaseName"/>\r
f29b8a33 23 <xs:choice minOccurs="1" maxOccurs="1">\r
24 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
25 <!-- Guid needs to be removed -->\r
26 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
27 <!-- GuidValue needs to be required -->\r
28 </xs:choice>\r
878ddf1f 29 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
f29b8a33 30 <!-- Version is the version of this file -->\r
878ddf1f 31 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
f29b8a33 32 <!-- Path needs to be removed -->\r
0fce57e7 33 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 34 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
35 <!-- Created needs to be removed -->\r
36 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
37 <!-- CreatedDate needs to be required -->\r
38 </xs:choice>\r
39 <xs:choice minOccurs="0">\r
40 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
41 <!-- Updated needs to be removed -->\r
42 <xs:element minOccurs="0" maxOccurs="1" ref="UpdatedDate"/>\r
0fce57e7 43 </xs:choice>\r
878ddf1f 44 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
45 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
46 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
47 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
f29b8a33 48 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
49 <!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 50 </xs:sequence>\r
51 </xs:complexType>\r
52 </xs:element>\r
53 <xs:element name="MbdHeader">\r
f29b8a33 54 <!-- MbdHeader needs to be removed -->\r
878ddf1f 55 <xs:annotation>\r
f29b8a33 56 <xs:documentation xml:lang="en">DO NOT USE! This is the header for the Component Module Build Description (MBD) file. NOTE: The GUID may be different from the GUID in the MSA file, as the Guid is updated every time the file is changed, as the Guid may change if the contents of the file are changed.</xs:documentation>\r
878ddf1f 57 </xs:annotation>\r
58 <xs:complexType>\r
59 <xs:sequence>\r
60 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
61 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
62 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
63 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
64 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
65 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
2fdd0c7d 66 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
0fce57e7 67 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 68 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
69 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 70 </xs:choice>\r
71 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 72 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
73 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 74 </xs:choice>\r
878ddf1f 75 </xs:sequence>\r
76 </xs:complexType>\r
77 </xs:element>\r
78 <xs:element name="MbdLibHeader">\r
f29b8a33 79 <!-- MbdLibHeader needs to be removed -->\r
878ddf1f 80 <xs:annotation>\r
f29b8a33 81 <xs:documentation xml:lang="en">DO NOT USE! This is the header for the Library Module Build Description (MBD) file. NOTE: The Guid may be different from the Guid in the MSA file, as the Guid may change when the contents of the file are changed..</xs:documentation>\r
878ddf1f 82 </xs:annotation>\r
83 <xs:complexType>\r
84 <xs:sequence>\r
85 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
86 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
87 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
89 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
90 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
2fdd0c7d 91 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
0fce57e7 92 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 93 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
94 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 95 </xs:choice>\r
96 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 97 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
98 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 99 </xs:choice>\r
878ddf1f 100 </xs:sequence>\r
101 </xs:complexType>\r
102 </xs:element>\r
103 <xs:element name="MsaHeader">\r
104 <xs:annotation>\r
105 <xs:documentation xml:lang="en">This is the Component Module Surface Area Description Header - a replacement for INF files. The GUID may change when the contents of the file are changed.</xs:documentation>\r
106 </xs:annotation>\r
107 <xs:complexType>\r
108 <xs:sequence>\r
2fdd0c7d 109 <xs:choice>\r
110 <xs:element minOccurs="0" maxOccurs="1" ref="BaseName"/>\r
111 <xs:element minOccurs="0" maxOccurs="1" name="ModuleName" type="xs:NCName"/>\r
112 </xs:choice>\r
878ddf1f 113 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
114 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
f29b8a33 115 <xs:choice>\r
116 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
117 <!-- Guid needs to be removed -->\r
118 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
119 <!-- GuidValue needs to be required -->\r
120 </xs:choice>\r
878ddf1f 121 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
122 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
123 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
124 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
125 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 126 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 127 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
128 <!-- Created needs to be removed -->\r
129 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
130 <!-- CreatedDate needs to be required -->\r
131 </xs:choice>\r
132 <xs:choice>\r
133 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
134 <!-- Updated needs to be removed -->\r
135 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 136 </xs:choice>\r
0fce57e7 137 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
f29b8a33 138 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 139 </xs:sequence>\r
140 </xs:complexType>\r
141 </xs:element>\r
142 <xs:element name="MsaLibHeader">\r
f29b8a33 143 <!-- MsaLibHeader needs to be removed -->\r
878ddf1f 144 <xs:annotation>\r
f29b8a33 145 <xs:documentation xml:lang="en">DO NOT USE! This is the Library Module Surface Area Description Header - a replacement for INF files. The Guid may change when the contents of the file are changed.</xs:documentation>\r
878ddf1f 146 </xs:annotation>\r
147 <xs:complexType>\r
148 <xs:sequence>\r
149 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
150 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
151 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
152 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
153 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
154 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
155 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
156 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
157 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
2fdd0c7d 158 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
0fce57e7 159 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 160 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
161 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 162 </xs:choice>\r
878ddf1f 163 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
164 </xs:sequence>\r
165 </xs:complexType>\r
166 </xs:element>\r
167 <xs:element name="PlatformHeader">\r
168 <xs:annotation>\r
169 <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>\r
170 </xs:annotation>\r
171 <xs:complexType>\r
172 <xs:sequence>\r
173 <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention">\r
174 <xs:annotation>\r
175 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>\r
176 </xs:annotation>\r
177 </xs:element>\r
bab93bdd 178 <xs:choice>\r
f29b8a33 179 <xs:element minOccurs="0" maxOccurs="1" ref="Guid">\r
180 <!-- Guid needs to be removed -->\r
181 <xs:annotation>\r
182 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
183 </xs:annotation>\r
184 </xs:element>\r
185 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
186 <!-- GuidValue needs to be required -->\r
bab93bdd 187 </xs:choice>\r
878ddf1f 188 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
189 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
190 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
191 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
192 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
0fce57e7 193 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 194 <xs:element minOccurs="0" maxOccurs="1" ref="Created">\r
195 <!-- Created needs to be removed -->\r
196 <xs:annotation>\r
197 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
198 </xs:annotation>\r
199 </xs:element>\r
200 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
201 <!-- CreatedDate needs to be required -->\r
0fce57e7 202 </xs:choice>\r
291a871a 203 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">\r
f29b8a33 204 <!-- CreatedBy needs to be removed -->\r
bab93bdd 205 <xs:annotation>\r
f29b8a33 206 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
bab93bdd 207 </xs:annotation>\r
f29b8a33 208 </xs:element>\r
209 <xs:choice>\r
210 <xs:element minOccurs="0" maxOccurs="1" ref="Updated">\r
211 <!-- Updated needs to be removed -->\r
212 <xs:annotation>\r
213 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
214 </xs:annotation>\r
215 </xs:element>\r
216 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
bab93bdd 217 </xs:choice>\r
218 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType">\r
f29b8a33 219 <!-- PackageType needs to be removed -->\r
220 <xs:annotation>\r
221 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
222 </xs:annotation>\r
bab93bdd 223 </xs:element>\r
2fdd0c7d 224 <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget" type="BuildTargets"/>\r
f29b8a33 225 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
226 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 227 </xs:sequence>\r
228 </xs:complexType>\r
229 </xs:element>\r
230 <xs:element name="SpdHeader">\r
231 <xs:annotation>\r
232 <xs:documentation xml:lang="en">This head is for the Surface Area Package Description file (SPD) The Guid may change when the contents of the file are changed.</xs:documentation>\r
233 </xs:annotation>\r
234 <xs:complexType>\r
235 <xs:sequence>\r
236 <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>\r
f29b8a33 237 <xs:choice minOccurs="1" maxOccurs="1">\r
238 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
239 <!-- Guid needs to be removed -->\r
240 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
241 </xs:choice>\r
878ddf1f 242 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
243 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
244 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
245 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
246 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 247 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 248 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
249 <!-- Created needs to be removed -->\r
250 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 251 </xs:choice>\r
878ddf1f 252 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
253 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
254 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
255 <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>\r
256 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
257 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
258 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
f29b8a33 259 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 260 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
f29b8a33 261 <!-- OutputDirectory needs to be removed -->\r
878ddf1f 262 </xs:sequence>\r
263 </xs:complexType>\r
264 </xs:element>\r
265</xs:schema>\r