1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  CompositionReservation v1.0.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-2024 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      <Annotation Term="Redfish.Language" String="en"/>
38
39      <EntityType Name="CompositionReservation" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40        <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`."/>
41        <Annotation Term="OData.LongDescription" String="This resource represents the composition reservation of the composition service for a Redfish implementation."/>
42        <Annotation Term="Capabilities.InsertRestrictions">
43          <Record>
44            <PropertyValue Property="Insertable" Bool="false"/>
45          </Record>
46        </Annotation>
47        <Annotation Term="Capabilities.UpdateRestrictions">
48          <Record>
49            <PropertyValue Property="Updatable" Bool="false"/>
50          </Record>
51        </Annotation>
52        <Annotation Term="Capabilities.DeleteRestrictions">
53          <Record>
54            <PropertyValue Property="Deletable" Bool="true"/>
55          </Record>
56        </Annotation>
57        <Annotation Term="Redfish.Uris">
58          <Collection>
59            <String>/redfish/v1/CompositionService/CompositionReservations/{CompositionReservationId}</String>
60          </Collection>
61        </Annotation>
62      </EntityType>
63    </Schema>
64
65    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_0">
66      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
67      <Annotation Term="Redfish.Release" String="2021.1"/>
68
69      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.CompositionReservation">
70        <Property Name="ReservationTime" Type="Edm.DateTimeOffset" Nullable="false">
71          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
72          <Annotation Term="OData.Description" String="The date and time the service created the reservation."/>
73          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the reservation was created by the service."/>
74        </Property>
75        <Property Name="Client" Type="Edm.String" Nullable="false">
76          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
77          <Annotation Term="OData.Description" String="The client that owns the reservation."/>
78          <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."/>
79        </Property>
80        <NavigationProperty Name="ReservedResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
81          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
82          <Annotation Term="OData.Description" String="The array of links to the reserved resource blocks."/>
83          <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`."/>
84        </NavigationProperty>
85        <Property Name="Manifest" Type="Manifest.Manifest" Nullable="false">
86          <Annotation Term="OData.Description" String="The manifest document processed by the service that resulted in this reservation."/>
87          <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`."/>
88        </Property>
89        <Property Name="Actions" Type="CompositionReservation.v1_0_0.Actions" Nullable="false">
90          <Annotation Term="OData.Description" String="The available actions for this resource."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
92        </Property>
93      </EntityType>
94
95      <ComplexType Name="Actions">
96        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
97        <Annotation Term="OData.Description" String="The available actions for this resource."/>
98        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
99        <Property Name="Oem" Type="CompositionReservation.v1_0_0.OemActions" Nullable="false">
100          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
101          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
102        </Property>
103      </ComplexType>
104
105      <ComplexType Name="OemActions">
106        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
107        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
108        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
109      </ComplexType>
110    </Schema>
111
112    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_1">
113      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
114      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
115      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.v1_0_0.CompositionReservation"/>
116    </Schema>
117
118    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_2">
119      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
120      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
121      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.v1_0_1.CompositionReservation"/>
122    </Schema>
123
124  </edmx:DataServices>
125</edmx:Edmx>
126