xref: /openbmc/bmcweb/redfish-core/schema/dmtf/csdl/UpdateServiceCapabilities_v1.xml (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
1*c6d7a45dSGunnar Mills<?xml version="1.0" encoding="UTF-8"?>
2*c6d7a45dSGunnar Mills<!---->
3*c6d7a45dSGunnar Mills<!--################################################################################       -->
4*c6d7a45dSGunnar Mills<!--# Redfish Schema:  UpdateServiceCapabilities v1.0.0                                    -->
5*c6d7a45dSGunnar Mills<!--#                                                                                      -->
6*c6d7a45dSGunnar Mills<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7*c6d7a45dSGunnar Mills<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8*c6d7a45dSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
9*c6d7a45dSGunnar Mills<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10*c6d7a45dSGunnar Mills<!--################################################################################       -->
11*c6d7a45dSGunnar Mills<!---->
12*c6d7a45dSGunnar Mills<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13*c6d7a45dSGunnar Mills
14*c6d7a45dSGunnar Mills  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15*c6d7a45dSGunnar Mills    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16*c6d7a45dSGunnar Mills  </edmx:Reference>
17*c6d7a45dSGunnar Mills  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18*c6d7a45dSGunnar Mills    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19*c6d7a45dSGunnar Mills  </edmx:Reference>
20*c6d7a45dSGunnar Mills  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21*c6d7a45dSGunnar Mills    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22*c6d7a45dSGunnar Mills  </edmx:Reference>
23*c6d7a45dSGunnar Mills  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24*c6d7a45dSGunnar Mills    <edmx:Include Namespace="Resource"/>
25*c6d7a45dSGunnar Mills    <edmx:Include Namespace="Resource.v1_0_0"/>
26*c6d7a45dSGunnar Mills  </edmx:Reference>
27*c6d7a45dSGunnar Mills
28*c6d7a45dSGunnar Mills  <edmx:DataServices>
29*c6d7a45dSGunnar Mills
30*c6d7a45dSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateServiceCapabilities">
31*c6d7a45dSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
32*c6d7a45dSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
33*c6d7a45dSGunnar Mills
34*c6d7a45dSGunnar Mills      <EntityType Name="UpdateServiceCapabilities" BaseType="Resource.v1_0_0.Resource" Abstract="true">
35*c6d7a45dSGunnar Mills        <Annotation Term="OData.Description" String="The `UpdateServiceCapabilities` schema contains capabilities of the update service."/>
36*c6d7a45dSGunnar Mills        <Annotation Term="OData.LongDescription" String="This resource shall represent the update service capabilities for a Redfish implementation."/>
37*c6d7a45dSGunnar Mills        <Annotation Term="Capabilities.InsertRestrictions">
38*c6d7a45dSGunnar Mills          <Record>
39*c6d7a45dSGunnar Mills            <PropertyValue Property="Insertable" Bool="false"/>
40*c6d7a45dSGunnar Mills          </Record>
41*c6d7a45dSGunnar Mills        </Annotation>
42*c6d7a45dSGunnar Mills        <Annotation Term="Capabilities.UpdateRestrictions">
43*c6d7a45dSGunnar Mills          <Record>
44*c6d7a45dSGunnar Mills            <PropertyValue Property="Updatable" Bool="false"/>
45*c6d7a45dSGunnar Mills          </Record>
46*c6d7a45dSGunnar Mills        </Annotation>
47*c6d7a45dSGunnar Mills        <Annotation Term="Capabilities.DeleteRestrictions">
48*c6d7a45dSGunnar Mills          <Record>
49*c6d7a45dSGunnar Mills            <PropertyValue Property="Deletable" Bool="false"/>
50*c6d7a45dSGunnar Mills          </Record>
51*c6d7a45dSGunnar Mills        </Annotation>
52*c6d7a45dSGunnar Mills        <Annotation Term="Redfish.Uris">
53*c6d7a45dSGunnar Mills          <Collection>
54*c6d7a45dSGunnar Mills            <String>/redfish/v1/UpdateService/UpdateServiceCapabilities</String>
55*c6d7a45dSGunnar Mills          </Collection>
56*c6d7a45dSGunnar Mills        </Annotation>
57*c6d7a45dSGunnar Mills      </EntityType>
58*c6d7a45dSGunnar Mills    </Schema>
59*c6d7a45dSGunnar Mills
60*c6d7a45dSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateServiceCapabilities.v1_0_0">
61*c6d7a45dSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
62*c6d7a45dSGunnar Mills      <Annotation Term="Redfish.Release" String="2025.2"/>
63*c6d7a45dSGunnar Mills
64*c6d7a45dSGunnar Mills      <EntityType Name="UpdateServiceCapabilities" BaseType="UpdateServiceCapabilities.UpdateServiceCapabilities">
65*c6d7a45dSGunnar Mills        <Property Name="AllowableTargets" Type="Collection(Edm.String)" Nullable="false">
66*c6d7a45dSGunnar Mills          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
67*c6d7a45dSGunnar Mills          <Annotation Term="OData.Description" String="The allowable URIs that a client can specify in the `Targets` parameter for update requests."/>
68*c6d7a45dSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of the allowable URIs that a client can specify in the `Targets` parameter for `SimpleUpdate` or `MultipartHttpPushUri` update requests."/>
69*c6d7a45dSGunnar Mills        </Property>
70*c6d7a45dSGunnar Mills        <Property Name="AllowableStaging" Type="Collection(Edm.String)" Nullable="false">
71*c6d7a45dSGunnar Mills          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
72*c6d7a45dSGunnar Mills          <Annotation Term="OData.Description" String="The allowable URIs that a client can specify in the `Targets` parameter for update requests when requesting to stage an image on target devices."/>
73*c6d7a45dSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain an array of the allowable URIs that a client can specify in the `Targets` parameter for `SimpleUpdate` or `MultipartHttpPushUri` update requests with `Stage` set to `true`."/>
74*c6d7a45dSGunnar Mills        </Property>
75*c6d7a45dSGunnar Mills        <Property Name="Actions" Type="UpdateServiceCapabilities.v1_0_0.Actions" Nullable="false">
76*c6d7a45dSGunnar Mills          <Annotation Term="OData.Description" String="The available actions for this resource."/>
77*c6d7a45dSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
78*c6d7a45dSGunnar Mills        </Property>
79*c6d7a45dSGunnar Mills      </EntityType>
80*c6d7a45dSGunnar Mills
81*c6d7a45dSGunnar Mills      <ComplexType Name="Actions">
82*c6d7a45dSGunnar Mills        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
83*c6d7a45dSGunnar Mills        <Annotation Term="OData.Description" String="The available actions for this resource."/>
84*c6d7a45dSGunnar Mills        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
85*c6d7a45dSGunnar Mills        <Property Name="Oem" Type="UpdateServiceCapabilities.v1_0_0.OemActions" Nullable="false">
86*c6d7a45dSGunnar Mills          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
87*c6d7a45dSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
88*c6d7a45dSGunnar Mills        </Property>
89*c6d7a45dSGunnar Mills      </ComplexType>
90*c6d7a45dSGunnar Mills
91*c6d7a45dSGunnar Mills      <ComplexType Name="OemActions">
92*c6d7a45dSGunnar Mills        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
93*c6d7a45dSGunnar Mills        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
94*c6d7a45dSGunnar Mills        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
95*c6d7a45dSGunnar Mills      </ComplexType>
96*c6d7a45dSGunnar Mills    </Schema>
97*c6d7a45dSGunnar Mills
98*c6d7a45dSGunnar Mills  </edmx:DataServices>
99*c6d7a45dSGunnar Mills</edmx:Edmx>
100