1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/LeakDetection.v1_0_1.json",
3    "$ref": "#/definitions/LeakDetection",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "The available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30                }
31            },
32            "type": "object"
33        },
34        "LeakDetection": {
35            "additionalProperties": false,
36            "description": "The `LeakDetection` schema contains definitions for reporting leaks in liquid cooling systems or other equipment.",
37            "longDescription": "This resource shall represent the leak detection functionality present in a service for a Redfish implementation.",
38            "patternProperties": {
39                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40                    "description": "This property shall specify a valid odata or Redfish property.",
41                    "type": [
42                        "array",
43                        "boolean",
44                        "integer",
45                        "number",
46                        "null",
47                        "object",
48                        "string"
49                    ]
50                }
51            },
52            "properties": {
53                "@odata.context": {
54                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
55                },
56                "@odata.etag": {
57                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
58                },
59                "@odata.id": {
60                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
61                },
62                "@odata.type": {
63                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
64                },
65                "Actions": {
66                    "$ref": "#/definitions/Actions",
67                    "description": "The available actions for this resource.",
68                    "longDescription": "This property shall contain the available actions for this resource."
69                },
70                "Description": {
71                    "anyOf": [
72                        {
73                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
74                        },
75                        {
76                            "type": "null"
77                        }
78                    ],
79                    "readonly": true
80                },
81                "Id": {
82                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
83                    "readonly": true
84                },
85                "LeakDetectorGroups": {
86                    "description": "The groups of leak detection equipment.",
87                    "items": {
88                        "$ref": "#/definitions/LeakDetectorGroup"
89                    },
90                    "longDescription": "This property shall contain an array of leak detection groups.",
91                    "type": "array"
92                },
93                "LeakDetectors": {
94                    "$ref": "http://redfish.dmtf.org/schemas/v1/LeakDetectorCollection.json#/definitions/LeakDetectorCollection",
95                    "description": "The link to the collection of leak detectors within this subsystem.",
96                    "longDescription": "This property shall contain a link to a resource collection of type `LeakDetectorCollection`.",
97                    "readonly": true
98                },
99                "Name": {
100                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
101                    "readonly": true
102                },
103                "Oem": {
104                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
105                    "description": "The OEM extension property.",
106                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
107                },
108                "Status": {
109                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
110                    "description": "The status and health of the resource and its subordinate or dependent resources.",
111                    "longDescription": "This property shall contain any status or health properties of the resource."
112                }
113            },
114            "required": [
115                "@odata.id",
116                "@odata.type",
117                "Id",
118                "Name"
119            ],
120            "type": "object"
121        },
122        "LeakDetectorGroup": {
123            "additionalProperties": false,
124            "description": "A group of leak detection equipment.",
125            "longDescription": "This object shall contain a group of leak detection equipment that reports a unified status.",
126            "patternProperties": {
127                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
128                    "description": "This property shall specify a valid odata or Redfish property.",
129                    "type": [
130                        "array",
131                        "boolean",
132                        "integer",
133                        "number",
134                        "null",
135                        "object",
136                        "string"
137                    ]
138                }
139            },
140            "properties": {
141                "Detectors": {
142                    "description": "The leak detection states from all related leak detection devices in this group.",
143                    "excerptCopy": "LeakDetectorArrayExcerpt",
144                    "items": {
145                        "$ref": "http://redfish.dmtf.org/schemas/v1/LeakDetector.json#/definitions/LeakDetectorArrayExcerpt"
146                    },
147                    "longDescription": "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`.",
148                    "type": "array"
149                },
150                "Detectors@odata.count": {
151                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
152                },
153                "GroupName": {
154                    "description": "The name of this leak detector group.",
155                    "longDescription": "This property shall contain the name used to describe this group of leak detectors and related equipment.",
156                    "readonly": true,
157                    "type": "string"
158                },
159                "HumidityPercent": {
160                    "anyOf": [
161                        {
162                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
163                        },
164                        {
165                            "type": "null"
166                        }
167                    ],
168                    "description": "Humidity (percent).",
169                    "excerptCopy": "SensorExcerpt",
170                    "longDescription": "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`."
171                }
172            },
173            "type": "object"
174        },
175        "OemActions": {
176            "additionalProperties": true,
177            "description": "The available OEM-specific actions for this resource.",
178            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
179            "patternProperties": {
180                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
181                    "description": "This property shall specify a valid odata or Redfish property.",
182                    "type": [
183                        "array",
184                        "boolean",
185                        "integer",
186                        "number",
187                        "null",
188                        "object",
189                        "string"
190                    ]
191                }
192            },
193            "properties": {},
194            "type": "object"
195        }
196    },
197    "language": "en",
198    "owningEntity": "DMTF",
199    "release": "2023.1",
200    "title": "#LeakDetection.v1_0_1.LeakDetection"
201}