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