1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Manifest v1.1.1                                                     -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################       -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16  </edmx:Reference>
17  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
18    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
19  </edmx:Reference>
20
21  <edmx:DataServices>
22
23    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manifest">
24      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
25
26      <ComplexType Name="Manifest" Abstract="true">
27        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
28        <Annotation Term="OData.Description" String="This type describes a manifest containing a set of requests to be fulfilled.  The manifest contains a set of stanzas, where each stanza describes a single request."/>
29        <Annotation Term="OData.LongDescription" String="This type shall describe a manifest containing a set of requests to be fulfilled."/>
30      </ComplexType>
31    </Schema>
32
33    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manifest.v1_0_0">
34      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35      <Annotation Term="Redfish.Release" String="2020.4"/>
36
37      <ComplexType Name="Manifest" BaseType="Manifest.Manifest">
38        <Property Name="Description" Type="Edm.String">
39          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
40          <Annotation Term="OData.Description" String="The description of this manifest."/>
41          <Annotation Term="OData.LongDescription" String="This property shall contain the description of this manifest."/>
42        </Property>
43        <Property Name="Timestamp" Type="Edm.DateTimeOffset">
44          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
45          <Annotation Term="OData.Description" String="The date and time when the manifest was created."/>
46          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the manifest was created."/>
47        </Property>
48        <Property Name="Expand" Type="Manifest.v1_0_0.Expand">
49          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
50          <Annotation Term="OData.Description" String="The expansion control for references in manifest responses, similar to the `$expand=.` query parameter."/>
51          <Annotation Term="OData.LongDescription" String="This property shall contain the expansion control for references in manifest responses."/>
52        </Property>
53        <Property Name="Stanzas" Type="Collection(Manifest.v1_0_0.Stanza)">
54          <Annotation Term="OData.Description" String="An array of stanzas that describe the requests specified by this manifest."/>
55          <Annotation Term="OData.LongDescription" String="This property shall contain an array of stanzas that describe the requests specified by this manifest."/>
56        </Property>
57      </ComplexType>
58
59      <EnumType Name="Expand">
60        <Member Name="None">
61          <Annotation Term="OData.Description" String="Do not expand any references."/>
62          <Annotation Term="OData.LongDescription" String="This value shall indicate that references in the manifest response will not be expanded."/>
63        </Member>
64        <Member Name="All">
65          <Annotation Term="OData.Description" String="Expand all subordinate references."/>
66          <Annotation Term="OData.LongDescription" String="This value shall indicate that all subordinate references in the manifest response will be expanded."/>
67        </Member>
68        <Member Name="Relevant">
69          <Annotation Term="OData.Description" String="Expand relevant subordinate references.  Relevant references are those that are tied to a constrained composition request, such as a request for a quantity of processors."/>
70          <Annotation Term="OData.LongDescription" String="This value shall indicate that relevant subordinate references in the manifest response will be expanded."/>
71        </Member>
72      </EnumType>
73
74      <ComplexType Name="Stanza">
75        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
76        <Annotation Term="OData.Description" String="A stanza contains properties that describe a request to be fulfilled within a manifest."/>
77        <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe a request to be fulfilled within a manifest."/>
78        <Property Name="StanzaType" Type="Manifest.v1_0_0.StanzaType">
79          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
80          <Annotation Term="OData.Description" String="The type of stanza."/>
81          <Annotation Term="OData.LongDescription" String="This property shall contain the type of stanza."/>
82        </Property>
83        <Property Name="OEMStanzaType" Type="Edm.String">
84          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
85          <Annotation Term="OData.Description" String="The OEM-defined type of stanza."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM-defined type of stanza.  This property shall be present if StanzaType is `OEM`."/>
87        </Property>
88        <Property Name="StanzaId" Type="Edm.String">
89          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
90          <Annotation Term="OData.Description" String="The identifier of the stanza.  This is a unique identifier specified by the client and is not used by the service."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain the identifier of the stanza."/>
92        </Property>
93        <Property Name="Request" Type="Manifest.v1_0_0.Request">
94          <Annotation Term="OData.Description" String="The request details for the stanza."/>
95          <Annotation Term="OData.LongDescription" String="This property shall contain the request details for the stanza, and the contents vary depending on the value of the StanzaType property."/>
96        </Property>
97        <Property Name="Response" Type="Manifest.v1_0_0.Response">
98          <Annotation Term="OData.Description" String="The response details for the stanza."/>
99          <Annotation Term="OData.LongDescription" String="This property shall contain the response details for the stanza, and the contents vary depending on the value of the StanzaType property."/>
100        </Property>
101      </ComplexType>
102
103      <EnumType Name="StanzaType">
104        <Member Name="ComposeSystem">
105          <Annotation Term="OData.Description" String="A stanza that describes the desired end state for computer system composition operation.  The resources consumed by the composed computer system are moved to the active pool."/>
106          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that describes the specific, constrained, or mixed resources required to compose a computer system.  The resource blocks assigned to the computer system shall be moved to the active pool.  The Request property of the stanza shall contain a resource of type ComputerSystem that represents the composition request.  The Response property of the stanza shall contain a resource of type ComputerSystem that represents the composed system or a Redfish Specification-defined error response."/>
107        </Member>
108        <Member Name="DecomposeSystem">
109          <Annotation Term="OData.Description" String="A stanza that references a computer system to decompose and return resources to the free pool."/>
110          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that references a computer system to decompose and return the resource blocks to the free pool that are no longer contributing to composed resources.  The Request property of the stanza shall be a Redfish Specification-defined reference object containing a reference to the resource of type ComputerSystem to decompose.  The Response property of the stanza shall contain a resource of type ComputerSystem that represents the decomposed system or a Redfish Specification-defined error response."/>
111        </Member>
112        <Member Name="ComposeResource">
113          <Annotation Term="OData.Description" String="A stanza that describes the desired end state for a composed resource block.  The resources consumed by the composed resource block are moved to the active pool."/>
114          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that describes a composed resource block.  The resource blocks assigned to the composed resource block shall be moved to the active pool.  The Request property of the stanza shall contain a resource of type ResourceBlock that represents the composition request.  The Response property of the stanza shall contain a resource of type ResourceBlock that represents the composed resource block or a Redfish Specification-defined error response."/>
115        </Member>
116        <Member Name="DecomposeResource">
117          <Annotation Term="OData.Description" String="A stanza that references a composed resource block to decompose and return resources to the free pool."/>
118          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that references a composed resource block to decompose and return the resource blocks to the free pool that are no longer contributing to composed resources.  The Request property of the stanza shall be a reference object as defined by the 'Reference properties' clause of the Redfish Specification containing a reference to the resource of type ResourceBlock to decompose.  The Response property of the stanza shall contain a resource of type ResourceBlock that represents the decomposed resource block or a Redfish Specification-defined error response."/>
119        </Member>
120        <Member Name="OEM">
121          <Annotation Term="OData.Description" String="A stanza that describes an OEM-specific request."/>
122          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that describes an OEM-specific request.  The OEMStanzaType property shall contain the specific OEM stanza type."/>
123        </Member>
124        <Member Name="RegisterResourceBlock">
125          <Annotation Term="OData.Description" String="A stanza that references a resource, such as a computer system, in order to create a resource block that references the resource and add it to the free pool."/>
126          <Annotation Term="OData.LongDescription" String="This value shall indicate a stanza that references a resource to create a resource block that references the resource and add it to the free pool.  The Request property of the stanza shall contain a resource of type ResourceBlock that represents the registration request.  The Response property of the stanza shall contain a resource of type ResourceBlock that represents the composed system or a Redfish Specification-defined error response."/>
127          <Annotation Term="Redfish.Revisions">
128            <Collection>
129              <Record>
130                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
131                <PropertyValue Property="Version" String="v1_1_0"/>
132              </Record>
133            </Collection>
134          </Annotation>
135        </Member>
136      </EnumType>
137
138      <ComplexType Name="Request">
139        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
140        <Annotation Term="OData.Description" String="The content of the request for the stanza."/>
141        <Annotation Term="OData.LongDescription" String="This type shall describe the request details of a stanza within a manifest.  Its contents vary depending on the value of the StanzaType property of the stanza."/>
142      </ComplexType>
143
144      <ComplexType Name="Response">
145        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
146        <Annotation Term="OData.Description" String="The content of the response for the stanza."/>
147        <Annotation Term="OData.LongDescription" String="This type shall describe the response details of a stanza within a manifest.  Its contents vary depending on the value of the StanzaType property of the stanza."/>
148      </ComplexType>
149    </Schema>
150
151    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manifest.v1_0_1">
152      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
153      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
154    </Schema>
155
156    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manifest.v1_1_0">
157      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
158      <Annotation Term="Redfish.Release" String="2022.1"/>
159      <Annotation Term="OData.Description" String="This version was created to add `RegisterResourceBlock` to the StanzaType enumeration."/>
160
161      <ComplexType Name="Manifest" BaseType="Manifest.v1_0_0.Manifest"/>
162    </Schema>
163
164    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manifest.v1_1_1">
165      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
166      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
167    </Schema>
168
169  </edmx:DataServices>
170</edmx:Edmx>
171