]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkDataAttributes.xsd
Added more comments to show indicate what will go, and what will stay, also wrapped...
[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
20 <xs:attributeGroup name="BaseNameAttributes">\r
21 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
22 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
23 </xs:attributeGroup>\r
24 <xs:attributeGroup name="BootModeAttributes">\r
25 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
26 <xs:attribute name="BootModeName" type="BootModeNames" use="required"/>\r
27 <xs:attribute name="Usage" type="BootModeUsage" use="required"/>\r
cf0a51a5 28 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 29 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
30 </xs:attributeGroup>\r
31 <xs:attributeGroup name="ConvertAttributeString">\r
32 <xs:attribute name="SourceString" type="xs:string" use="optional"/>\r
33 <xs:attribute default="Unicode" name="OutputFiletype" type="xs:string" use="optional"/>\r
34 <xs:attribute name="OutputFilename" type="FileNameConvention" use="optional"/>\r
35 </xs:attributeGroup>\r
36 <xs:attributeGroup name="DataHubAttributes">\r
37 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
38 <xs:attribute name="Usage" type="DataHubUsage" use="optional"/>\r
cf0a51a5 39 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 40 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
41 </xs:attributeGroup>\r
42 <xs:attributeGroup name="DirectoryAttributes">\r
43 <xs:attribute name="Separator" type="ToothPick"/>\r
44 </xs:attributeGroup>\r
45 <xs:attributeGroup name="EventAttributes">\r
46 <xs:attribute name="Usage" type="EventUsage" use="optional"/>\r
47 <xs:attribute name="EventGroup" type="EventTypes" use="optional"/>\r
cf0a51a5 48 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 49 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
50 </xs:attributeGroup>\r
51 <xs:attributeGroup name="ExternAttributes">\r
52 <xs:attribute name="Usage" type="ExternUsage" use="optional"/>\r
cf0a51a5 53 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 54 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
55 </xs:attributeGroup>\r
56 <xs:attributeGroup name="FilenameAttributes">\r
57 <xs:attribute name="Usage" type="FileNameUsage" use="optional"/>\r
58 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
2fdd0c7d 59 <xs:attribute name="GuidValue" type="GuidType" use="optional"/>\r
92e805e9 60 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
61 <xs:attribute name="FileType" type="xs:string" use="optional"/>\r
62 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r
cf0a51a5 63 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 64 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
65 </xs:attributeGroup>\r
66 <xs:attributeGroup name="FormsetAttributes">\r
67 <xs:attribute name="Usage" type="FormSetUsage" use="optional"/>\r
68 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
cf0a51a5 69 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 70 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
71 </xs:attributeGroup>\r
72 <xs:attributeGroup name="GuidAttributes">\r
73 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>\r
74 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 75 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 76 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
77 </xs:attributeGroup>\r
78 <xs:attributeGroup name="HobAttributes">\r
79 <xs:attribute name="Usage" type="HobUsage" use="optional"/>\r
80 <xs:attribute name="HobType" type="HobTypes" use="required"/>\r
81 <xs:attribute default="true" name="HobEnabled" type="xs:boolean" use="optional"/>\r
cf0a51a5 82 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 83 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
84 </xs:attributeGroup>\r
85 <xs:attributeGroup name="IncludeAttributes">\r
86 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
87 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
88 <xs:attribute name="Class" type="xs:normalizedString" use="optional"/>\r
89 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
cf0a51a5 90 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 91 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r
93 </xs:attributeGroup>\r
94 <xs:attributeGroup name="LibraryAttributes">\r
95 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
96 <xs:attribute name="LibraryClass" type="BaseNameConvention" use="optional"/>\r
97 <xs:attribute name="ClassGuid" type="GuidType" use="optional"/>\r
98 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
99 <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>\r
100 <xs:attribute name="Package" type="xs:string" use="optional"/>\r
cf0a51a5 101 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 102 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
103 </xs:attributeGroup>\r
104 <xs:attributeGroup name="ModuleNameAttributes">\r
2fdd0c7d 105 <xs:attribute name="Guid" type="GuidType" use="required"/>\r
106 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
107 </xs:attributeGroup>\r
108 <xs:attributeGroup name="ModuleNameSaAttributes">\r
109 <xs:attribute name="ModuleName" type="xs:NCName" use="required"/>\r
110 <xs:attribute name="Guid" type="GuidType" use="required"/>\r
92e805e9 111 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
112 </xs:attributeGroup>\r
113 <xs:attributeGroup name="MsaAttributes">\r
114 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
115 <xs:attribute name="FvBinding" type="xs:string" use="optional"/>\r
116 <xs:attribute name="ModuleName" type="C_Name" use="optional"/>\r
117 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
118 <xs:attribute name="PackageName" type="C_Name" use="optional"/>\r
119 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
120 <xs:attribute name="BuildSequence" type="xs:int" use="optional"/>\r
121 </xs:attributeGroup>\r
122 <xs:attributeGroup name="OptionAttributes">\r
123 <xs:attribute name="Platform" type="PlatformNamingConvention" use="optional"/>\r
92e805e9 124 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r
2fdd0c7d 125 <xs:attribute name="BuildTarget" type="BuildTargets" use="optional"/>\r
cf0a51a5 126 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
127 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 128 </xs:attributeGroup>\r
129 <xs:attributeGroup name="PackageAttributes">\r
130 <xs:attribute name="Usage" type="PackageUsage" use="optional"/>\r
131 <xs:attribute name="PackageType" type="PackageType" use="optional"/>\r
132 <xs:attribute name="UpdatedDate" type="DateType" use="optional"/>\r
133 </xs:attributeGroup>\r
134 <xs:attributeGroup name="PackageNameAttributes">\r
135 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
136 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
2fdd0c7d 137 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
92e805e9 138 </xs:attributeGroup>\r
139 <xs:attributeGroup name="PcdAttributes">\r
140 <xs:annotation>\r
141 <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>\r
142 <xs:documentation xml:lang="en">PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG</xs:documentation>\r
143 </xs:annotation>\r
144 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r
145 <xs:attribute name="PcdUsage" type="PcdUsage" use="optional"/>\r
cf0a51a5 146 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 147 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
148 </xs:attributeGroup>\r
149 <xs:attributeGroup name="PlatformAttributes">\r
150 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
151 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
152 <xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>\r
153 <xs:attribute name="PlatformName" type="BaseNameConvention" use="optional"/>\r
154 <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>\r
155 <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>\r
156 </xs:attributeGroup>\r
157 <xs:attributeGroup name="PpiAttributes">\r
158 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
159 <xs:attribute name="Usage" type="PpiUsage" use="optional"/>\r
160 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 161 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 162 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
163 </xs:attributeGroup>\r
164 <xs:attributeGroup name="PpiNotifyAttributes">\r
165 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
166 <xs:attribute name="Usage" type="PpiNotifyUsage" use="optional"/>\r
167 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 168 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 169 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
170 </xs:attributeGroup>\r
171 <xs:attributeGroup name="ProtocolAttributes">\r
172 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
173 <xs:attribute name="Usage" type="ProtocolUsage" use="optional"/>\r
174 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 175 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 176 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
177 </xs:attributeGroup>\r
178 <xs:attributeGroup name="ProtocolNotifyAttributes">\r
179 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
180 <xs:attribute name="Usage" type="ProtocolNotifyUsage" use="optional"/>\r
cf0a51a5 181 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 182 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
183 </xs:attributeGroup>\r
184 <xs:attributeGroup name="SectionAttributes">\r
185 <xs:annotation>\r
186 <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>\r
187 </xs:annotation>\r
188 <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>\r
189 <xs:attribute default="true" name="Compressible" type="xs:boolean" use="optional"/>\r
190 <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>\r
cf0a51a5 191 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 192 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
193 </xs:attributeGroup>\r
194 <xs:attributeGroup name="SectionsAttributes">\r
195 <xs:annotation>\r
196 <xs:documentation xml:lang="en">Attributes for Sections, EncapsulationTag, EncapsulationType and OverrideID</xs:documentation>\r
197 </xs:annotation>\r
198 <xs:attribute name="EncapsulationType" type="xs:normalizedString" use="optional"/>\r
199 <xs:attribute name="EncapsulationTag" type="xs:string" use="optional"/>\r
cf0a51a5 200 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 201 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
202 </xs:attributeGroup>\r
203 <xs:attributeGroup name="SystemTableAttributes">\r
204 <xs:attribute name="Usage" type="SystemTableUsage" use="optional"/>\r
cf0a51a5 205 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 206 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
207 </xs:attributeGroup>\r
cf0a51a5 208 <xs:attributeGroup name="UrlAttribute">\r
209 <xs:attribute name="Url" type="xs:anyURI"/>\r
210 </xs:attributeGroup>\r
92e805e9 211 <xs:attributeGroup name="VariableAttributes">\r
212 <xs:attribute name="Usage" type="VariableUsage" use="optional"/>\r
cf0a51a5 213 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 214 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
215 </xs:attributeGroup>\r
92e805e9 216</xs:schema>\r