1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  OutletGroup v1.1.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/Sensor_v1.xml">
28    <edmx:Include Namespace="Sensor"/>
29  </edmx:Reference>
30  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Circuit_v1.xml">
31    <edmx:Include Namespace="Circuit"/>
32  </edmx:Reference>
33  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Outlet_v1.xml">
34    <edmx:Include Namespace="Outlet"/>
35  </edmx:Reference>
36
37  <edmx:DataServices>
38
39    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup">
40      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41
42      <EntityType Name="OutletGroup" BaseType="Resource.v1_0_0.Resource" Abstract="true">
43        <Annotation Term="OData.Description" String="The OutletGroup schema contains definitions for an electrical outlet group."/>
44        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent an electrical outlet group for a Redfish implementation."/>
45        <Annotation Term="Capabilities.InsertRestrictions">
46          <Record>
47            <PropertyValue Property="Insertable" Bool="false"/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.UpdateRestrictions">
51          <Record>
52            <PropertyValue Property="Updatable" Bool="true"/>
53            <Annotation Term="OData.Description" String="Outlet group properties can be updated to change limits, exceptions and other writable properties."/>
54          </Record>
55        </Annotation>
56        <Annotation Term="Capabilities.DeleteRestrictions">
57          <Record>
58            <PropertyValue Property="Deletable" Bool="true"/>
59            <Annotation Term="OData.Description" String="Some implementations can allow outlet groups to be deleted."/>
60          </Record>
61        </Annotation>
62        <Annotation Term="Redfish.Uris">
63          <Collection>
64            <String>/redfish/v1/PowerEquipment/RackPDUs/{PowerDistributionId}/OutletGroups/{OutletGroupId}</String>
65            <String>/redfish/v1/PowerEquipment/TransferSwitches/{PowerDistributionId}/OutletGroups/{OutletGroupId}</String>
66            <String>/redfish/v1/PowerEquipment/PowerShelves/{PowerDistributionId}/OutletGroups/{OutletGroupId}</String>
67            <String>/redfish/v1/PowerEquipment/ElectricalBuses/{PowerDistributionId}/OutletGroups/{OutletGroupId}</String>
68          </Collection>
69        </Annotation>
70      </EntityType>
71
72      <Action Name="PowerControl" IsBound="true">
73        <Annotation Term="OData.Description" String="This action turns the outlet group on or off."/>
74        <Annotation Term="OData.LongDescription" String="This action shall control the power state of the outlet group."/>
75        <Parameter Name="OutletGroup" Type="OutletGroup.v1_0_0.Actions"/>
76        <Parameter Name="PowerState" Type="Circuit.PowerState">
77          <Annotation Term="OData.Description" String="The desired power state of the outlet group."/>
78          <Annotation Term="OData.LongDescription" String="This parameter shall contain the desired power state of the outlet group."/>
79        </Parameter>
80      </Action>
81
82      <Action Name="ResetMetrics" IsBound="true">
83        <Parameter Name="OutletGroup" Type="OutletGroup.v1_0_0.Actions"/>
84        <Annotation Term="OData.Description" String="This action resets metrics related to this outlet group."/>
85        <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values for this outlet group."/>
86      </Action>
87
88      <EnumType Name="PowerState">
89        <Member Name="On">
90          <Annotation Term="OData.Description" String="Power on."/>
91        </Member>
92        <Member Name="Off">
93          <Annotation Term="OData.Description" String="Power off."/>
94        </Member>
95        <Member Name="PowerCycle">
96          <Annotation Term="OData.Description" String="Power cycle."/>
97          <Annotation Term="OData.LongDescription" String="This value shall indicate the resource will transition to a power off state, then transition to a power on state.  Upon successful completion, the PowerState property, if supported, shall contain the value `On`."/>
98          <Annotation Term="Redfish.Revisions">
99            <Collection>
100              <Record>
101                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
102                <PropertyValue Property="Version" String="v1_1_0"/>
103              </Record>
104            </Collection>
105          </Annotation>
106        </Member>
107      </EnumType>
108    </Schema>
109
110    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_0_0">
111      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
112      <Annotation Term="Redfish.Release" String="2019.4"/>
113
114      <EntityType Name="OutletGroup" BaseType="OutletGroup.OutletGroup">
115        <Property Name="Status" Type="Resource.Status" Nullable="false">
116          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
117          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
118        </Property>
119        <Property Name="CreatedBy" Type="Edm.String">
120          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
121          <Annotation Term="OData.Description" String="The creator of this outlet group."/>
122          <Annotation Term="OData.LongDescription" String="This property shall contain the name of the person or application that created this outlet group."/>
123        </Property>
124        <Property Name="PowerOnDelaySeconds" Type="Edm.Decimal">
125          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
126          <Annotation Term="OData.Description" String="The number of seconds to delay power up after a power cycle or a PowerControl action.  Zero seconds indicates no delay to power up."/>
127          <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds to delay power up after a power cycle or a PowerControl action.  The value `0` shall indicate no delay to power up."/>
128        </Property>
129        <Property Name="PowerOffDelaySeconds" Type="Edm.Decimal">
130          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
131          <Annotation Term="OData.Description" String="The number of seconds to delay power off after a PowerControl action.  Zero seconds indicates no delay to power off."/>
132          <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds to delay power off after a PowerControl action.  The value `0` shall indicate no delay to power off."/>
133        </Property>
134        <Property Name="PowerCycleDelaySeconds" Type="Edm.Decimal">
135          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
136          <Annotation Term="OData.Description" String="The number of seconds to delay power on after a PowerControl action to cycle power.  Zero seconds indicates no delay."/>
137          <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds to delay power on after a PowerControl action to cycle power.  The value `0` shall indicate no delay to power on."/>
138        </Property>
139        <Property Name="PowerRestoreDelaySeconds" Type="Edm.Decimal">
140          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
141          <Annotation Term="OData.Description" String="The number of seconds to delay power on after power has been restored.  Zero seconds indicates no delay."/>
142          <Annotation Term="OData.LongDescription" String="This property shall contain the number of seconds to delay power on after a power fault.  The value `0` shall indicate no delay to power on."/>
143        </Property>
144        <Property Name="PowerRestorePolicy" Type="Circuit.PowerRestorePolicyTypes" Nullable="false">
145          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
146          <Annotation Term="OData.Description" String="The desired power state of the outlet group when power is restored after a power loss."/>
147          <Annotation Term="OData.LongDescription" String="This property shall contain the desired PowerState of the outlet group when power is applied.  The value `LastState` shall return the outlet group to the PowerState it was in when power was lost."/>
148        </Property>
149        <Property Name="PowerState" Type="Resource.PowerState">
150          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
151          <Annotation Term="OData.Description" String="The power state of the outlet group."/>
152          <Annotation Term="OData.LongDescription" String="This property shall contain the power state of the outlet group."/>
153        </Property>
154        <Property Name="PowerEnabled" Type="Edm.Boolean">
155          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
156          <Annotation Term="OData.Description" String="Indicates if the outlet group can be powered."/>
157          <Annotation Term="OData.LongDescription" String="This property shall contain the power enable state of the outlet group.  The value `true` shall indicate that the group can be powered on, and the value `false` shall indicate that the group cannot be powered."/>
158        </Property>
159
160        <NavigationProperty Name="PowerWatts" Type="Sensor.Sensor">
161          <Annotation Term="Redfish.ExcerptCopy" String="Power"/>
162          <Annotation Term="OData.Description" String="The power (W) for this outlet group."/>
163          <Annotation Term="OData.LongDescription" String="This property shall contain the total power, in watt units, for this outlet group that represents the `Total` ElectricalContext sensor when multiple power sensors exist for this outlet group.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Power`."/>
164        </NavigationProperty>
165        <NavigationProperty Name="EnergykWh" Type="Sensor.Sensor">
166          <Annotation Term="Redfish.ExcerptCopy" String="EnergykWh"/>
167          <Annotation Term="OData.Description" String="The energy (kWh) for this outlet group."/>
168          <Annotation Term="OData.LongDescription" String="This property shall contain the total energy, in kilowatt-hour units, for this outlet group that represents the `Total` ElectricalContext sensor when multiple energy sensors exist for this outlet group.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `EnergykWh`."/>
169        </NavigationProperty>
170
171        <Property Name="Links" Type="OutletGroup.v1_0_0.Links" Nullable="false">
172          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
173          <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
174        </Property>
175        <Property Name="Actions" Type="OutletGroup.v1_0_0.Actions" Nullable="false">
176          <Annotation Term="OData.Description" String="The available actions for this resource."/>
177          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
178        </Property>
179      </EntityType>
180
181      <ComplexType Name="Links" BaseType="Resource.Links">
182        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
183        <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
184        <NavigationProperty Name="Outlets" Type="Collection(Outlet.Outlet)" ContainsTarget="true">
185          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
186          <Annotation Term="OData.Description" String="The set of outlets in this outlet group."/>
187          <Annotation Term="OData.LongDescription" String="This property shall be an array of links to resources of type Outlet that represent the outlets in this outlet group."/>
188          <Annotation Term="OData.AutoExpandReferences"/>
189        </NavigationProperty>
190      </ComplexType>
191
192      <ComplexType Name="Actions">
193        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
194        <Annotation Term="OData.Description" String="The available actions for this resource."/>
195        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
196        <Property Name="Oem" Type="OutletGroup.v1_0_0.OemActions" Nullable="false">
197          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
198          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
199        </Property>
200      </ComplexType>
201
202      <ComplexType Name="OemActions">
203        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
204        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
205        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
206      </ComplexType>
207    </Schema>
208
209    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_0_1">
210      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
211      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
212      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_0_0.OutletGroup"/>
213    </Schema>
214
215    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_0_2">
216      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
217      <Annotation Term="OData.Description" String="This version was created to update descriptions to tie excerpt property definitions to a specific type of Sensor or Control.  It was also created to correct various typographical errors."/>
218      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_0_1.OutletGroup"/>
219    </Schema>
220
221    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_0_3">
222      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
223      <Annotation Term="OData.Description" String="This version was created to update the PowerState parameter in the PowerControl action to reference the common enumeration in the Circuit schema."/>
224      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_0_2.OutletGroup"/>
225    </Schema>
226
227    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_0_4">
228      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
229      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
230      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_0_3.OutletGroup"/>
231    </Schema>
232
233    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_1_0">
234      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
235      <Annotation Term="Redfish.Release" String="2021.4"/>
236      <Annotation Term="OData.Description" String="This version was created to add `PowerCycle` to the PowerState parameter of the PowerControl action."/>
237
238      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_0_2.OutletGroup">
239        <Property Name="PowerControlLocked" Type="Edm.Boolean" Nullable="false">
240          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
241          <Annotation Term="OData.Description" String="Indicates whether power control requests are locked."/>
242          <Annotation Term="OData.LongDescription" String="This property shall indicate whether requests to the PowerControl action are locked.  If `true`, services shall reject requests to the PowerControl action."/>
243        </Property>
244        <Property Name="ConfigurationLocked" Type="Edm.Boolean" Nullable="false">
245          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
246          <Annotation Term="OData.Description" String="Indicates whether the configuration is locked."/>
247          <Annotation Term="OData.LongDescription" String="This property shall indicate whether modification requests to this resource are not permitted.  If `true`, services shall reject modification requests to other properties in this resource."/>
248        </Property>
249        <Property Name="PowerStateInTransition" Type="Edm.Boolean" Nullable="false">
250          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
251          <Annotation Term="OData.Description" String="Indicates whether the power state is undergoing a delayed transition."/>
252          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the PowerState property will undergo a transition between on and off states due to a configured delay.  The transition may be due to the configuration of the power on, off, or restore delay properties.  If `true`, the PowerState property will transition at the conclusion of a configured delay."/>
253        </Property>
254      </EntityType>
255    </Schema>
256
257    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_1_1">
258      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
259      <Annotation Term="OData.Description" String="This version was created to update the PowerState parameter in the PowerControl action to reference the common enumeration in the Circuit schema."/>
260      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_1_0.OutletGroup"/>
261    </Schema>
262
263    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OutletGroup.v1_1_2">
264      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
265      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
266      <EntityType Name="OutletGroup" BaseType="OutletGroup.v1_1_1.OutletGroup"/>
267    </Schema>
268
269  </edmx:DataServices>
270</edmx:Edmx>
271