1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  CompositionService v1.2.2                                           -->
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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24    <edmx:Include Namespace="Resource"/>
25    <edmx:Include Namespace="Resource.v1_0_0"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection_v1.xml">
28    <edmx:Include Namespace="ResourceBlockCollection"/>
29  </edmx:Reference>
30  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ZoneCollection_v1.xml">
31    <edmx:Include Namespace="ZoneCollection"/>
32  </edmx:Reference>
33  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manifest_v1.xml">
34    <edmx:Include Namespace="Manifest"/>
35  </edmx:Reference>
36  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CompositionReservationCollection_v1.xml">
37    <edmx:Include Namespace="CompositionReservationCollection"/>
38  </edmx:Reference>
39
40  <edmx:DataServices>
41
42    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService">
43      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
44
45      <EntityType Name="CompositionService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
46        <Annotation Term="OData.Description" String="The CompositionService schema describes a composition service and its properties and links to the resources available for composition."/>
47        <Annotation Term="OData.LongDescription" String="This resource shall represent the composition service and its properties for a Redfish implementation."/>
48        <Annotation Term="Capabilities.InsertRestrictions">
49          <Record>
50            <PropertyValue Property="Insertable" Bool="false"/>
51          </Record>
52        </Annotation>
53        <Annotation Term="Capabilities.UpdateRestrictions">
54          <Record>
55            <PropertyValue Property="Updatable" Bool="true"/>
56            <Annotation Term="OData.Description" String="Some properties, such as ServiceEnabled, can be updated for the composition service."/>
57          </Record>
58        </Annotation>
59        <Annotation Term="Capabilities.DeleteRestrictions">
60          <Record>
61            <PropertyValue Property="Deletable" Bool="false"/>
62          </Record>
63        </Annotation>
64        <Annotation Term="Redfish.Uris">
65          <Collection>
66            <String>/redfish/v1/CompositionService</String>
67          </Collection>
68        </Annotation>
69      </EntityType>
70
71      <Action Name="Compose" IsBound="true">
72        <Annotation Term="OData.Description" String="This action performs a set of operations specified by a manifest."/>
73        <Annotation Term="OData.LongDescription" String="This action shall perform a set of operations specified by a manifest.  Services shall not apply any part of the manifest unless all operations specified by the manifest are successful."/>
74        <Parameter Name="CompositionService" Type="CompositionService.v1_0_0.Actions"/>
75        <Parameter Name="RequestFormat" Type="CompositionService.v1_2_0.ComposeRequestFormat" Nullable="false">
76          <Annotation Term="OData.Description" String="The format of the request."/>
77          <Annotation Term="OData.LongDescription" String="This parameter shall contain the format of the request."/>
78        </Parameter>
79        <Parameter Name="RequestType" Type="CompositionService.v1_2_0.ComposeRequestType" Nullable="false">
80          <Annotation Term="OData.Description" String="The type of request."/>
81          <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of request."/>
82        </Parameter>
83        <Parameter Name="Manifest" Type="Manifest.Manifest">
84          <Annotation Term="OData.Description" String="The manifest containing the compose operation request."/>
85          <Annotation Term="OData.LongDescription" String="This parameter shall contain the manifest containing the compose operation request.  This parameter shall be required if RequestFormat contains the value `Manifest`."/>
86        </Parameter>
87        <Parameter Name="ReservationId" Type="Edm.String">
88          <Annotation Term="OData.Description" String="The identifier of the composition reservation if applying a reservation.  The value for this parameter is obtained from the response of a Compose action where the RequestType parameter contains the value `PreviewReserve`."/>
89          <Annotation Term="OData.LongDescription" String="This parameter shall contain the value of the Id property of the CompositionReservation resource for applying a reservation."/>
90        </Parameter>
91        <ReturnType Type="CompositionService.v1_2_0.ComposeResponse" Nullable="false"/>
92        <Annotation Term="Redfish.Revisions">
93          <Collection>
94            <Record>
95              <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
96              <PropertyValue Property="Version" String="v1_2_0"/>
97            </Record>
98          </Collection>
99        </Annotation>
100      </Action>
101    </Schema>
102
103    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_0">
104      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
105      <Annotation Term="Redfish.Release" String="2017.1"/>
106
107      <EntityType Name="CompositionService" BaseType="CompositionService.CompositionService">
108        <Property Name="Status" Type="Resource.Status" Nullable="false">
109          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
110          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
111        </Property>
112        <Property Name="ServiceEnabled" Type="Edm.Boolean">
113          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
114          <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
115          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
116        </Property>
117        <Property Name="Actions" Type="CompositionService.v1_0_0.Actions" Nullable="false">
118          <Annotation Term="OData.Description" String="The available actions for this resource."/>
119          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
120        </Property>
121        <NavigationProperty Name="ResourceBlocks" Type="ResourceBlockCollection.ResourceBlockCollection" ContainsTarget="true" Nullable="false">
122          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
123          <Annotation Term="OData.Description" String="The resource blocks available on the service."/>
124          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type ResourceBlockCollection."/>
125          <Annotation Term="OData.AutoExpandReferences"/>
126        </NavigationProperty>
127        <NavigationProperty Name="ResourceZones" Type="ZoneCollection.ZoneCollection" ContainsTarget="true" Nullable="false">
128          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
129          <Annotation Term="OData.Description" String="The resource zones available on the service."/>
130          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type ZoneCollection."/>
131          <Annotation Term="OData.AutoExpandReferences"/>
132        </NavigationProperty>
133      </EntityType>
134
135      <ComplexType Name="Actions">
136        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
137        <Annotation Term="OData.Description" String="The available actions for this resource."/>
138        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
139        <Property Name="Oem" Type="CompositionService.v1_0_0.OemActions" Nullable="false">
140          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
141          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
142        </Property>
143      </ComplexType>
144
145      <ComplexType Name="OemActions">
146        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
147        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
148        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
149      </ComplexType>
150    </Schema>
151
152    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_1">
153      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
154      <Annotation Term="OData.Description" String="This version was created to update the descriptions that this schema defines."/>
155      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_0.CompositionService"/>
156    </Schema>
157
158    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_2">
159      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
160      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
161      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_1.CompositionService"/>
162    </Schema>
163
164    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_3">
165      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
166      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
167      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_2.CompositionService"/>
168    </Schema>
169
170    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_4">
171      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
172      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
173      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_3.CompositionService"/>
174    </Schema>
175
176    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_0_5">
177      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
178      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
179      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_4.CompositionService"/>
180    </Schema>
181
182    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_1_0">
183      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
184      <Annotation Term="Redfish.Release" String="2018.2"/>
185      <EntityType Name="CompositionService" BaseType="CompositionService.v1_0_2.CompositionService">
186        <Property Name="AllowOverprovisioning" Type="Edm.Boolean">
187          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
188          <Annotation Term="OData.Description" String="An indication of whether this service is allowed to overprovision a composition relative to the composition request."/>
189          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is allowed to overprovision a composition relative to the composition request."/>
190        </Property>
191        <Property Name="AllowZoneAffinity" Type="Edm.Boolean">
192          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
193          <Annotation Term="OData.Description" String="An indication of whether a client can request that a specific resource zone fulfill a composition request."/>
194          <Annotation Term="OData.LongDescription" String="This property shall indicate whether a client can request that a specific resource zone fulfill a composition request."/>
195        </Property>
196      </EntityType>
197    </Schema>
198
199    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_1_1">
200      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
201      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
202      <EntityType Name="CompositionService" BaseType="CompositionService.v1_1_0.CompositionService"/>
203    </Schema>
204
205    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_1_2">
206      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
207      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
208      <EntityType Name="CompositionService" BaseType="CompositionService.v1_1_1.CompositionService"/>
209    </Schema>
210
211    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_1_3">
212      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
213      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
214      <EntityType Name="CompositionService" BaseType="CompositionService.v1_1_2.CompositionService"/>
215    </Schema>
216
217    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_2_0">
218      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
219      <Annotation Term="Redfish.Release" String="2021.1"/>
220      <Annotation Term="OData.Description" String="This version was created to add the ActivePool and FreePool properties, and the Compose action."/>
221
222      <EntityType Name="CompositionService" BaseType="CompositionService.v1_1_3.CompositionService">
223        <NavigationProperty Name="ActivePool" Type="ResourceBlockCollection.ResourceBlockCollection" ContainsTarget="true" Nullable="false">
224          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
225          <Annotation Term="OData.Description" String="The link to the collection of resource blocks within the active pool.  Resource blocks in the active pool are contributing to at least one composed resource as a result of a composition request."/>
226          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type ResourceBlockCollection.  The members of this collection shall represent the resource blocks in the active pool.  Services shall filter members of this collection based on the requesting client."/>
227        </NavigationProperty>
228        <NavigationProperty Name="FreePool" Type="ResourceBlockCollection.ResourceBlockCollection" ContainsTarget="true" Nullable="false">
229          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
230          <Annotation Term="OData.Description" String="The link to the collection of resource blocks within the free pool.  Resource blocks in the free pool are not contributing to any composed resources."/>
231          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type ResourceBlockCollection.  The members of this collection shall represent the resource blocks in the free pool.  Services shall filter members of this collection based on the requesting client."/>
232        </NavigationProperty>
233        <NavigationProperty Name="CompositionReservations" Type="CompositionReservationCollection.CompositionReservationCollection" ContainsTarget="true" Nullable="false">
234          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
235          <Annotation Term="OData.Description" String="The link to the collection of reservations with the composition reservation collection."/>
236          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type CompositionReservationCollection.  The members of this collection shall contain links to reserved resource blocks and the related document that caused the reservations.  Services shall filter members of this collection based on the requesting client."/>
237        </NavigationProperty>
238        <Property Name="ReservationDuration" Type="Edm.Duration">
239          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
240          <Annotation Term="OData.Description" String="The length of time a composition reservation is held before the service deletes the reservation and marks any related resource blocks as no longer reserved."/>
241          <Annotation Term="OData.LongDescription" String="This property shall contain the length of time a composition reservation is held before the service deletes the reservation and marks any related resource blocks as no longer reserved."/>
242        </Property>
243      </EntityType>
244
245      <ComplexType Name="ComposeResponse">
246        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
247        <Annotation Term="OData.Description" String="The response body for the Compose action."/>
248        <Annotation Term="OData.LongDescription" String="This type shall contain the properties found in the response body for the Compose action."/>
249        <Property Name="RequestFormat" Type="CompositionService.v1_2_0.ComposeRequestFormat" Nullable="false">
250          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
251          <Annotation Term="OData.Description" String="The format of the request."/>
252          <Annotation Term="OData.LongDescription" String="This property shall contain the format of the request."/>
253          <Annotation Term="Redfish.Required"/>
254        </Property>
255        <Property Name="RequestType" Type="CompositionService.v1_2_0.ComposeRequestType" Nullable="false">
256          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
257          <Annotation Term="OData.Description" String="The type of request."/>
258          <Annotation Term="OData.LongDescription" String="This property shall contain the type of request."/>
259          <Annotation Term="Redfish.Required"/>
260        </Property>
261        <Property Name="Manifest" Type="Manifest.Manifest" Nullable="false">
262          <Annotation Term="OData.Description" String="The manifest containing the compose operation response."/>
263          <Annotation Term="OData.LongDescription" String="This property shall contain the manifest containing the compose operation response.  This property shall be required if RequestFormat contains the value `Manifest`."/>
264        </Property>
265        <Property Name="ReservationId" Type="Edm.String" Nullable="false">
266          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
267          <Annotation Term="OData.Description" String="The identifier of the composition reservation that was created."/>
268          <Annotation Term="OData.LongDescription" String="This property shall contain the value of the Id property of the CompositionReservation resource that was created.  This property shall be required if RequestType contains the value `PreviewReserve`."/>
269        </Property>
270      </ComplexType>
271
272      <EnumType Name="ComposeRequestType">
273        <Member Name="Preview">
274          <Annotation Term="OData.Description" String="Preview the outcome of the operations specified by the manifest."/>
275          <Annotation Term="OData.LongDescription" String="This value shall indicate that the request is to preview the outcome of the operations specified by the manifest to show what the service will do based on the contents of the request, and not affect any resources within the service."/>
276        </Member>
277        <Member Name="PreviewReserve">
278          <Annotation Term="OData.Description" String="Preview the outcome of the operations specified by the manifest and reserve resources."/>
279          <Annotation Term="OData.LongDescription" String="This value shall indicate that the request is to preview the outcome of the operations specified by the manifest to show what the service will do based on the contents of the request.  Resources that would have been affected by this request shall be marked as reserved but otherwise shall not be affected."/>
280        </Member>
281        <Member Name="Apply">
282          <Annotation Term="OData.Description" String="Perform the requested operations specified by the manifest and modify resources as needed."/>
283          <Annotation Term="OData.LongDescription" String="This value shall indicate that the request is to apply the requested operations specified by the manifest and modify resources as needed."/>
284        </Member>
285      </EnumType>
286
287      <EnumType Name="ComposeRequestFormat">
288        <Member Name="Manifest">
289          <Annotation Term="OData.Description" String="The request body contains a manifest."/>
290          <Annotation Term="OData.LongDescription" String="This value shall indicate that the request contains a manifest as defined by the Redfish Manifest schema."/>
291        </Member>
292      </EnumType>
293    </Schema>
294
295    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_2_1">
296      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
297      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
298      <EntityType Name="CompositionService" BaseType="CompositionService.v1_2_0.CompositionService"/>
299    </Schema>
300
301    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionService.v1_2_2">
302      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
303      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
304      <EntityType Name="CompositionService" BaseType="CompositionService.v1_2_1.CompositionService"/>
305    </Schema>
306
307  </edmx:DataServices>
308</edmx:Edmx>
309