Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: Facility v1.0.1 --> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 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/Chassis_v1.xml"> |
| 28 | <edmx:Include Namespace="Chassis"/> |
| 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/PowerDomainCollection_v1.xml"> |
| 34 | <edmx:Include Namespace="PowerDomainCollection"/> |
| 35 | </edmx:Reference> |
| 36 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PowerDistribution_v1.xml"> |
| 37 | <edmx:Include Namespace="PowerDistribution"/> |
| 38 | </edmx:Reference> |
| 39 | <edmx:DataServices> |
| 40 | |
| 41 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Facility"> |
| 42 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 43 | |
| 44 | <EntityType Name="Facility" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 45 | <Annotation Term="OData.Description" String="The Facility schema represents the physical location containing equipment, such as a room, building, or campus."/> |
| 46 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a location containing equipment, such as a room, building, or campus, for a Redfish implementation."/> |
| 47 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 48 | <Record> |
| 49 | <PropertyValue Property="Insertable" Bool="false"/> |
| 50 | </Record> |
| 51 | </Annotation> |
| 52 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 53 | <Record> |
| 54 | <PropertyValue Property="Updatable" Bool="true"/> |
| 55 | <Annotation Term="OData.Description" String="Any writable properties can be updated."/> |
| 56 | </Record> |
| 57 | </Annotation> |
| 58 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 59 | <Record> |
| 60 | <PropertyValue Property="Deletable" Bool="true"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 61 | <Annotation Term="OData.Description" String="Implemenations can allow deletion of facilities from the collection."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 62 | </Record> |
| 63 | </Annotation> |
| 64 | <Annotation Term="Redfish.Uris"> |
| 65 | <Collection> |
| 66 | <String>/redfish/v1/Facilities/{FacilityId}</String> |
| 67 | </Collection> |
| 68 | </Annotation> |
| 69 | </EntityType> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 70 | </Schema> |
| 71 | |
| 72 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Facility.v1_0_0"> |
| 73 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 74 | <Annotation Term="Redfish.Release" String="2019.4"/> |
| 75 | |
| 76 | <EntityType Name="Facility" BaseType="Facility.Facility"> |
| 77 | <Property Name="FacilityType" Nullable="false" Type="Facility.v1_0_0.FacilityType"> |
| 78 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 79 | <Annotation Term="OData.Description" String="The type of location this resource represents."/> |
| 80 | <Annotation Term="OData.LongDescription" String="This property shall contain the type of location this resource represents."/> |
| 81 | <Annotation Term="Redfish.Required"/> |
| 82 | </Property> |
| 83 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 84 | <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 85 | <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> |
| 86 | </Property> |
| 87 | <Property Name="Location" Type="Resource.Location" Nullable="false"> |
| 88 | <Annotation Term="OData.Description" String="The location of the facility."/> |
| 89 | <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated facility."/> |
| 90 | </Property> |
| 91 | <NavigationProperty Name="PowerDomains" Type="PowerDomainCollection.PowerDomainCollection" Nullable="false"> |
| 92 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 93 | <Annotation Term="OData.Description" String="Link to the power domains in this facility."/> |
| 94 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type PowerDomainCollection that contains the power domains associated with this facility."/> |
| 95 | <Annotation Term="OData.AutoExpandReferences"/> |
| 96 | </NavigationProperty> |
| 97 | <Property Name="Links" Type="Facility.v1_0_0.Links" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 98 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
| 99 | <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."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 100 | </Property> |
| 101 | <Property Name="Actions" Type="Facility.v1_0_0.Actions" Nullable="false"> |
| 102 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 103 | <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> |
| 104 | </Property> |
| 105 | </EntityType> |
| 106 | |
| 107 | <EnumType Name="FacilityType"> |
| 108 | <Member Name="Room"> |
| 109 | <Annotation Term="OData.Description" String="A room inside of a building or floor."/> |
| 110 | </Member> |
| 111 | <Member Name="Floor"> |
| 112 | <Annotation Term="OData.Description" String="A floor inside of a building."/> |
| 113 | </Member> |
| 114 | <Member Name="Building"> |
| 115 | <Annotation Term="OData.Description" String="A structure with a roof and walls."/> |
| 116 | </Member> |
| 117 | <Member Name="Site"> |
| 118 | <Annotation Term="OData.Description" String="A small area consisting of several buildings."/> |
| 119 | </Member> |
| 120 | </EnumType> |
| 121 | |
| 122 | <ComplexType Name="Links" BaseType="Resource.Links"> |
| 123 | <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 124 | <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."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 125 | <NavigationProperty Name="ContainedByFacility" Type="Facility.Facility" Nullable="false"> |
| 126 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 127 | <Annotation Term="OData.Description" String="The link to the facility that contains this facility."/> |
| 128 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type Facility that represents the facility that contains this facility."/> |
| 129 | <Annotation Term="OData.AutoExpandReferences"/> |
| 130 | </NavigationProperty> |
| 131 | <NavigationProperty Name="ContainsFacilities" Type="Collection(Facility.Facility)"> |
| 132 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 133 | <Annotation Term="OData.Description" String="An array of links to other facilities contained within this facility."/> |
| 134 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Facility that represent the facilities that this facility contains."/> |
| 135 | <Annotation Term="OData.AutoExpandReferences"/> |
| 136 | </NavigationProperty> |
| 137 | <NavigationProperty Name="ManagedBy" Type="Collection(Manager.Manager)"> |
| 138 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 139 | <Annotation Term="OData.Description" String="An array of links to the managers responsible for managing this facility."/> |
| 140 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Manager that represent the managers that manager this facility."/> |
| 141 | <Annotation Term="OData.AutoExpandReferences"/> |
| 142 | </NavigationProperty> |
| 143 | <NavigationProperty Name="ContainsChassis" Type="Collection(Chassis.Chassis)"> |
| 144 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 145 | <Annotation Term="OData.Description" String="An array of links to outermost chassis contained within this facility."/> |
| 146 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type Chassis that represent the outermost chassis that this facility contains. This array shall only contain chassis instances that do not include a ContainedBy property within the Links property. That is, only chassis instances that are not contained by another chassis."/> |
| 147 | <Annotation Term="OData.AutoExpandReferences"/> |
| 148 | </NavigationProperty> |
| 149 | <NavigationProperty Name="FloorPDUs" Type="Collection(PowerDistribution.PowerDistribution)"> |
| 150 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 151 | <Annotation Term="OData.Description" String="An array of links to the floor power distribution units in this facility."/> |
| 152 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the floor power distribution units in this facility."/> |
| 153 | <Annotation Term="OData.AutoExpandReferences"/> |
| 154 | </NavigationProperty> |
| 155 | <NavigationProperty Name="RackPDUs" Type="Collection(PowerDistribution.PowerDistribution)"> |
| 156 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 157 | <Annotation Term="OData.Description" String="An array of links to the rack-level power distribution units in this facility."/> |
| 158 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the rack-level power distribution units in this facility."/> |
| 159 | <Annotation Term="OData.AutoExpandReferences"/> |
| 160 | </NavigationProperty> |
| 161 | <NavigationProperty Name="TransferSwitches" Type="Collection(PowerDistribution.PowerDistribution)"> |
| 162 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 163 | <Annotation Term="OData.Description" String="An array of links to the transfer switches in this facility."/> |
| 164 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the transfer switches in this facility."/> |
| 165 | <Annotation Term="OData.AutoExpandReferences"/> |
| 166 | </NavigationProperty> |
| 167 | <NavigationProperty Name="Switchgear" Type="Collection(PowerDistribution.PowerDistribution)"> |
| 168 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 169 | <Annotation Term="OData.Description" String="An array of links to the switchgear in this facility."/> |
| 170 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of links to resources of type PowerDistribution that represent the switchgear in this facility."/> |
| 171 | <Annotation Term="OData.AutoExpandReferences"/> |
| 172 | </NavigationProperty> |
| 173 | </ComplexType> |
| 174 | |
| 175 | <ComplexType Name="Actions"> |
| 176 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 177 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 178 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 179 | <Property Name="Oem" Type="Facility.v1_0_0.OemActions" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 180 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 181 | <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 182 | </Property> |
| 183 | </ComplexType> |
| 184 | |
| 185 | <ComplexType Name="OemActions"> |
| 186 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 187 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 188 | <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 189 | </ComplexType> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 190 | </Schema> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 191 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 192 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Facility.v1_0_1"> |
| 193 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 194 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 195 | <EntityType Name="Facility" BaseType="Facility.v1_0_0.Facility"/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 196 | </Schema> |
| 197 | |
| 198 | </edmx:DataServices> |
| 199 | </edmx:Edmx> |