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