]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - Tools/XMLSchema/FrameworkHeaders.xsd
Fixed the location of the <Specification Element>
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
... / ...
CommitLineData
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
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
29 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
30 <!-- Version is the version of this file -->\r
31 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
32 <!-- Path needs to be removed -->\r
33 <xs:choice minOccurs="1" maxOccurs="1">\r
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
43 </xs:choice>\r
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
48 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
49 <!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
50 </xs:sequence>\r
51 </xs:complexType>\r
52 </xs:element>\r
53 <xs:element name="MbdHeader">\r
54 <!-- MbdHeader needs to be removed -->\r
55 <xs:annotation>\r
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
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
66 <xs:choice minOccurs="1" maxOccurs="1">\r
67 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
68 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
69 </xs:choice>\r
70 <xs:choice minOccurs="1" maxOccurs="1">\r
71 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
72 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
73 </xs:choice>\r
74 </xs:sequence>\r
75 </xs:complexType>\r
76 </xs:element>\r
77 <xs:element name="MbdLibHeader">\r
78 <!-- MbdLibHeader needs to be removed -->\r
79 <xs:annotation>\r
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
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
90 <xs:choice minOccurs="1" maxOccurs="1">\r
91 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
92 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
93 </xs:choice>\r
94 <xs:choice minOccurs="1" maxOccurs="1">\r
95 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
96 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
97 </xs:choice>\r
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
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
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
121 <xs:choice minOccurs="1" maxOccurs="1">\r
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
131 </xs:choice>\r
132 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
133 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
134 </xs:sequence>\r
135 </xs:complexType>\r
136 </xs:element>\r
137 <xs:element name="MsaLibHeader">\r
138 <!-- MsaLibHeader needs to be removed -->\r
139 <xs:annotation>\r
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
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
153 <xs:choice minOccurs="1" maxOccurs="1">\r
154 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
155 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
156 </xs:choice>\r
157 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
158 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
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
173 <xs:choice>\r
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
182 </xs:choice>\r
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
188 <xs:choice minOccurs="1" maxOccurs="1">\r
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
197 </xs:choice>\r
198 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">\r
199 <!-- CreatedBy needs to be removed -->\r
200 <xs:annotation>\r
201 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>\r
202 </xs:annotation>\r
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
212 </xs:choice>\r
213 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType">\r
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
218 </xs:element>\r
219 <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget">\r
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
228 </xs:element>\r
229 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
230 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
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
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
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
251 <xs:choice minOccurs="1" maxOccurs="1">\r
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
255 </xs:choice>\r
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
263 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
264 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
265 <!-- OutputDirectory needs to be removed -->\r
266 </xs:sequence>\r
267 </xs:complexType>\r
268 </xs:element>\r
269</xs:schema>\r