2006-04-22 00:54:32 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<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" >
<!--
Filename: FrameworkHeaders.xsd
Copyright (c) 2006, Intel Corp.
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-->
<xs:include schemaLocation= "FrameworkDataElements.xsd" />
<xs:element name= "FdbHeader" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is the header for the Framework Package Database file.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "DatabaseName" />
2006-06-03 00:20:46 +02:00
<!-- Value fixed during initialization: FrameworkDatabase -->
2006-06-01 05:23:09 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<!-- Guid needs to be removed -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
<!-- GuidValue needs to be required -->
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
2006-06-01 05:23:09 +02:00
<!-- Version is the version of this file -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Path" />
2006-06-01 05:23:09 +02:00
<!-- Path needs to be removed -->
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<!-- Created needs to be removed -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
<!-- CreatedDate needs to be required -->
</xs:choice>
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Updated" />
<!-- Updated needs to be removed -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "UpdatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Abstract" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
<!-- Specificatoin needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00090000 -->
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "MbdHeader" >
2006-06-01 05:23:09 +02:00
<!-- MbdHeader needs to be removed -->
2006-04-22 00:54:32 +02:00
<xs:annotation >
2006-06-01 05:23:09 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "BaseName" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-06-02 02:24:08 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Modified" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "MbdLibHeader" >
2006-06-01 05:23:09 +02:00
<!-- MbdLibHeader needs to be removed -->
2006-04-22 00:54:32 +02:00
<xs:annotation >
2006-06-01 05:23:09 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "BaseName" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-06-02 02:24:08 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Modified" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "MsaHeader" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-02 02:24:08 +02:00
<xs:choice >
2006-06-03 00:20:46 +02:00
<!-- BaseName needs to be removed -->
2006-06-09 06:32:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "BaseName" />
<!-- ModuleName needs to be required -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "ModuleName" type= "UiNameType" />
2006-06-02 02:24:08 +02:00
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "ModuleType" />
2006-06-19 08:24:35 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ComponentType" />
2006-06-01 05:23:09 +02:00
<xs:choice >
<!-- Guid needs to be removed -->
2006-06-09 06:32:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
2006-06-01 05:23:09 +02:00
<!-- GuidValue needs to be required -->
2006-06-09 06:32:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
2006-06-01 05:23:09 +02:00
</xs:choice>
2006-06-09 06:32:47 +02:00
<!-- Version needs to be a decimal in final -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Abstract" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<!-- Created needs to be removed -->
2006-06-09 06:32:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<!-- CreatedDate needs to be removed -->
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
</xs:choice>
<xs:choice >
<!-- Updated needs to be removed -->
2006-06-09 06:32:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Updated" />
<!-- ModifiedDate needs to be removed -->
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-06-09 06:32:47 +02:00
<xs:element default= "false" minOccurs= "0" name= "BinaryModule" type= "xs:boolean" />
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
2006-05-25 17:34:26 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "MsaLibHeader" >
2006-06-01 05:23:09 +02:00
<!-- MsaLibHeader needs to be removed -->
2006-04-22 00:54:32 +02:00
<xs:annotation >
2006-06-01 05:23:09 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "BaseName" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "ModuleType" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "ComponentType" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Abstract" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Updated" />
2006-06-02 04:45:47 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PlatformHeader" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This head is for the Framework Platform Description file (FPD.)</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-02 03:53:24 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "PlatformName" type= "PlatformNamingConvention" />
2006-05-31 04:13:29 +02:00
<xs:choice >
2006-06-03 00:20:46 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<!-- DO NOT USE Guid needs to be removed -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
<!-- GuidValue needs to be required -->
2006-05-31 04:13:29 +02:00
</xs:choice>
2006-06-09 07:51:19 +02:00
<!-- Version needs to be xs:decimal in final -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Abstract" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "License" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-03 00:20:46 +02:00
<!-- DO NOT USE Created needs to be removed -->
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<!-- DO NOT USE CreatedDate needs to be removed -->
2006-06-03 00:20:46 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-06-02 03:53:24 +02:00
<!-- DO NOT USE CreatedBy needs to be removed -->
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedBy" />
2006-06-01 05:23:09 +02:00
<xs:choice >
2006-06-03 00:20:46 +02:00
<!-- DO NOT USE Updated needs to be removed -->
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Updated" />
<!-- DO NOT USE ModifiedDate needs to be removed -->
2006-06-03 00:20:46 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
2006-05-31 04:13:29 +02:00
</xs:choice>
2006-06-02 03:53:24 +02:00
<!-- DO NOT USE PackageType needs to be removed -->
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "PackageType" />
<!-- DO NOT USE BuildTarget needs to be removed -->
2006-06-02 02:24:08 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "BuildTarget" type= "BuildTargets" />
2006-06-09 07:51:19 +02:00
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
2006-06-20 08:57:42 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "SpdHeader" >
<xs:annotation >
2006-06-09 01:46:59 +02:00
<xs:documentation xml:lang= "en" > This head is for the Surface Area Package Description file (SPD)</xs:documentation>
<xs:documentation xml:lang= "en" > The Guid MUST change when the contents of the file undergo MAJOR FUNCTIONALITY changes.</xs:documentation>
<xs:documentation xml:lang= "en" > The Version MUST change when the contents of the file undergo MINOR FUNCTIONALITY changes.</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "PackageName" type= "UiNameType" />
2006-06-01 05:23:09 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-09 01:46:59 +02:00
<!-- DO NOT USE! Guid needs to be removed -->
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
2006-06-03 00:20:46 +02:00
<!-- GuidValue needs to be required -->
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
2006-06-01 05:23:09 +02:00
</xs:choice>
2006-06-20 09:26:07 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "Version" type= "xs:decimal" />
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Abstract" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Description" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Copyright" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "License" />
2006-05-25 17:34:26 +02:00
<xs:choice minOccurs= "1" maxOccurs= "1" >
2006-06-01 05:23:09 +02:00
<!-- Created needs to be removed -->
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Created" />
<!-- CreatedDate needs to be removed -->
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "CreatedDate" />
2006-05-25 17:34:26 +02:00
</xs:choice>
2006-06-09 01:46:59 +02:00
<!-- E_Mail needs to be removed -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "E-Mail" />
2006-06-03 00:20:46 +02:00
<xs:choice minOccurs= "0" maxOccurs= "1" >
2006-06-09 01:46:59 +02:00
<!-- Updated needs to be removed -->
2006-06-03 00:20:46 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Updated" />
2006-06-09 01:46:59 +02:00
<!-- UpdatedDate needs to be removed -->
2006-06-03 00:20:46 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
</xs:choice>
2006-06-09 01:46:59 +02:00
<!-- URL needs to be removed -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "URL" />
2006-06-09 01:46:59 +02:00
<!-- PackageType needs to be removed -->
2006-06-10 22:29:18 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "PackageType" />
2006-06-09 01:46:59 +02:00
<!-- ReadOnly and RePackage remain in final -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ReadOnly" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "RePackage" />
2006-06-09 01:46:59 +02:00
<!-- Specification needs to be required - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 -->
2006-06-20 08:57:42 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Specification" />
2006-06-01 05:23:09 +02:00
<!-- OutputDirectory needs to be removed -->
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "OutputDirectory" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>