]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkHeaders.xsd
Added FeatureFlag Attribute to most attributeGroup definitions, per Andrew. Where...
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
CommitLineData
878ddf1f 1<?xml version="1.0" encoding="UTF-8"?>\r
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
3 <!--\r
4 Filename: FrameworkHeaders.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:include schemaLocation="FrameworkDataElements.xsd"/>\r
16 <xs:element name="FdbHeader">\r
17 <xs:annotation>\r
18 <xs:documentation xml:lang="en">This is the header for the Framework Package Database file.</xs:documentation>\r
19 </xs:annotation>\r
20 <xs:complexType>\r
21 <xs:sequence>\r
22 <xs:element minOccurs="1" maxOccurs="1" ref="DatabaseName"/>\r
f29b8a33 23 <xs:choice minOccurs="1" maxOccurs="1">\r
24 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
25 <!-- Guid needs to be removed -->\r
26 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
27 <!-- GuidValue needs to be required -->\r
28 </xs:choice>\r
878ddf1f 29 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
f29b8a33 30 <!-- Version is the version of this file -->\r
878ddf1f 31 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
f29b8a33 32 <!-- Path needs to be removed -->\r
0fce57e7 33 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 34 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
35 <!-- Created needs to be removed -->\r
36 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
37 <!-- CreatedDate needs to be required -->\r
38 </xs:choice>\r
39 <xs:choice minOccurs="0">\r
40 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
41 <!-- Updated needs to be removed -->\r
42 <xs:element minOccurs="0" maxOccurs="1" ref="UpdatedDate"/>\r
0fce57e7 43 </xs:choice>\r
878ddf1f 44 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
45 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
46 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
47 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
f29b8a33 48 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
49 <!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 50 </xs:sequence>\r
51 </xs:complexType>\r
52 </xs:element>\r
53 <xs:element name="MbdHeader">\r
f29b8a33 54 <!-- MbdHeader needs to be removed -->\r
878ddf1f 55 <xs:annotation>\r
f29b8a33 56 <xs:documentation xml:lang="en">DO NOT USE! This is the header for the Component Module Build Description (MBD) file. NOTE: The GUID may be different from the GUID in the MSA file, as the Guid is updated every time the file is changed, as the Guid may change if the contents of the file are changed.</xs:documentation>\r
878ddf1f 57 </xs:annotation>\r
58 <xs:complexType>\r
59 <xs:sequence>\r
60 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
61 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
62 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
63 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
64 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
65 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
2fdd0c7d 66 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
0fce57e7 67 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 68 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
69 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 70 </xs:choice>\r
71 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 72 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
73 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 74 </xs:choice>\r
878ddf1f 75 </xs:sequence>\r
76 </xs:complexType>\r
77 </xs:element>\r
78 <xs:element name="MbdLibHeader">\r
f29b8a33 79 <!-- MbdLibHeader needs to be removed -->\r
878ddf1f 80 <xs:annotation>\r
f29b8a33 81 <xs:documentation xml:lang="en">DO NOT USE! This is the header for the Library Module Build Description (MBD) file. NOTE: The Guid may be different from the Guid in the MSA file, as the Guid may change when the contents of the file are changed..</xs:documentation>\r
878ddf1f 82 </xs:annotation>\r
83 <xs:complexType>\r
84 <xs:sequence>\r
85 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
86 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
87 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
89 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
90 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
2fdd0c7d 91 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
0fce57e7 92 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 93 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
94 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 95 </xs:choice>\r
96 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 97 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
98 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 99 </xs:choice>\r
878ddf1f 100 </xs:sequence>\r
101 </xs:complexType>\r
102 </xs:element>\r
103 <xs:element name="MsaHeader">\r
104 <xs:annotation>\r
105 <xs:documentation xml:lang="en">This is the Component Module Surface Area Description Header - a replacement for INF files. The GUID may change when the contents of the file are changed.</xs:documentation>\r
106 </xs:annotation>\r
107 <xs:complexType>\r
108 <xs:sequence>\r
2fdd0c7d 109 <xs:choice>\r
110 <xs:element minOccurs="0" maxOccurs="1" ref="BaseName"/>\r
111 <xs:element minOccurs="0" maxOccurs="1" name="ModuleName" type="xs:NCName"/>\r
112 </xs:choice>\r
878ddf1f 113 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
114 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
f29b8a33 115 <xs:choice>\r
116 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
117 <!-- Guid needs to be removed -->\r
118 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
119 <!-- GuidValue needs to be required -->\r
120 </xs:choice>\r
878ddf1f 121 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
122 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
123 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
124 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
125 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 126 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 127 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
128 <!-- Created needs to be removed -->\r
129 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
130 <!-- CreatedDate needs to be required -->\r
131 </xs:choice>\r
132 <xs:choice>\r
133 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
134 <!-- Updated needs to be removed -->\r
135 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 136 </xs:choice>\r
0fce57e7 137 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
f29b8a33 138 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 139 </xs:sequence>\r
140 </xs:complexType>\r
141 </xs:element>\r
142 <xs:element name="MsaLibHeader">\r
f29b8a33 143 <!-- MsaLibHeader needs to be removed -->\r
878ddf1f 144 <xs:annotation>\r
f29b8a33 145 <xs:documentation xml:lang="en">DO NOT USE! This is the Library Module Surface Area Description Header - a replacement for INF files. The Guid may change when the contents of the file are changed.</xs:documentation>\r
878ddf1f 146 </xs:annotation>\r
147 <xs:complexType>\r
148 <xs:sequence>\r
149 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
150 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
151 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
152 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
153 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
154 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
155 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
156 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
157 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 158 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 159 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
160 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 161 </xs:choice>\r
878ddf1f 162 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
9e318f88 163 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>\r
878ddf1f 164 </xs:sequence>\r
165 </xs:complexType>\r
166 </xs:element>\r
167 <xs:element name="PlatformHeader">\r
168 <xs:annotation>\r
169 <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>\r
170 </xs:annotation>\r
171 <xs:complexType>\r
172 <xs:sequence>\r
cb9f0b9e 173 <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention"/>\r
bab93bdd 174 <xs:choice>\r
cb9f0b9e 175 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
176 <!-- DO NOT USE Guid needs to be removed -->\r
177 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
178 <!-- GuidValue needs to be required -->\r
bab93bdd 179 </xs:choice>\r
878ddf1f 180 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
181 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
182 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
183 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
184 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
0fce57e7 185 <xs:choice minOccurs="1" maxOccurs="1">\r
cb9f0b9e 186 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
187 <!-- DO NOT USE Created needs to be removed -->\r
188 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
189 <!-- CreatedDate needs to be required -->\r
0fce57e7 190 </xs:choice>\r
cb9f0b9e 191 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy"/>\r
192 <!-- DO NOT USE CreatedBy needs to be removed -->\r
f29b8a33 193 <xs:choice>\r
cb9f0b9e 194 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
195 <!-- DO NOT USE Updated needs to be removed -->\r
196 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
bab93bdd 197 </xs:choice>\r
cb9f0b9e 198 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>\r
199 <!-- DO NOT USE PackageType needs to be removed -->\r
2fdd0c7d 200 <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget" type="BuildTargets"/>\r
f29b8a33 201 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
202 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 203 </xs:sequence>\r
204 </xs:complexType>\r
205 </xs:element>\r
206 <xs:element name="SpdHeader">\r
207 <xs:annotation>\r
208 <xs:documentation xml:lang="en">This head is for the Surface Area Package Description file (SPD) The Guid may change when the contents of the file are changed.</xs:documentation>\r
209 </xs:annotation>\r
210 <xs:complexType>\r
211 <xs:sequence>\r
212 <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>\r
f29b8a33 213 <xs:choice minOccurs="1" maxOccurs="1">\r
214 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
215 <!-- Guid needs to be removed -->\r
216 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
217 </xs:choice>\r
878ddf1f 218 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
219 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
220 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
221 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
222 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 223 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 224 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
225 <!-- Created needs to be removed -->\r
226 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 227 </xs:choice>\r
878ddf1f 228 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
229 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
230 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
231 <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>\r
232 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
233 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
234 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
f29b8a33 235 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 236 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
f29b8a33 237 <!-- OutputDirectory needs to be removed -->\r
878ddf1f 238 </xs:sequence>\r
239 </xs:complexType>\r
240 </xs:element>\r
241</xs:schema>\r