]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkHeaders.xsd
1) Change the schema type for <VariableGuid> used in PCD HiiEnable group in FPD file.
[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
4688cb14 23 <!-- Value fixed during initialization: FrameworkDatabase -->\r
f29b8a33 24 <xs:choice minOccurs="1" maxOccurs="1">\r
25 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
26 <!-- Guid needs to be removed -->\r
27 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
28 <!-- GuidValue needs to be required -->\r
29 </xs:choice>\r
878ddf1f 30 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
f29b8a33 31 <!-- Version is the version of this file -->\r
878ddf1f 32 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
f29b8a33 33 <!-- Path needs to be removed -->\r
0fce57e7 34 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 35 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
36 <!-- Created needs to be removed -->\r
37 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
38 <!-- CreatedDate needs to be required -->\r
39 </xs:choice>\r
40 <xs:choice minOccurs="0">\r
41 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
42 <!-- Updated needs to be removed -->\r
43 <xs:element minOccurs="0" maxOccurs="1" ref="UpdatedDate"/>\r
0fce57e7 44 </xs:choice>\r
878ddf1f 45 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
46 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
47 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
48 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
41eec21d 49 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
f29b8a33 50 <!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->\r
878ddf1f 51 </xs:sequence>\r
52 </xs:complexType>\r
53 </xs:element>\r
54 <xs:element name="MbdHeader">\r
f29b8a33 55 <!-- MbdHeader needs to be removed -->\r
878ddf1f 56 <xs:annotation>\r
f29b8a33 57 <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 58 </xs:annotation>\r
59 <xs:complexType>\r
60 <xs:sequence>\r
61 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
62 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
63 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
64 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
65 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
66 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
41eec21d 67 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
0fce57e7 68 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 69 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
70 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 71 </xs:choice>\r
72 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 73 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
74 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 75 </xs:choice>\r
878ddf1f 76 </xs:sequence>\r
77 </xs:complexType>\r
78 </xs:element>\r
79 <xs:element name="MbdLibHeader">\r
f29b8a33 80 <!-- MbdLibHeader needs to be removed -->\r
878ddf1f 81 <xs:annotation>\r
f29b8a33 82 <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 83 </xs:annotation>\r
84 <xs:complexType>\r
85 <xs:sequence>\r
86 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
87 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
89 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
90 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
91 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
41eec21d 92 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
0fce57e7 93 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 94 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
95 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 96 </xs:choice>\r
97 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 98 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>\r
99 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 100 </xs:choice>\r
878ddf1f 101 </xs:sequence>\r
102 </xs:complexType>\r
103 </xs:element>\r
104 <xs:element name="MsaHeader">\r
105 <xs:annotation>\r
106 <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
107 </xs:annotation>\r
108 <xs:complexType>\r
109 <xs:sequence>\r
2fdd0c7d 110 <xs:choice>\r
4688cb14 111 <!-- BaseName needs to be removed -->\r
5c5b4899 112 <xs:element minOccurs="0" maxOccurs="1" ref="BaseName"/>\r
113 <!-- ModuleName needs to be required -->\r
114 <xs:element minOccurs="0" maxOccurs="1" name="ModuleName" type="UiNameType"/>\r
2fdd0c7d 115 </xs:choice>\r
878ddf1f 116 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
f0147869 117 <xs:element minOccurs="0" maxOccurs="1" ref="ComponentType"/>\r
f29b8a33 118 <xs:choice>\r
f29b8a33 119 <!-- Guid needs to be removed -->\r
5c5b4899 120 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
f29b8a33 121 <!-- GuidValue needs to be required -->\r
5c5b4899 122 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
f29b8a33 123 </xs:choice>\r
5c5b4899 124 <!-- Version needs to be a decimal in final -->\r
878ddf1f 125 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
126 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
127 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
128 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
129 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 130 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 131 <!-- Created needs to be removed -->\r
5c5b4899 132 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
133 <!-- CreatedDate needs to be removed -->\r
f29b8a33 134 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
f29b8a33 135 </xs:choice>\r
136 <xs:choice>\r
f29b8a33 137 <!-- Updated needs to be removed -->\r
5c5b4899 138 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
139 <!-- ModifiedDate needs to be removed -->\r
f29b8a33 140 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
0fce57e7 141 </xs:choice>\r
5c5b4899 142 <xs:element default="false" minOccurs="0" name="BinaryModule" type="xs:boolean"/>\r
143 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->\r
41eec21d 144 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
878ddf1f 145 </xs:sequence>\r
146 </xs:complexType>\r
147 </xs:element>\r
148 <xs:element name="MsaLibHeader">\r
f29b8a33 149 <!-- MsaLibHeader needs to be removed -->\r
878ddf1f 150 <xs:annotation>\r
f29b8a33 151 <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 152 </xs:annotation>\r
153 <xs:complexType>\r
154 <xs:sequence>\r
155 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>\r
156 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>\r
157 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>\r
158 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
159 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
160 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
161 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
162 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
163 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 164 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 165 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
166 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 167 </xs:choice>\r
878ddf1f 168 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
41eec21d 169 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
878ddf1f 170 </xs:sequence>\r
171 </xs:complexType>\r
172 </xs:element>\r
173 <xs:element name="PlatformHeader">\r
174 <xs:annotation>\r
175 <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>\r
176 </xs:annotation>\r
177 <xs:complexType>\r
178 <xs:sequence>\r
cb9f0b9e 179 <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention"/>\r
bab93bdd 180 <xs:choice>\r
4688cb14 181 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
182 <!-- DO NOT USE Guid needs to be removed -->\r
183 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
184 <!-- GuidValue needs to be required -->\r
bab93bdd 185 </xs:choice>\r
2bf4e0a1 186 <!-- Version needs to be xs:decimal in final -->\r
878ddf1f 187 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
188 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
189 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
190 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>\r
191 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>\r
0fce57e7 192 <xs:choice minOccurs="1" maxOccurs="1">\r
4688cb14 193 <!-- DO NOT USE Created needs to be removed -->\r
2bf4e0a1 194 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
195 <!-- DO NOT USE CreatedDate needs to be removed -->\r
4688cb14 196 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 197 </xs:choice>\r
cb9f0b9e 198 <!-- DO NOT USE CreatedBy needs to be removed -->\r
2bf4e0a1 199 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy"/>\r
f29b8a33 200 <xs:choice>\r
4688cb14 201 <!-- DO NOT USE Updated needs to be removed -->\r
2bf4e0a1 202 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
203 <!-- DO NOT USE ModifiedDate needs to be removed -->\r
4688cb14 204 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
bab93bdd 205 </xs:choice>\r
cb9f0b9e 206 <!-- DO NOT USE PackageType needs to be removed -->\r
2bf4e0a1 207 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>\r
208 <!-- DO NOT USE BuildTarget needs to be removed -->\r
2fdd0c7d 209 <xs:element minOccurs="0" maxOccurs="1" name="BuildTarget" type="BuildTargets"/>\r
2bf4e0a1 210 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->\r
41eec21d 211 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
878ddf1f 212 </xs:sequence>\r
213 </xs:complexType>\r
214 </xs:element>\r
215 <xs:element name="SpdHeader">\r
216 <xs:annotation>\r
c12c6c7d 217 <xs:documentation xml:lang="en">This head is for the Surface Area Package Description file (SPD)</xs:documentation>\r
218 <xs:documentation xml:lang="en">The Guid MUST change when the contents of the file undergo MAJOR FUNCTIONALITY changes.</xs:documentation>\r
219 <xs:documentation xml:lang="en">The Version MUST change when the contents of the file undergo MINOR FUNCTIONALITY changes.</xs:documentation>\r
878ddf1f 220 </xs:annotation>\r
221 <xs:complexType>\r
222 <xs:sequence>\r
c12c6c7d 223 <xs:element minOccurs="1" maxOccurs="1" name="PackageName" type="UiNameType"/>\r
f29b8a33 224 <xs:choice minOccurs="1" maxOccurs="1">\r
c12c6c7d 225 <!-- DO NOT USE! Guid needs to be removed -->\r
f29b8a33 226 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
4688cb14 227 <!-- GuidValue needs to be required -->\r
c12c6c7d 228 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
f29b8a33 229 </xs:choice>\r
41eec21d 230 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
878ddf1f 231 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>\r
232 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>\r
233 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>\r
234 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>\r
0fce57e7 235 <xs:choice minOccurs="1" maxOccurs="1">\r
f29b8a33 236 <!-- Created needs to be removed -->\r
c12c6c7d 237 <xs:element minOccurs="0" maxOccurs="1" ref="Created"/>\r
238 <!-- CreatedDate needs to be removed -->\r
f29b8a33 239 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedDate"/>\r
0fce57e7 240 </xs:choice>\r
c12c6c7d 241 <!-- E_Mail needs to be removed -->\r
878ddf1f 242 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>\r
4688cb14 243 <xs:choice minOccurs="0" maxOccurs="1">\r
c12c6c7d 244 <!-- Updated needs to be removed -->\r
4688cb14 245 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>\r
c12c6c7d 246 <!-- UpdatedDate needs to be removed -->\r
4688cb14 247 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
4688cb14 248 </xs:choice>\r
c12c6c7d 249 <!-- URL needs to be removed -->\r
878ddf1f 250 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>\r
c12c6c7d 251 <!-- PackageType needs to be removed -->\r
401693ff 252 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>\r
c12c6c7d 253 <!-- ReadOnly and RePackage remain in final -->\r
878ddf1f 254 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>\r
255 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>\r
c12c6c7d 256 <!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->\r
41eec21d 257 <xs:element minOccurs="0" maxOccurs="1" name="Specification" type="xs:string"/>\r
f29b8a33 258 <!-- OutputDirectory needs to be removed -->\r
c12c6c7d 259 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
878ddf1f 260 </xs:sequence>\r
261 </xs:complexType>\r
262 </xs:element>\r
263</xs:schema>\r