952789271cd465591312839d39a495495dcfdb33
[mirror_edk2.git] / Tools / XMLSchema / FrameworkHeaders.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
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">
3 <!--
4 Filename: FrameworkHeaders.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:include schemaLocation="FrameworkDataElements.xsd"/>
16 <xs:element name="FdbHeader">
17 <xs:annotation>
18 <xs:documentation xml:lang="en">This is the header for the Framework Package Database file.</xs:documentation>
19 </xs:annotation>
20 <xs:complexType>
21 <xs:sequence>
22 <xs:element minOccurs="1" maxOccurs="1" ref="DatabaseName"/>
23 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
24 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
25 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
26 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
27 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
28 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
29 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
30 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
31 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
32 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
33 </xs:sequence>
34 </xs:complexType>
35 </xs:element>
36 <xs:element name="MbdHeader">
37 <xs:annotation>
38 <xs:documentation xml:lang="en">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>
39 </xs:annotation>
40 <xs:complexType>
41 <xs:sequence>
42 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>
43 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>
44 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
45 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
46 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
47 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
48 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
49 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
50 </xs:sequence>
51 </xs:complexType>
52 </xs:element>
53 <xs:element name="MbdLibHeader">
54 <xs:annotation>
55 <xs:documentation xml:lang="en">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>
56 </xs:annotation>
57 <xs:complexType>
58 <xs:sequence>
59 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>
60 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>
61 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
62 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
63 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
64 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
65 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
66 <xs:element minOccurs="0" maxOccurs="1" ref="Modified"/>
67 </xs:sequence>
68 </xs:complexType>
69 </xs:element>
70 <xs:element name="MsaHeader">
71 <xs:annotation>
72 <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>
73 </xs:annotation>
74 <xs:complexType>
75 <xs:sequence>
76 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>
77 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>
78 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>
79 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
80 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
81 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
82 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
83 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
84 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
85 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
86 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
87 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
88 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
89 </xs:sequence>
90 </xs:complexType>
91 </xs:element>
92 <xs:element name="MsaLibHeader">
93 <xs:annotation>
94 <xs:documentation xml:lang="en">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>
95 </xs:annotation>
96 <xs:complexType>
97 <xs:sequence>
98 <xs:element minOccurs="1" maxOccurs="1" ref="BaseName"/>
99 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>
100 <xs:element minOccurs="1" maxOccurs="1" ref="ComponentType"/>
101 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>
102 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
103 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
104 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
105 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
106 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
107 <xs:element minOccurs="0" maxOccurs="1" ref="Specification"/>
108 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
109 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
110 </xs:sequence>
111 </xs:complexType>
112 </xs:element>
113 <xs:element name="PlatformHeader">
114 <xs:annotation>
115 <xs:documentation xml:lang="en">This head is for the Framework Platform Description file (FPD.)</xs:documentation>
116 </xs:annotation>
117 <xs:complexType>
118 <xs:sequence>
119 <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="PlatformNamingConvention">
120 <xs:annotation>
121 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>
122 </xs:annotation>
123 </xs:element>
124 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
125 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
126 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>
127 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
128 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
129 <xs:element minOccurs="0" maxOccurs="1" ref="Copyright"/>
130 <xs:element minOccurs="0" maxOccurs="1" ref="License"/>
131 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
132 <xs:element minOccurs="0" maxOccurs="1" ref="CreatedBy">
133 <xs:annotation>
134 <xs:documentation xml:lang="en">DO NOT USE! removing from XMLSchema</xs:documentation>
135 </xs:annotation>
136 </xs:element>
137 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
138 <xs:element minOccurs="0" maxOccurs="1" ref="PackageType"/>
139 </xs:sequence>
140 </xs:complexType>
141 </xs:element>
142 <xs:element name="SpdHeader">
143 <xs:annotation>
144 <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>
145 </xs:annotation>
146 <xs:complexType>
147 <xs:sequence>
148 <xs:element minOccurs="1" maxOccurs="1" ref="PackageName"/>
149 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
150 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
151 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
152 <xs:element minOccurs="1" maxOccurs="1" ref="Abstract"/>
153 <xs:element minOccurs="1" maxOccurs="1" ref="Description"/>
154 <xs:element minOccurs="1" maxOccurs="1" ref="Copyright"/>
155 <xs:element minOccurs="1" maxOccurs="1" ref="License"/>
156 <xs:element minOccurs="1" maxOccurs="1" ref="Created"/>
157 <xs:element minOccurs="0" maxOccurs="1" ref="E-Mail"/>
158 <xs:element minOccurs="0" maxOccurs="1" ref="Updated"/>
159 <xs:element minOccurs="0" maxOccurs="1" ref="URL"/>
160 <xs:element minOccurs="1" maxOccurs="1" ref="PackageType"/>
161 <xs:element minOccurs="0" maxOccurs="1" ref="ReadOnly"/>
162 <xs:element minOccurs="0" maxOccurs="1" ref="RePackage"/>
163 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>
164 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>
165 </xs:sequence>
166 </xs:complexType>
167 </xs:element>
168 </xs:schema>