xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/LeakDetection_v1.xml (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4dd5c81e9SGunnar Mills<!--# Redfish Schema:  LeakDetection v1.1.0                                                -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
252bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
262bde4061SEd Tanous  </edmx:Reference>
272bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml">
282bde4061SEd Tanous    <edmx:Include Namespace="Sensor"/>
292bde4061SEd Tanous  </edmx:Reference>
302bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LeakDetector_v1.xml">
312bde4061SEd Tanous    <edmx:Include Namespace="LeakDetector"/>
322bde4061SEd Tanous  </edmx:Reference>
332bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LeakDetectorCollection_v1.xml">
342bde4061SEd Tanous    <edmx:Include Namespace="LeakDetectorCollection"/>
352bde4061SEd Tanous  </edmx:Reference>
362bde4061SEd Tanous
372bde4061SEd Tanous  <edmx:DataServices>
382bde4061SEd Tanous
392bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection">
402bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
422bde4061SEd Tanous
432bde4061SEd Tanous      <EntityType Name="LeakDetection" BaseType="Resource.v1_0_0.Resource" Abstract="true">
44f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `LeakDetection` schema contains definitions for reporting leaks in liquid cooling systems or other equipment."/>
452bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent the leak detection functionality present in a service for a Redfish implementation."/>
462bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
472bde4061SEd Tanous          <Record>
482bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
492bde4061SEd Tanous          </Record>
502bde4061SEd Tanous        </Annotation>
512bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
522bde4061SEd Tanous          <Record>
532bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
542bde4061SEd Tanous          </Record>
552bde4061SEd Tanous        </Annotation>
562bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
572bde4061SEd Tanous          <Record>
582bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
592bde4061SEd Tanous          </Record>
602bde4061SEd Tanous        </Annotation>
612bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
622bde4061SEd Tanous          <Collection>
632bde4061SEd Tanous            <String>/redfish/v1/Chassis/{ChassisId}/ThermalSubsystem/LeakDetection</String>
642bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/CDUs/{CoolingUnitId}/LeakDetection</String>
652bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/ImmersionUnits/{CoolingUnitId}/LeakDetection</String>
662bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/HeatExchangers/{CoolingUnitId}/LeakDetection</String>
67*c6d7a45dSGunnar Mills            <String>/redfish/v1/ThermalEquipment/RPUs/{CoolingUnitId}/LeakDetection</String>
682bde4061SEd Tanous          </Collection>
692bde4061SEd Tanous        </Annotation>
702bde4061SEd Tanous      </EntityType>
712bde4061SEd Tanous    </Schema>
722bde4061SEd Tanous
732bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection.v1_0_0">
742bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
752bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2023.1"/>
762bde4061SEd Tanous
772bde4061SEd Tanous      <EntityType Name="LeakDetection" BaseType="LeakDetection.LeakDetection">
782bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
792bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
802bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
812bde4061SEd Tanous        </Property>
822bde4061SEd Tanous        <Property Name="LeakDetectorGroups" Type="Collection(LeakDetection.v1_0_0.LeakDetectorGroup)" Nullable="false">
832bde4061SEd Tanous          <Annotation Term="OData.Description" String="The groups of leak detection equipment."/>
842bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain an array of leak detection groups."/>
852bde4061SEd Tanous        </Property>
862bde4061SEd Tanous        <NavigationProperty Name="LeakDetectors" Type="LeakDetectorCollection.LeakDetectorCollection" Nullable="false">
872bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
882bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the collection of leak detectors within this subsystem."/>
89f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `LeakDetectorCollection`."/>
902bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
919b46bc0bSMyung Bae          <Annotation Term="Redfish.Revisions">
929b46bc0bSMyung Bae            <Collection>
939b46bc0bSMyung Bae              <Record>
949b46bc0bSMyung Bae                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
959b46bc0bSMyung Bae                <PropertyValue Property="Version" String="v1_1_0"/>
969b46bc0bSMyung Bae                <PropertyValue Property="Description" String="This property has been deprecated in favor of the `LeakDetectors` property in the related `Chassis` resource."/>
979b46bc0bSMyung Bae              </Record>
989b46bc0bSMyung Bae            </Collection>
999b46bc0bSMyung Bae          </Annotation>
1002bde4061SEd Tanous        </NavigationProperty>
1012bde4061SEd Tanous        <Property Name="Actions" Type="LeakDetection.v1_0_0.Actions" Nullable="false">
1022bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
1032bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
1042bde4061SEd Tanous        </Property>
1052bde4061SEd Tanous      </EntityType>
1062bde4061SEd Tanous
1072bde4061SEd Tanous      <ComplexType Name="LeakDetectorGroup">
1082bde4061SEd Tanous        <Annotation Term="OData.Description" String="A group of leak detection equipment."/>
1092bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This object shall contain a group of leak detection equipment that reports a unified status."/>
1102bde4061SEd Tanous        <Property Name="GroupName" Type="Edm.String" Nullable="false">
1112bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1122bde4061SEd Tanous          <Annotation Term="OData.Description"  String="The name of this leak detector group."/>
1132bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the name used to describe this group of leak detectors and related equipment."/>
1142bde4061SEd Tanous        </Property>
1152bde4061SEd Tanous        <NavigationProperty Name="HumidityPercent" Type="Sensor.Sensor">
1162bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
1172bde4061SEd Tanous          <Annotation Term="OData.Description" String="Humidity (percent)."/>
118f2a8e57eSGunnar Mills          <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`."/>
1192bde4061SEd Tanous        </NavigationProperty>
1202bde4061SEd Tanous        <NavigationProperty Name="Detectors" Type="Collection(LeakDetector.LeakDetector)">
1212bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy" String="Array"/>
1222bde4061SEd Tanous          <Annotation Term="OData.Description" String="The leak detection states from all related leak detection devices in this group."/>
123f2a8e57eSGunnar Mills          <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`."/>
1242bde4061SEd Tanous        </NavigationProperty>
1252bde4061SEd Tanous      </ComplexType>
1262bde4061SEd Tanous
1272bde4061SEd Tanous      <ComplexType Name="Actions">
1282bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1292bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1302bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1312bde4061SEd Tanous        <Property Name="Oem" Type="LeakDetection.v1_0_0.OemActions" Nullable="false">
1322bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1332bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1342bde4061SEd Tanous        </Property>
1352bde4061SEd Tanous      </ComplexType>
1362bde4061SEd Tanous
1372bde4061SEd Tanous      <ComplexType Name="OemActions">
1382bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1392bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1402bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1412bde4061SEd Tanous      </ComplexType>
1422bde4061SEd Tanous    </Schema>
1432bde4061SEd Tanous
144f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection.v1_0_1">
145f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
146f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
147f2a8e57eSGunnar Mills      <EntityType Name="LeakDetection" BaseType="LeakDetection.v1_0_0.LeakDetection"/>
148f2a8e57eSGunnar Mills    </Schema>
149f2a8e57eSGunnar Mills
150dd5c81e9SGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LeakDetection.v1_1_0">
151dd5c81e9SGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
152dd5c81e9SGunnar Mills      <Annotation Term="Redfish.Release" String="2024.3"/>
1539b46bc0bSMyung Bae      <Annotation Term="OData.Description" String="This version was created to deprecate the `LeakDetectors` property in favor of placing leak detectors under the related `Chassis` resource."/>
154dd5c81e9SGunnar Mills
155dd5c81e9SGunnar Mills      <EntityType Name="LeakDetection" BaseType="LeakDetection.v1_0_1.LeakDetection"/>
156dd5c81e9SGunnar Mills
157dd5c81e9SGunnar Mills      <ComplexType Name="LeakDetectorGroup" BaseType="LeakDetection.v1_0_0.LeakDetectorGroup">
158dd5c81e9SGunnar Mills        <Property Name="Status" Type="Resource.Status" Nullable="false">
159dd5c81e9SGunnar Mills          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
160dd5c81e9SGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
161dd5c81e9SGunnar Mills          <Annotation Term="Redfish.Required"/>
162dd5c81e9SGunnar Mills        </Property>
163dd5c81e9SGunnar Mills      </ComplexType>
164dd5c81e9SGunnar Mills    </Schema>
165dd5c81e9SGunnar Mills
1662bde4061SEd Tanous  </edmx:DataServices>
1672bde4061SEd Tanous</edmx:Edmx>
168