Sync the type of <VariableName> with the latest email send by Larry.
[mirror_edk2.git] / Tools / XMLSchema / FrameworkDataAttributes.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://www.TianoCore.org/2006/Edk2.0" targetNamespace="http://www.TianoCore.org/2006/Edk2.0">
3 <!--
4 Filename: FrameworkDataAttributes.xsd
5
6 Copyright (c) 2006, Intel Corp.
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which may be found at http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 -->
15 <xs:annotation>
16 <xs:documentation xml:lang="en">This schema defines EFI and Framework Attribute. Only attributeGroups are specified in this file. </xs:documentation>
17 </xs:annotation>
18 <xs:include schemaLocation="NamingConvention.xsd"/>
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>
20 <xs:include schemaLocation="FrameworkPlatformDataTypes.xsd"/>
21 <xs:attributeGroup name="BlockAttributes">
22 <xs:attribute name="Name" type="BlockNameType" use="required"/>
23 <xs:attribute name="Size" type="HexAddressType" use="required"/>
24 <xs:attribute name="Flags" type="HexAddressType" use="optional"/>
25 </xs:attributeGroup>
26 <xs:attributeGroup name="FlashDeviceImageAttributes">
27 <xs:attribute name="Name" type="xs:string" use="required"/>
28 </xs:attributeGroup>
29 <xs:attributeGroup name="FlashDeviceImageFileAttributes">
30 <xs:attribute name="Name" type="xs:string" use="required"/>
31 <xs:attribute name="Region" type="xs:string" use="required"/>
32 <xs:attribute name="SubRegion" type="xs:string" use="optional"/>
33 <xs:attribute name="Optional" type="xs:boolean" use="optional"/>
34 </xs:attributeGroup>
35 <xs:attributeGroup name="FlashDeviceInfoAttributes">
36 <xs:attribute name="Name" type="xs:string" use="required"/>
37 <xs:attribute name="Size" type="HexAddressType" use="required"/>
38 <xs:attribute name="BaseAddress" type="HexAddressType" use="required"/>
39 <xs:attribute name="ErasePolarity" type="Polarity" use="required"/>
40 </xs:attributeGroup>
41 <xs:attributeGroup name="RawDataAttributes">
42 <xs:attribute name="Name" type="xs:string" use="required"/>
43 <xs:attribute name="Region" type="xs:string" use="required"/>
44 <xs:attribute name="SubRegion" type="xs:string" use="required"/>
45 </xs:attributeGroup>
46 <xs:attributeGroup name="RegionAttributes">
47 <xs:attribute name="Name" type="xs:string" use="required"/>
48 <xs:attribute name="Size" type="HexAddressType" use="required"/>
49 <xs:attribute name="Flags" type="HexAddressType" use="optional"/>
50 <xs:attribute name="Alignment" type="HexAddressType" use="optional"/>
51 <xs:attribute name="Attributes" type="xs:string" use="required"/>
52 <xs:attribute name="AreaType" type="EfiFvAreaType" use="required"/>
53 </xs:attributeGroup>
54 <xs:attributeGroup name="SubRegionAttributes">
55 <xs:attribute name="CreateHob" type="xs:boolean" use="required"/>
56 <xs:attribute name="Name" type="xs:string" use="required"/>
57 <xs:attribute name="Size" type="HexAddressType" use="required"/>
58 <xs:attribute name="Attributes" type="xs:string" use="required"/>
59 <xs:attribute name="AreaType" type="EfiFvAreaType" use="required"/>
60 <xs:attribute name="NameGuid" type="xs:string" use="required"/>
61 <xs:attribute name="AreaTypeGuid" type="xs:string" use="optional"/>
62 <xs:attribute name="FileSystemGuid" type="xs:string" use="optional"/>
63 </xs:attributeGroup>
64 <xs:attributeGroup name="BaseNameAttributes">
65 <xs:attribute name="Guid" type="GuidType" use="optional"/>
66 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
67 </xs:attributeGroup>
68 <xs:attributeGroup name="BootModeAttributes">
69 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
70 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
71 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
72 <xs:attribute name="BootModeName" type="BootModeNames" use="required"/>
73 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
74 <!-- DO NOT USE, remove Guid from use -->
75 <xs:attribute name="Guid" type="GuidType" use="optional"/>
76 <!-- Make Usage REQUIRED in final -->
77 <xs:attribute name="Usage" type="BootModeUsage" use="required"/>
78 <!-- DO NOT USE remove OverrideID from use -->
79 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
80 </xs:attributeGroup>
81 <xs:attributeGroup name="ConvertAttributeString">
82 <xs:attribute name="OutputFilename" type="FileNameConvention" use="optional"/>
83 <xs:attribute name="SourceString" type="xs:string" use="optional"/>
84 <xs:attribute default="Unicode" name="OutputFiletype" type="xs:string" use="optional"/>
85 </xs:attributeGroup>
86 <xs:attributeGroup name="DataHubAttributes">
87 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
88 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
89 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
90 <!-- DO NOT USE remove EnableFeature from use -->
91 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
92 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
93 <!-- DO NOT USE, remove Guid from use -->
94 <xs:attribute name="Guid" type="GuidType" use="optional"/>
95 <!-- Make Usage REQUIRED in final -->
96 <xs:attribute name="Usage" type="DataHubUsage" use="optional"/>
97 <!-- DO NOT USE remove OverrideID from use -->
98 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
99 </xs:attributeGroup>
100 <xs:attributeGroup name="DirectoryAttributes">
101 <xs:attribute name="Separator" type="ToothPick"/>
102 </xs:attributeGroup>
103 <xs:attributeGroup name="EventAttributes">
104 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
105 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
106 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
107 <!-- Make EventGroup Required in final -->
108 <xs:attribute name="EventGroup" type="EventTypes" use="optional"/>
109 <!-- DO NOT USE remove EnableFeature from use -->
110 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
111 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
112 <!-- DO NOT USE, remove Guid from use -->
113 <xs:attribute name="Guid" type="GuidType" use="optional"/>
114 <!-- Make Usage REQUIRED in final -->
115 <xs:attribute name="Usage" type="EventUsage" use="optional"/>
116 <!-- DO NOT USE remove OverrideID from use -->
117 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
118 </xs:attributeGroup>
119 <xs:attributeGroup name="ExternAttributes">
120 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
121 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
122 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
123 <!-- DO NOT USE remove EnableFeature from use -->
124 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
125 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
126 <xs:attribute name="Guid" type="GuidType" use="optional"/>
127 <xs:attribute name="Usage" type="ExternUsage" use="optional"/>
128 <!-- DO NOT USE remove OverrideID from use -->
129 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
130 </xs:attributeGroup>
131 <xs:attributeGroup name="FilenameAttributes">
132 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
133 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
134 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
135 <!-- DO NOT USE remove EnableFeature from use -->
136 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
137 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
138 <xs:attribute name="FileType" type="xs:string" use="optional"/>
139 <!-- DO NOT USE, remove Guid from use -->
140 <xs:attribute name="Guid" type="GuidType" use="optional"/>
141 <!-- DO NOT USE, remove Path from use -->
142 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>
143 <!-- DO NOT USE, remove ToolChain from use, use ToolChainFamily -->
144 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>
145 <xs:attribute name="TagName" type="xs:NCName" use="optional"/>
146 <xs:attribute name="ToolCode" type="xs:NCName" use="optional"/>
147 <xs:attribute name="ToolChainFamily" type="xs:NCName" use="optional"/>
148 <!-- DO NOT USE, remove Usage from use -->
149 <xs:attribute name="Usage" type="FileNameUsage" use="optional"/>
150 <!-- DO NOT USE remove OverrideID from use -->
151 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
152 </xs:attributeGroup>
153 <xs:attributeGroup name="FormsetAttributes">
154 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
155 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
156 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
157 <!-- DO NOT USE remove EnableFeature from use -->
158 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
159 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
160 <xs:attribute name="Guid" type="GuidType" use="optional"/>
161 <xs:attribute name="Usage" type="FormSetUsage" use="optional"/>
162 <!-- DO NOT USE remove OverrideID from use -->
163 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
164 </xs:attributeGroup>
165 <xs:attributeGroup name="GuidAttributes">
166 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
167 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
168 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
169 <!-- DO NOT USE remove EnableFeature from use -->
170 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
171 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
172 <!-- Make Usage REQUIRED in final -->
173 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>
174 <!-- DO NOT USE remove OverrideID from use -->
175 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
176 </xs:attributeGroup>
177 <xs:attributeGroup name="GuidDeclarationAttributes">
178 <xs:attribute name="Name" type="xs:NCName" use="required"/>
179 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
180 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
181 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
182 <xs:attribute name="GuidTypeList" type="GuidListType" use="optional"/>
183 </xs:attributeGroup>
184 <xs:attributeGroup name="HiiPackageAttributes">
185 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
186 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
187 <xs:attribute name="Usage" type="HiiPackageUsage" use="required"/>
188 </xs:attributeGroup>
189 <xs:attributeGroup name="HobAttributes">
190 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
191 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
192 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
193 <!-- DO NOT USE remove EnableFeature from use -->
194 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
195 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
196 <!-- DO NOT USE remove Guid from use -->
197 <xs:attribute name="Guid" type="GuidType" use="optional"/>
198 <xs:attribute name="HobType" type="HobTypes" use="required"/>
199 <!-- DO NOT USE remove HobEnabled from use -->
200 <xs:attribute default="true" name="HobEnabled" type="xs:boolean" use="optional"/>
201 <!-- USAGE is required in final -->
202 <xs:attribute name="Usage" type="HobUsage" use="optional"/>
203 <!-- DO NOT USE remove OverrideID from use -->
204 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
205 </xs:attributeGroup>
206 <!-- DO NOT USE remove IncludeAttributes from use -->
207 <xs:attributeGroup name="IncludeAttributes">
208 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
209 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
210 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
211 <!-- DO NOT USE remove Class from use -->
212 <xs:attribute name="Class" type="BaseNameConvention" use="optional"/>
213 <!-- DO NOT USE remove EnableFeature from use -->
214 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
215 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
216 <!-- DO NOT USE remove Guid from use -->
217 <xs:attribute name="Guid" type="GuidType" use="optional"/>
218 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>
219 <!-- DO NOT USE remove Path from use -->
220 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>
221 <!-- DO NOT USE remove Version from use -->
222 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
223 <!-- DO NOT USE remove OverrideID from use -->
224 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
225 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
226 </xs:attributeGroup>
227 <xs:attributeGroup name="IncludeHeaderAttributes">
228 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
229 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
230 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
231 </xs:attributeGroup>
232 <xs:attributeGroup name="IndustryStdHeaderAttributes">
233 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
234 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
235 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
236 </xs:attributeGroup>
237 <xs:attributeGroup name="LibraryAttributes">
238 <!-- LibraryAttributes is used for Libraries / Library elements in FPD files -->
239 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
240 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
241 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
242 <!-- DO NOT USE remove EnableFeature from use -->
243 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
244 <!-- LAH Does a LibraryInstance need to have FeatureFlag Attribute? -->
245 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
246 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->
247 <xs:attribute name="Guid" type="GuidType" use="optional"/>
248 <!-- DO NOT USE remove ClassGuid from use, Start using LibraryClassGuid instead -->
249 <xs:attribute name="ClassGuid" type="GuidType" use="optional"/>
250 <!-- DO NOT USE remove LibraryGuid from use, Start using ModuleGuid instead -->
251 <xs:attribute name="LibraryGuid" type="GuidType" use="optional"/>
252 <xs:attribute name="LibraryClass" type="BaseNameConvention" use="optional"/>
253 <xs:attribute name="LibraryClassGuid" type="GuidType" use="optional"/>
254 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>
255 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>
256 <!-- DO NOT USE remove Package from use, Start using PackageName instead -->
257 <xs:attribute name="Package" type="xs:string" use="optional"/>
258 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>
259 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>
260 <xs:attribute name="PackageVersion" type="VersionDataType" use="optional"/>
261 <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>
262 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->
263 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
264 <!-- DO NOT USE remove OverrideID from use -->
265 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
266 </xs:attributeGroup>
267 <xs:attributeGroup name="LibraryClassAttributes">
268 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
269 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
270 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
271 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
272 <xs:attribute name="RecommendedInstanceVersion" type="xs:decimal" use="optional"/>
273 <xs:attribute name="RecommendedInstanceGuid" type="GuidType" use="optional"/>
274 <xs:attribute name="Usage" type="LibraryUsage" use="required"/>
275 </xs:attributeGroup>
276 <xs:attributeGroup name="MsaGuidAttributes">
277 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
278 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
279 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>
280 </xs:attributeGroup>
281 <xs:attributeGroup name="ModuleNameAttributes">
282 <xs:attribute name="Guid" type="GuidType" use="required"/>
283 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->
284 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>
285 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>
286 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->
287 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
288 </xs:attributeGroup>
289 <xs:attributeGroup name="ModuleNameSaAttributes">
290 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->
291 <xs:attribute name="Guid" type="GuidType" use="optional"/>
292 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>
293 <xs:attribute name="ModuleName" type="xs:NCName" use="required"/>
294 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>
295 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->
296 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
297 </xs:attributeGroup>
298 <xs:attributeGroup name="MsaAttributes">
299 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
300 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
301 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
302 <xs:attribute name="BuildSequence" type="xs:int" use="optional"/>
303 <xs:attribute name="FvBinding" type="xs:string" use="optional"/>
304 <xs:attribute name="ModuleName" type="xs:NCName" use="optional"/>
305 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>
306 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>
307 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>
308 </xs:attributeGroup>
309 <xs:attributeGroup name="OptionAttributes">
310 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
311 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
312 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
313 <xs:attribute name="BuildTarget" type="BuildTargets" use="optional"/>
314 <!-- DO NOT USE remove EnableFeature from use -->
315 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
316 <!-- LAH Does an Option need to have FeatureFlag Attribute? -->
317 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
318 <xs:attribute name="Platform" type="PlatformNamingConvention" use="optional"/>
319 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>
320 <xs:attribute name="ToolChainTag" type="xs:NCName" use="optional"/>
321 <!-- DO NOT USE remove OverrideID from use -->
322 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
323 </xs:attributeGroup>
324 <xs:attributeGroup name="PackageHeaderAttributes">
325 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>
326 </xs:attributeGroup>
327 <xs:attributeGroup name="PackageAttributes">
328 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
329 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
330 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
331 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>
332 <xs:attribute name="PackageType" type="PackageType" use="optional"/>
333 <xs:attribute name="PackageVersion" type="xs:string" use="optional"/>
334 <xs:attribute name="UpdatedDate" type="DateType" use="optional"/>
335 <xs:attribute name="Usage" type="PackageUsage" use="optional"/>
336 </xs:attributeGroup>
337 <!-- PackageNameAttributres are only used in the Package Dependencies section of an SPD file. -->
338 <xs:attributeGroup name="PackageNameAttributes">
339 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
340 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
341 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
342 <!-- DO NOT USE remove Guid and start using PackageGuid instead -->
343 <xs:attribute name="Guid" type="GuidType" use="optional"/>
344 <!-- CHANGE PackageGuid to REQUIRED in final -->
345 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>
346 <!-- DO NOT USE remove PackageTypeDependency from Use -->
347 <!-- PackageTypeDepencency is used to identify if a SOURCE or BINARY PackageType is required, in case PackageGuid and/or PackageVersion are not tracked. -->
348 <xs:attribute name="PackageTypeDependency" type="PackageType" use="optional"/>
349 <xs:attribute name="PackageVersion" type="xs:string" use="optional"/>
350 <!-- DO NOT USE remove Version and start using PackageVersion instead -->
351 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
352 </xs:attributeGroup>
353 <xs:attributeGroup name="PcdAttributes">
354 <xs:annotation>
355 <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>
356 <xs:documentation xml:lang="en">PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG</xs:documentation>
357 <xs:documentation xml:lang="en">Only NON FEATURE_FLAG PCDS should have the FeatureFlag attribute set.</xs:documentation>
358 </xs:annotation>
359 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
360 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
361 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
362 <!-- DO NOT USE remove EnableFeature from use -->
363 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
364 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
365 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>
366 <xs:attribute name="PcdUsage" type="PcdUsage" use="optional"/>
367 <!-- DO NOT USE remove OverrideID from use -->
368 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
369 </xs:attributeGroup>
370 <xs:attributeGroup name="PcdBuildDefinitionAttributes">
371 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
372 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>
373 </xs:attributeGroup>
374 <xs:attributeGroup name="PcdDeclarationAttributes">
375 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
376 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
377 <xs:attribute name="SupModuleTypes" type="ModuleTypeList" use="optional"/>
378 </xs:attributeGroup>
379 <xs:attributeGroup name="PlatformAttributes">
380 <!-- DO NOT USE remove AlternateName from use -->
381 <xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>
382 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
383 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
384 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
385 <!-- DO NOT USE remove Guid from use -->
386 <xs:attribute name="Guid" type="GuidType" use="optional"/>
387 <xs:attribute name="PlatformName" type="PlatformNamingConvention" use="optional"/>
388 <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>
389 <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>
390 <!-- DO NOT USE remove Version and start using PlatformVersion instead -->
391 <xs:attribute name="Version" type="VersionDataType" use="optional"/>
392 </xs:attributeGroup>
393 <xs:attributeGroup name="PpiDeclarationAttributes">
394 <xs:attribute name="Name" type="xs:NCName" use="required"/>
395 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
396 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
397 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
398 </xs:attributeGroup>
399 <xs:attributeGroup name="PpiAttributes">
400 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
401 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
402 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
403 <!-- DO NOT USE remove EnableFeature from use -->
404 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
405 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
406 <!-- DO NOT USE remove Guid from use -->
407 <xs:attribute name="Guid" type="GuidType" use="optional"/>
408 <!-- Make Usage REQUIRED in final -->
409 <xs:attribute name="Usage" type="PpiUsage" use="optional"/>
410 <!-- DO NOT USE remove OverrideID from use -->
411 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
412 </xs:attributeGroup>
413 <xs:attributeGroup name="PpiNotifyAttributes">
414 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
415 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
416 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
417 <!-- DO NOT USE remove EnableFeature from use -->
418 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
419 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
420 <!-- DO NOT USE remove Guid from use -->
421 <xs:attribute name="Guid" type="GuidType" use="optional"/>
422 <!-- Make Usage REQUIRED in final -->
423 <xs:attribute name="Usage" type="PpiNotifyUsage" use="optional"/>
424 <!-- DO NOT USE remove OverrideID from use -->
425 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
426 </xs:attributeGroup>
427 <xs:attributeGroup name="ProtocolAttributes">
428 <!-- DO NOT USE remove Arch from use, use SupArchList instead-->
429 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
430 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
431 <!-- DO NOT USE remove EnableFeature from use -->
432 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
433 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
434 <!-- DO NOT USE remove Guid from use -->
435 <xs:attribute name="Guid" type="GuidType" use="optional"/>
436 <!-- Make Usage REQUIRED in final -->
437 <xs:attribute name="Usage" type="ProtocolUsage" use="optional"/>
438 <!-- DO NOT USE remove OverrideID from use -->
439 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
440 </xs:attributeGroup>
441 <xs:attributeGroup name="ProtocolDeclarationAttributes">
442 <xs:attribute name="Name" type="xs:NCName" use="required"/>
443 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
444 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
445 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>
446 </xs:attributeGroup>
447 <xs:attributeGroup name="ProtocolNotifyAttributes">
448 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
449 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
450 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
451 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
452 <!-- DO NOT USE remove Guid from use -->
453 <xs:attribute name="Guid" type="GuidType" use="optional"/>
454 <!-- Make Usage REQUIRED in final -->
455 <xs:attribute name="Usage" type="ProtocolNotifyUsage" use="optional"/>
456 <!-- DO NOT USE remove OverrideID from use -->
457 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
458 </xs:attributeGroup>
459 <xs:attributeGroup name="SectionAttributes">
460 <xs:annotation>
461 <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>
462 </xs:annotation>
463 <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>
464 <xs:attribute default="true" name="Compressible" type="xs:boolean" use="optional"/>
465 <!-- DO NOT USE remove EnableFeature from use -->
466 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
467 <!-- LAH Does a Section need to have FeatureFlag Attribute? -->
468 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
469 <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>
470 <!-- DO NOT USE remove OverrideID from use -->
471 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
472 </xs:attributeGroup>
473 <xs:attributeGroup name="SectionsAttributes">
474 <xs:annotation>
475 <xs:documentation xml:lang="en">Attributes for Sections, EncapsulationTag, EncapsulationType and FeatureFlag</xs:documentation>
476 </xs:annotation>
477 <xs:attribute name="EncapsulationType" type="xs:normalizedString" use="optional"/>
478 <xs:attribute name="EncapsulationTag" type="xs:string" use="optional"/>
479 <!-- DO NOT USE remove EnableFeature from use -->
480 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
481 <!-- LAH Does a Filename need to have FeatureFlag Attribute? -->
482 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
483 <!-- DO NOT USE remove OverrideID from use -->
484 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
485 </xs:attributeGroup>
486 <xs:attributeGroup name="SystemTableAttributes">
487 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
488 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
489 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
490 <!-- DO NOT USE remove EnableFeature from use -->
491 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
492 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
493 <!-- DO NOT USE remove Guid from use -->
494 <xs:attribute name="Guid" type="GuidType" use="optional"/>
495 <!-- Make Usage REQUIRED in final -->
496 <xs:attribute name="Usage" type="SystemTableUsage" use="optional"/>
497 <!-- DO NOT USE remove OverrideID from use -->
498 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
499 </xs:attributeGroup>
500 <xs:attributeGroup name="UrlAttribute">
501 <xs:attribute name="Url" type="xs:anyURI"/>
502 </xs:attributeGroup>
503 <xs:attributeGroup name="VariableAttributes">
504 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->
505 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>
506 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>
507 <!-- DO NOT USE remove EnableFeature from use -->
508 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>
509 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>
510 <!-- DO NOT USE remove Guid from use -->
511 <xs:attribute name="Guid" type="GuidType" use="optional"/>
512 <!-- Make Usage REQUIRED in final -->
513 <xs:attribute name="Usage" type="VariableUsage" use="optional"/>
514 <!-- DO NOT USE remove OverrideID from use -->
515 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>
516 </xs:attributeGroup>
517 </xs:schema>