]>
Commit | Line | Data |
---|---|---|
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 | |
55 | <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r | |
56 | <xs:attribute name="FileType" type="xs:string" use="optional"/>\r | |
57 | <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r | |
58 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
59 | </xs:attributeGroup>\r | |
60 | <xs:attributeGroup name="FormsetAttributes">\r | |
61 | <xs:attribute name="Usage" type="FormSetUsage" use="optional"/>\r | |
62 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
63 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
64 | </xs:attributeGroup>\r | |
65 | <xs:attributeGroup name="GuidAttributes">\r | |
66 | <xs:attribute name="Usage" type="GuidUsage" use="optional"/>\r | |
67 | <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r | |
68 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
69 | </xs:attributeGroup>\r | |
70 | <xs:attributeGroup name="HobAttributes">\r | |
71 | <xs:attribute name="Usage" type="HobUsage" use="optional"/>\r | |
72 | <xs:attribute name="HobType" type="HobTypes" use="required"/>\r | |
73 | <xs:attribute default="true" name="HobEnabled" type="xs:boolean" use="optional"/>\r | |
74 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
75 | </xs:attributeGroup>\r | |
76 | <xs:attributeGroup name="IncludeAttributes">\r | |
77 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
78 | <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r | |
79 | <xs:attribute name="Class" type="xs:normalizedString" use="optional"/>\r | |
80 | <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r | |
81 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
82 | <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r | |
83 | </xs:attributeGroup>\r | |
84 | <xs:attributeGroup name="LibraryAttributes">\r | |
85 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
86 | <xs:attribute name="LibraryClass" type="BaseNameConvention" use="optional"/>\r | |
87 | <xs:attribute name="ClassGuid" type="GuidType" use="optional"/>\r | |
88 | <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r | |
89 | <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>\r | |
90 | <xs:attribute name="Package" type="xs:string" use="optional"/>\r | |
91 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
92 | </xs:attributeGroup>\r | |
93 | <xs:attributeGroup name="ModuleNameAttributes">\r | |
94 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
95 | <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r | |
96 | </xs:attributeGroup>\r | |
97 | <xs:attributeGroup name="MsaAttributes">\r | |
98 | <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r | |
99 | <xs:attribute name="FvBinding" type="xs:string" use="optional"/>\r | |
100 | <xs:attribute name="ModuleName" type="C_Name" use="optional"/>\r | |
101 | <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r | |
102 | <xs:attribute name="PackageName" type="C_Name" use="optional"/>\r | |
103 | <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r | |
104 | <xs:attribute name="BuildSequence" type="xs:int" use="optional"/>\r | |
105 | </xs:attributeGroup>\r | |
106 | <xs:attributeGroup name="OptionAttributes">\r | |
107 | <xs:attribute name="Platform" type="PlatformNamingConvention" use="optional"/>\r | |
108 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
109 | <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r | |
110 | </xs:attributeGroup>\r | |
111 | <xs:attributeGroup name="PackageAttributes">\r | |
112 | <xs:attribute name="Usage" type="PackageUsage" use="optional"/>\r | |
113 | <xs:attribute name="PackageType" type="PackageType" use="optional"/>\r | |
114 | <xs:attribute name="UpdatedDate" type="DateType" use="optional"/>\r | |
115 | </xs:attributeGroup>\r | |
116 | <xs:attributeGroup name="PackageNameAttributes">\r | |
117 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
118 | <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r | |
119 | </xs:attributeGroup>\r | |
120 | <xs:attributeGroup name="PcdAttributes">\r | |
121 | <xs:annotation>\r | |
122 | <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>\r | |
123 | <xs:documentation xml:lang="en">PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG</xs:documentation>\r | |
124 | </xs:annotation>\r | |
125 | <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r | |
126 | <xs:attribute name="PcdUsage" type="PcdUsage" use="optional"/>\r | |
127 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
128 | </xs:attributeGroup>\r | |
129 | <xs:attributeGroup name="PlatformAttributes">\r | |
130 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
131 | <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r | |
132 | <xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>\r | |
133 | <xs:attribute name="PlatformName" type="BaseNameConvention" use="optional"/>\r | |
134 | <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>\r | |
135 | <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>\r | |
136 | </xs:attributeGroup>\r | |
137 | <xs:attributeGroup name="PpiAttributes">\r | |
138 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
139 | <xs:attribute name="Usage" type="PpiUsage" use="optional"/>\r | |
140 | <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r | |
141 | <xs:attribute name="FeatureFlag" type="C_Name" use="optional"/>\r | |
142 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
143 | </xs:attributeGroup>\r | |
144 | <xs:attributeGroup name="PpiNotifyAttributes">\r | |
145 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
146 | <xs:attribute name="Usage" type="PpiNotifyUsage" use="optional"/>\r | |
147 | <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r | |
148 | <xs:attribute name="FeatureFlag" type="C_Name" use="optional"/>\r | |
149 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
150 | </xs:attributeGroup>\r | |
151 | <xs:attributeGroup name="ProtocolAttributes">\r | |
152 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
153 | <xs:attribute name="Usage" type="ProtocolUsage" use="optional"/>\r | |
154 | <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r | |
155 | <xs:attribute name="FeatureFlag" type="C_Name" use="optional"/>\r | |
156 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
157 | </xs:attributeGroup>\r | |
158 | <xs:attributeGroup name="ProtocolNotifyAttributes">\r | |
159 | <xs:attribute name="Guid" type="GuidType" use="optional"/>\r | |
160 | <xs:attribute name="Usage" type="ProtocolNotifyUsage" use="optional"/>\r | |
161 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
162 | </xs:attributeGroup>\r | |
163 | <xs:attributeGroup name="SectionAttributes">\r | |
164 | <xs:annotation>\r | |
165 | <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>\r | |
166 | </xs:annotation>\r | |
167 | <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>\r | |
168 | <xs:attribute default="true" name="Compressible" type="xs:boolean" use="optional"/>\r | |
169 | <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>\r | |
170 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
171 | </xs:attributeGroup>\r | |
172 | <xs:attributeGroup name="SectionsAttributes">\r | |
173 | <xs:annotation>\r | |
174 | <xs:documentation xml:lang="en">Attributes for Sections, EncapsulationTag, EncapsulationType and OverrideID</xs:documentation>\r | |
175 | </xs:annotation>\r | |
176 | <xs:attribute name="EncapsulationType" type="xs:normalizedString" use="optional"/>\r | |
177 | <xs:attribute name="EncapsulationTag" type="xs:string" use="optional"/>\r | |
178 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
179 | </xs:attributeGroup>\r | |
180 | <xs:attributeGroup name="SystemTableAttributes">\r | |
181 | <xs:attribute name="Usage" type="SystemTableUsage" use="optional"/>\r | |
182 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
183 | </xs:attributeGroup>\r | |
184 | <xs:attributeGroup name="VariableAttributes">\r | |
185 | <xs:attribute name="Usage" type="VariableUsage" use="optional"/>\r | |
186 | <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r | |
187 | </xs:attributeGroup>\r | |
188 | <xs:attributeGroup name="UrlAttribute">\r | |
189 | <xs:attribute name="Url" type="xs:anyURI"/>\r | |
190 | </xs:attributeGroup>\r | |
191 | </xs:schema>\r |