1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  LeakDetection 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                                   -->
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/LeakDetector_v1.xml">
31    <edmx:Include Namespace="LeakDetector"/>
32  </edmx:Reference>
33  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LeakDetectorCollection_v1.xml">
34    <edmx:Include Namespace="LeakDetectorCollection"/>
35  </edmx:Reference>
36
37  <edmx:DataServices>
38
39    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection">
40      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41
42      <EntityType Name="LeakDetection" BaseType="Resource.v1_0_0.Resource" Abstract="true">
43        <Annotation Term="OData.Description" String="The LeakDetection schema contains definitions for reporting leaks in liquid cooling systems or other equipment."/>
44        <Annotation Term="OData.LongDescription" String="This resource shall represent the leak detection functionality present in a service 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/Chassis/{ChassisId}/ThermalSubsystem/LeakDetection</String>
63            <String>/redfish/v1/ThermalEquipment/CDUs/{CoolingUnitId}/LeakDetection</String>
64            <String>/redfish/v1/ThermalEquipment/ImmersionUnits/{CoolingUnitId}/LeakDetection</String>
65            <String>/redfish/v1/ThermalEquipment/HeatExchangers/{CoolingUnitId}/LeakDetection</String>
66          </Collection>
67        </Annotation>
68      </EntityType>
69    </Schema>
70
71    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection.v1_0_0">
72      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
73      <Annotation Term="Redfish.Release" String="2023.1"/>
74
75      <EntityType Name="LeakDetection" BaseType="LeakDetection.LeakDetection">
76        <Property Name="Status" Type="Resource.Status" Nullable="false">
77          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
78          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
79        </Property>
80        <Property Name="LeakDetectorGroups" Type="Collection(LeakDetection.v1_0_0.LeakDetectorGroup)" Nullable="false">
81          <Annotation Term="OData.Description" String="The groups of leak detection equipment."/>
82          <Annotation Term="OData.LongDescription" String="This property shall contain an array of leak detection groups."/>
83        </Property>
84        <NavigationProperty Name="LeakDetectors" Type="LeakDetectorCollection.LeakDetectorCollection" Nullable="false">
85          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
86          <Annotation Term="OData.Description" String="The link to the collection of leak detectors within this subsystem."/>
87          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type LeakDetectorCollection."/>
88          <Annotation Term="OData.AutoExpandReferences"/>
89        </NavigationProperty>
90        <Property Name="Actions" Type="LeakDetection.v1_0_0.Actions" Nullable="false">
91          <Annotation Term="OData.Description" String="The available actions for this resource."/>
92          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
93        </Property>
94      </EntityType>
95
96      <ComplexType Name="LeakDetectorGroup">
97        <Annotation Term="OData.Description" String="A group of leak detection equipment."/>
98        <Annotation Term="OData.LongDescription" String="This object shall contain a group of leak detection equipment that reports a unified status."/>
99        <Property Name="GroupName" Type="Edm.String" Nullable="false">
100          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
101          <Annotation Term="OData.Description"  String="The name of this leak detector group."/>
102          <Annotation Term="OData.LongDescription" String="This property shall contain the name used to describe this group of leak detectors and related equipment."/>
103        </Property>
104        <NavigationProperty Name="HumidityPercent" Type="Sensor.Sensor">
105          <Annotation Term="Redfish.ExcerptCopy"/>
106          <Annotation Term="OData.Description" String="Humidity (percent)."/>
107          <Annotation Term="OData.LongDescription" String="This property shall contain the humidity, in percent units, for this resource.  The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Humidity`."/>
108        </NavigationProperty>
109        <NavigationProperty Name="Detectors" Type="Collection(LeakDetector.LeakDetector)">
110          <Annotation Term="Redfish.ExcerptCopy" String="Array"/>
111          <Annotation Term="OData.Description" String="The leak detection states from all related leak detection devices in this group."/>
112          <Annotation Term="OData.LongDescription" String="This property shall contain the states of all leak detection devices in this detector group.  The value of the DataSourceUri property, if present, shall reference a resource of type LeakDetector."/>
113        </NavigationProperty>
114      </ComplexType>
115
116      <ComplexType Name="Actions">
117        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
118        <Annotation Term="OData.Description" String="The available actions for this resource."/>
119        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
120        <Property Name="Oem" Type="LeakDetection.v1_0_0.OemActions" Nullable="false">
121          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
122          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
123        </Property>
124      </ComplexType>
125
126      <ComplexType Name="OemActions">
127        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
128        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
129        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
130      </ComplexType>
131    </Schema>
132
133  </edmx:DataServices>
134</edmx:Edmx>
135