xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/CompositionReservation_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  CompositionReservation v1.0.2                                       -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
252bde4061SEd Tanous  </edmx:Reference>
262bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manifest_v1.xml">
272bde4061SEd Tanous    <edmx:Include Namespace="Manifest"/>
282bde4061SEd Tanous  </edmx:Reference>
292bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResourceBlock_v1.xml">
302bde4061SEd Tanous    <edmx:Include Namespace="ResourceBlock"/>
312bde4061SEd Tanous  </edmx:Reference>
322bde4061SEd Tanous
332bde4061SEd Tanous  <edmx:DataServices>
342bde4061SEd Tanous
352bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation">
362bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
37f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
382bde4061SEd Tanous
392bde4061SEd Tanous      <EntityType Name="CompositionReservation" BaseType="Resource.v1_0_0.Resource" Abstract="true">
40f2a8e57eSGunnar Mills        <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`."/>
412bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource represents the composition reservation of the composition service for a Redfish implementation."/>
422bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
432bde4061SEd Tanous          <Record>
442bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
452bde4061SEd Tanous          </Record>
462bde4061SEd Tanous        </Annotation>
472bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
482bde4061SEd Tanous          <Record>
492bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
502bde4061SEd Tanous          </Record>
512bde4061SEd Tanous        </Annotation>
522bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
532bde4061SEd Tanous          <Record>
542bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="true"/>
552bde4061SEd Tanous          </Record>
562bde4061SEd Tanous        </Annotation>
572bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
582bde4061SEd Tanous          <Collection>
592bde4061SEd Tanous            <String>/redfish/v1/CompositionService/CompositionReservations/{CompositionReservationId}</String>
602bde4061SEd Tanous          </Collection>
612bde4061SEd Tanous        </Annotation>
622bde4061SEd Tanous      </EntityType>
632bde4061SEd Tanous    </Schema>
642bde4061SEd Tanous
652bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_0">
662bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
672bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2021.1"/>
682bde4061SEd Tanous
692bde4061SEd Tanous      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.CompositionReservation">
702bde4061SEd Tanous        <Property Name="ReservationTime" Type="Edm.DateTimeOffset" Nullable="false">
712bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
722bde4061SEd Tanous          <Annotation Term="OData.Description" String="The date and time the service created the reservation."/>
732bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the reservation was created by the service."/>
742bde4061SEd Tanous        </Property>
752bde4061SEd Tanous        <Property Name="Client" Type="Edm.String" Nullable="false">
762bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
772bde4061SEd Tanous          <Annotation Term="OData.Description" String="The client that owns the reservation."/>
78f2a8e57eSGunnar Mills          <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."/>
792bde4061SEd Tanous        </Property>
802bde4061SEd Tanous        <NavigationProperty Name="ReservedResourceBlocks" Type="Collection(ResourceBlock.ResourceBlock)">
812bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
822bde4061SEd Tanous          <Annotation Term="OData.Description" String="The array of links to the reserved resource blocks."/>
83f2a8e57eSGunnar Mills          <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`."/>
842bde4061SEd Tanous        </NavigationProperty>
852bde4061SEd Tanous        <Property Name="Manifest" Type="Manifest.Manifest" Nullable="false">
862bde4061SEd Tanous          <Annotation Term="OData.Description" String="The manifest document processed by the service that resulted in this reservation."/>
87f2a8e57eSGunnar Mills          <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`."/>
882bde4061SEd Tanous        </Property>
892bde4061SEd Tanous        <Property Name="Actions" Type="CompositionReservation.v1_0_0.Actions" Nullable="false">
902bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
912bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
922bde4061SEd Tanous        </Property>
932bde4061SEd Tanous      </EntityType>
942bde4061SEd Tanous
952bde4061SEd Tanous      <ComplexType Name="Actions">
962bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
972bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
982bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
992bde4061SEd Tanous        <Property Name="Oem" Type="CompositionReservation.v1_0_0.OemActions" Nullable="false">
1002bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1012bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1022bde4061SEd Tanous        </Property>
1032bde4061SEd Tanous      </ComplexType>
1042bde4061SEd Tanous
1052bde4061SEd Tanous      <ComplexType Name="OemActions">
1062bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1072bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1082bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1092bde4061SEd Tanous      </ComplexType>
1102bde4061SEd Tanous    </Schema>
1112bde4061SEd Tanous
1122bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_1">
1132bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
1142bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
1152bde4061SEd Tanous      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.v1_0_0.CompositionReservation"/>
1162bde4061SEd Tanous    </Schema>
1172bde4061SEd Tanous
118f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CompositionReservation.v1_0_2">
119f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
120f2a8e57eSGunnar Mills      <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."/>
121f2a8e57eSGunnar Mills      <EntityType Name="CompositionReservation" BaseType="CompositionReservation.v1_0_1.CompositionReservation"/>
122f2a8e57eSGunnar Mills    </Schema>
123f2a8e57eSGunnar Mills
1242bde4061SEd Tanous  </edmx:DataServices>
1252bde4061SEd Tanous</edmx:Edmx>
126