Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
| 4 | <!--# Redfish Schema: PowerEquipment v1.0.0 --> |
| 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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2018-2020 DMTF. --> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 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/PowerDistributionCollection_v1.xml"> |
| 28 | <edmx:Include Namespace="PowerDistributionCollection"/> |
| 29 | </edmx:Reference> |
| 30 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Manager_v1.xml"> |
| 31 | <edmx:Include Namespace="Manager"/> |
| 32 | </edmx:Reference> |
| 33 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SensorCollection_v1.xml"> |
| 34 | <edmx:Include Namespace="SensorCollection"/> |
| 35 | </edmx:Reference> |
| 36 | |
| 37 | <edmx:DataServices> |
| 38 | |
| 39 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerEquipment"> |
| 40 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 41 | |
| 42 | <EntityType Name="PowerEquipment" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 43 | <Annotation Term="OData.Description" String="This is the schema definition for the set of power equipment."/> |
| 44 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the set of power equipment 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="false"/> |
| 53 | </Record> |
| 54 | </Annotation> |
| 55 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 56 | <Record> |
| 57 | <PropertyValue Property="Deletable" Bool="false"/> |
| 58 | </Record> |
| 59 | </Annotation> |
| 60 | <Annotation Term="Redfish.Uris"> |
| 61 | <Collection> |
| 62 | <String>/redfish/v1/PowerEquipment</String> |
| 63 | </Collection> |
| 64 | </Annotation> |
| 65 | </EntityType> |
| 66 | </Schema> |
| 67 | |
| 68 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PowerEquipment.v1_0_0"> |
| 69 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 70 | <Annotation Term="Redfish.Release" String="2019.4"/> |
| 71 | |
| 72 | <EntityType Name="PowerEquipment" BaseType="PowerEquipment.PowerEquipment"> |
| 73 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
| 74 | <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> |
| 75 | <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> |
| 76 | </Property> |
| 77 | <NavigationProperty Name="FloorPDUs" Type="PowerDistributionCollection.PowerDistributionCollection" Nullable="false"> |
| 78 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 79 | <Annotation Term="OData.Description" String="A link to a collection of floor power distribution units."/> |
| 80 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of floor power distribution units."/> |
| 81 | <Annotation Term="OData.AutoExpandReferences"/> |
| 82 | </NavigationProperty> |
| 83 | <NavigationProperty Name="RackPDUs" Type="PowerDistributionCollection.PowerDistributionCollection" Nullable="false"> |
| 84 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 85 | <Annotation Term="OData.Description" String="A link to a collection of rack-level power distribution units."/> |
| 86 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of rack-level power distribution units."/> |
| 87 | <Annotation Term="OData.AutoExpandReferences"/> |
| 88 | </NavigationProperty> |
| 89 | <NavigationProperty Name="Switchgear" Type="PowerDistributionCollection.PowerDistributionCollection" Nullable="false"> |
| 90 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 91 | <Annotation Term="OData.Description" String="A link to a collection of switchgear."/> |
| 92 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of switchgear."/> |
| 93 | <Annotation Term="OData.AutoExpandReferences"/> |
| 94 | </NavigationProperty> |
| 95 | <NavigationProperty Name="TransferSwitches" Type="PowerDistributionCollection.PowerDistributionCollection" Nullable="false"> |
| 96 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 97 | <Annotation Term="OData.Description" String="A link to a collection of transfer switches."/> |
| 98 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDistributionCollection that contains a set of transfer switches."/> |
| 99 | <Annotation Term="OData.AutoExpandReferences"/> |
| 100 | </NavigationProperty> |
| 101 | |
| 102 | <Property Name="Links" Type="PowerEquipment.v1_0_0.Links" Nullable="false"> |
| 103 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
| 104 | <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."/> |
| 105 | </Property> |
| 106 | <Property Name="Actions" Type="PowerEquipment.v1_0_0.Actions" Nullable="false"> |
| 107 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 108 | <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> |
| 109 | </Property> |
| 110 | </EntityType> |
| 111 | |
| 112 | <ComplexType Name="Links" BaseType="Resource.Links"> |
| 113 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
| 114 | <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."/> |
| 115 | <NavigationProperty Name="ManagedBy" Type="Collection(Manager.Manager)"> |
| 116 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 117 | <Annotation Term="OData.Description" String="An array of links to the managers responsible for managing this power equipment."/> |
| 118 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Manager that represent the managers that manage this power equipment."/> |
| 119 | <Annotation Term="OData.AutoExpandReferences"/> |
| 120 | </NavigationProperty> |
| 121 | </ComplexType> |
| 122 | |
| 123 | <ComplexType Name="Actions"> |
| 124 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 125 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 126 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
| 127 | <Property Name="Oem" Type="PowerEquipment.v1_0_0.OemActions" Nullable="false"> |
| 128 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 129 | <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> |
| 130 | </Property> |
| 131 | </ComplexType> |
| 132 | |
| 133 | <ComplexType Name="OemActions"> |
| 134 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 135 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 136 | <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> |
| 137 | </ComplexType> |
| 138 | </Schema> |
| 139 | |
| 140 | </edmx:DataServices> |
| 141 | </edmx:Edmx> |