1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  CompositionReservation v1.0.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://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.v1_0_0"/>
25  </edmx:Reference>
26  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manifest_v1.xml">
27    <edmx:Include Namespace="Manifest"/>
28  </edmx:Reference>
29  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlock_v1.xml">
30    <edmx:Include Namespace="ResourceBlock"/>
31  </edmx:Reference>
32
33  <edmx:DataServices>
34
35    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation">
36      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37
38      <EntityType Name="CompositionReservation" BaseType="Resource.v1_0_0.Resource" Abstract="true">
39        <Annotation Term="OData.Description" String="The CompositionReservation schema contains reservation information related to the Compose action defined in the CompositionService resource when the RequestType parameter contains the value `PreviewReserve`."/>
40        <Annotation Term="OData.LongDescription" String="This resource represents the composition reservation of the composition service for a Redfish implementation."/>
41        <Annotation Term="Capabilities.InsertRestrictions">
42          <Record>
43            <PropertyValue Property="Insertable" Bool="false"/>
44          </Record>
45        </Annotation>
46        <Annotation Term="Capabilities.UpdateRestrictions">
47          <Record>
48            <PropertyValue Property="Updatable" Bool="false"/>
49          </Record>
50        </Annotation>
51        <Annotation Term="Capabilities.DeleteRestrictions">
52          <Record>
53            <PropertyValue Property="Deletable" Bool="true"/>
54          </Record>
55        </Annotation>
56        <Annotation Term="Redfish.Uris">
57          <Collection>
58            <String>/redfish/v1/CompositionService/CompositionReservations/{CompositionReservationId}</String>
59          </Collection>
60        </Annotation>
61      </EntityType>
62    </Schema>
63
64    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_0">
65      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
66      <Annotation Term="Redfish.Release" String="2021.1"/>
67
68      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.CompositionReservation">
69        <Property Name="ReservationTime" Type="Edm.DateTimeOffset" Nullable="false">
70          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
71          <Annotation Term="OData.Description" String="The date and time the service created the reservation."/>
72          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the reservation was created by the service."/>
73        </Property>
74        <Property Name="Client" Type="Edm.String" Nullable="false">
75          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
76          <Annotation Term="OData.Description" String="The client that owns the reservation."/>
77          <Annotation Term="OData.LongDescription" String="This property shall contain the client that owns the reservation.  The service shall determine this value based on the client that invoked the Compose action that resulted in the creation of this reservation."/>
78        </Property>
79        <NavigationProperty Name="ReservedResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
80          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
81          <Annotation Term="OData.Description" String="The array of links to the reserved resource blocks."/>
82          <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type ResourceBlock that represent the reserved resource blocks for this reservation.  Upon deletion of the reservation or when the reservation is applied, the Reserved property in the referenced resource blocks shall change to `false`."/>
83        </NavigationProperty>
84        <Property Name="Manifest" Type="Manifest.Manifest" Nullable="false">
85          <Annotation Term="OData.Description" String="The manifest document processed by the service that resulted in this reservation."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain the manifest document processed by the service that resulted in this reservation.  This property shall be required if the RequestFormat parameter in the Compose action request contained the value `Manifest`."/>
87        </Property>
88        <Property Name="Actions" Type="CompositionReservation.v1_0_0.Actions" Nullable="false">
89          <Annotation Term="OData.Description" String="The available actions for this resource."/>
90          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
91        </Property>
92      </EntityType>
93
94      <ComplexType Name="Actions">
95        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
96        <Annotation Term="OData.Description" String="The available actions for this resource."/>
97        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
98        <Property Name="Oem" Type="CompositionReservation.v1_0_0.OemActions" Nullable="false">
99          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
100          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
101        </Property>
102      </ComplexType>
103
104      <ComplexType Name="OemActions">
105        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
106        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
107        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
108      </ComplexType>
109    </Schema>
110
111    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_1">
112      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
113      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
114      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.v1_0_0.CompositionReservation"/>
115    </Schema>
116
117  </edmx:DataServices>
118</edmx:Edmx>
119