]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkHeaders.xsd
Fixed the location of the <Specification Element>
[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
0fce57e7 66 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 67 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
68 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 69 </xs:choice>\r
70 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 71 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
72 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 73 </xs:choice>\r
878ddf1f 74 </xs:sequence>\r
75 </xs:complexType>\r
76 </xs:element>\r
77 <xs:element name="MbdLibHeader">\r
f29b8a33 78 <!-- MbdLibHeader needs to be removed -->\r
878ddf1f 79 <xs:annotation>\r
f29b8a33 80 <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 81 </xs:annotation>\r
82 <xs:complexType>\r
83 <xs:sequence>\r
84 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
85 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
86 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
87 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
89 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 90 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 91 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
92 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 93 </xs:choice>\r
94 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 95 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
96 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 97 </xs:choice>\r
878ddf1f 98 </xs:sequence>\r
99 </xs:complexType>\r
100 </xs:element>\r
101 <xs:element name="MsaHeader">\r
102 <xs:annotation>\r
103 <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
104 </xs:annotation>\r
105 <xs:complexType>\r
106 <xs:sequence>\r
107 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
108 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
109 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
f29b8a33 110 <xs:choice>\r
111 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
112 <!-- Guid needs to be removed -->\r
113 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
114 <!-- GuidValue needs to be required -->\r
115 </xs:choice>\r
878ddf1f 116 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
117 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
118 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
119 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
120 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 121 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 122 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
123 <!-- Created needs to be removed -->\r
124 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
125 <!-- CreatedDate needs to be required -->\r
126 </xs:choice>\r
127 <xs:choice>\r
128 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
129 <!-- Updated needs to be removed -->\r
130 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 131 </xs:choice>\r
0fce57e7 132 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
f29b8a33 133 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 134 </xs:sequence>\r
135 </xs:complexType>\r
136 </xs:element>\r
137 <xs:element name="MsaLibHeader">\r
f29b8a33 138 <!-- MsaLibHeader needs to be removed -->\r
878ddf1f 139 <xs:annotation>\r
f29b8a33 140 <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 141 </xs:annotation>\r
142 <xs:complexType>\r
143 <xs:sequence>\r
144 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
145 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
146 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
147 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
148 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
149 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
150 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
151 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
152 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 153 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 154 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
155 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 156 </xs:choice>\r
878ddf1f 157 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
0fce57e7 158 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
878ddf1f 159 </xs:sequence>\r
160 </xs:complexType>\r
161 </xs:element>\r
162 <xs:element name="PlatformHeader">\r
163 <xs:annotation>\r
164 <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>\r
165 </xs:annotation>\r
166 <xs:complexType>\r
167 <xs:sequence>\r
168 <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention">\r
169 <xs:annotation>\r
170 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>\r
171 </xs:annotation>\r
172 </xs:element>\r
bab93bdd 173 <xs:choice>\r
f29b8a33 174 <xs:element minOccurs="0" maxOccurs="1" ref="Guid">\r
175 <!-- Guid needs to be removed -->\r
176 <xs:annotation>\r
177 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
178 </xs:annotation>\r
179 </xs:element>\r
180 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
181 <!-- GuidValue needs to be required -->\r
bab93bdd 182 </xs:choice>\r
878ddf1f 183 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
184 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
185 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
186 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
187 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
0fce57e7 188 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 189 <xs:element minOccurs="0" maxOccurs="1" ref="Created">\r
190 <!-- Created needs to be removed -->\r
191 <xs:annotation>\r
192 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
193 </xs:annotation>\r
194 </xs:element>\r
195 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
196 <!-- CreatedDate needs to be required -->\r
0fce57e7 197 </xs:choice>\r
291a871a 198 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">\r
f29b8a33 199 <!-- CreatedBy needs to be removed -->\r
bab93bdd 200 <xs:annotation>\r
f29b8a33 201 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
bab93bdd 202 </xs:annotation>\r
f29b8a33 203 </xs:element>\r
204 <xs:choice>\r
205 <xs:element minOccurs="0" maxOccurs="1" ref="Updated">\r
206 <!-- Updated needs to be removed -->\r
207 <xs:annotation>\r
208 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
209 </xs:annotation>\r
210 </xs:element>\r
211 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
bab93bdd 212 </xs:choice>\r
213 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType">\r
f29b8a33 214 <!-- PackageType needs to be removed -->\r
215 <xs:annotation>\r
216 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
217 </xs:annotation>\r
bab93bdd 218 </xs:element>\r
219 <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget">\r
f29b8a33 220 <!-- BuildTarget needs to be required -->\r
221 <xs:simpleType>\r
222 <xs:restriction base="xs:NCName">\r
223 <xs:enumeration value="DEBUG"/>\r
224 <xs:enumeration value="RELEASE"/>\r
225 <xs:enumeration value="BOTH"/>\r
226 </xs:restriction>\r
227 </xs:simpleType>\r
bab93bdd 228 </xs:element>\r
f29b8a33 229 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
230 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 231 </xs:sequence>\r
232 </xs:complexType>\r
233 </xs:element>\r
234 <xs:element name="SpdHeader">\r
235 <xs:annotation>\r
236 <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
237 </xs:annotation>\r
238 <xs:complexType>\r
239 <xs:sequence>\r
240 <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>\r
f29b8a33 241 <xs:choice minOccurs="1" maxOccurs="1">\r
242 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
243 <!-- Guid needs to be removed -->\r
244 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
245 </xs:choice>\r
878ddf1f 246 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
247 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
248 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
249 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
250 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 251 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 252 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
253 <!-- Created needs to be removed -->\r
254 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 255 </xs:choice>\r
878ddf1f 256 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
257 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
258 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
259 <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>\r
260 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
261 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
262 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
f29b8a33 263 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 264 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
f29b8a33 265 <!-- OutputDirectory needs to be removed -->\r
878ddf1f 266 </xs:sequence>\r
267 </xs:complexType>\r
268 </xs:element>\r
269</xs:schema>\r