summaryrefslogtreecommitdiff
path: root/Tools/XMLSchema/FrameworkHeaders.xsd
blob: cee80f2d58350238da8bacf80b2ce0eaf78ac098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?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.
    
    APPROVED: 14-Jun-2006
  -->
  <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 (DB) file.</xs:documentation>
      <xs:documentation xml:lang="en">The Guid MUST change if backward compatibility breaks caused by a new release of XML Schema.</xs:documentation>
      <xs:documentation xml:lang="en">The Version will change if a minor change to XML Schema has been made, but backward compatiblity is maintained.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="DatabaseName" type="UiNameType" fixed="FrameworkDatabase"/>
        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
        <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"/>
        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="FarHeader">
    <xs:annotation>
      <xs:documentation xml:lang="en">This is the header for the Framework Archive Manifest file.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="FarName" type="UiNameType"/>
        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
        <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"/>
        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="MsaHeader">
    <xs:annotation>
      <xs:documentation xml:lang="en">This header is for the Module Surface Area Description (MSA) files</xs:documentation>
      <xs:documentation xml:lang="en">The Guid MUST change if the Module changes break backward compatibility.</xs:documentation>
      <xs:documentation xml:lang="en">The Version MUST change if the Module changes, however, backward compatiblity is maintained.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="ModuleName" type="UiNameType"/>
        <xs:element minOccurs="1" maxOccurs="1" ref="ModuleType"/>
        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
        <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"/>
        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PlatformHeader">
    <xs:annotation>
      <xs:documentation xml:lang="en">This header is for the Framework Platform Description (FPD) files.</xs:documentation>
      <xs:documentation xml:lang="en">The Guid MUST change if the FPD changes break backward compatibility.</xs:documentation>
      <xs:documentation xml:lang="en">The Version MUST change if the FPD changes, however, backward compatiblity is maintained.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="PlatformName" type="UiNameType"/>
        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
        <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"/>
        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SpdHeader">
    <xs:annotation>
      <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>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="PackageName" type="UiNameType"/>
        <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
        <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"/>
        <xs:element minOccurs="1" maxOccurs="1" name="Specification" type="Sentence" default="FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>