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