1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/LeakDetector.v1_1_0.json",
3    "$ref": "#/definitions/LeakDetector",
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        "LeakDetector": {
35            "additionalProperties": false,
36            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
37            "longDescription": "This resource shall represent a state-based or digital-value leak detector 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                "DetectorState": {
82                    "anyOf": [
83                        {
84                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
85                        },
86                        {
87                            "type": "null"
88                        }
89                    ],
90                    "description": "The state of the leak detector.",
91                    "excerpt": "LeakDetector",
92                    "longDescription": "This property shall contain the state of the leak detector.",
93                    "readonly": true
94                },
95                "Id": {
96                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
97                    "readonly": true
98                },
99                "LeakDetectorType": {
100                    "anyOf": [
101                        {
102                            "$ref": "#/definitions/LeakDetectorType"
103                        },
104                        {
105                            "type": "null"
106                        }
107                    ],
108                    "description": "The type of leak detection sensor.",
109                    "longDescription": "This property shall contain the reading type of the leak detection sensor.",
110                    "readonly": true
111                },
112                "Location": {
113                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
114                    "description": "The location information for this leak detector.",
115                    "longDescription": "This property shall indicate the location information for this leak detector."
116                },
117                "Manufacturer": {
118                    "description": "The manufacturer of this leak detector.",
119                    "longDescription": "This property shall contain the name of the organization responsible for producing the leak detector.  This organization may be the entity from whom the leak detector is purchased, but this is not necessarily true.",
120                    "readonly": true,
121                    "type": [
122                        "string",
123                        "null"
124                    ]
125                },
126                "Model": {
127                    "description": "The model number of the leak detector.",
128                    "longDescription": "This property shall contain the name by which the manufacturer generally refers to the leak detector.",
129                    "readonly": true,
130                    "type": [
131                        "string",
132                        "null"
133                    ]
134                },
135                "Name": {
136                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
137                    "readonly": true
138                },
139                "Oem": {
140                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
141                    "description": "The OEM extension property.",
142                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
143                },
144                "PartNumber": {
145                    "description": "The part number of the leak detector.",
146                    "longDescription": "This property shall contain a part number assigned by the organization that is responsible for producing or manufacturing the leak detector.",
147                    "readonly": true,
148                    "type": [
149                        "string",
150                        "null"
151                    ]
152                },
153                "PhysicalContext": {
154                    "anyOf": [
155                        {
156                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext"
157                        },
158                        {
159                            "type": "null"
160                        }
161                    ],
162                    "description": "The area or device to which this leak detector applies.",
163                    "excerpt": "LeakDetectorArray",
164                    "longDescription": "This property shall contain a description of the affected component or region within the equipment to which this leak detector applies.",
165                    "readonly": true
166                },
167                "PhysicalSubContext": {
168                    "anyOf": [
169                        {
170                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalSubContext"
171                        },
172                        {
173                            "type": "null"
174                        }
175                    ],
176                    "description": "The usage or location within a device to which this leak detector applies.",
177                    "excerpt": "LeakDetectorArray",
178                    "longDescription": "This property shall contain a description of the usage or sub-region within the equipment to which this leak detector applies.  This property generally differentiates multiple leak detectors within the same `PhysicalContext` instance.",
179                    "readonly": true
180                },
181                "SKU": {
182                    "description": "The SKU of the leak detector.",
183                    "longDescription": "This property shall contain the stock-keeping unit number for this leak detector.",
184                    "readonly": true,
185                    "type": [
186                        "string",
187                        "null"
188                    ]
189                },
190                "SensingFrequency": {
191                    "description": "The time interval between readings of the physical leak detector.",
192                    "longDescription": "This property shall contain the time interval between readings of the physical leak detector.",
193                    "readonly": true,
194                    "type": [
195                        "number",
196                        "null"
197                    ]
198                },
199                "SerialNumber": {
200                    "description": "The serial number of the leak detector.",
201                    "longDescription": "This property shall contain a manufacturer-allocated number that identifies the leak detector.",
202                    "readonly": true,
203                    "type": [
204                        "string",
205                        "null"
206                    ]
207                },
208                "SparePartNumber": {
209                    "description": "The spare part number of the leak detector.",
210                    "longDescription": "This property shall contain the spare part number of the leak detector.",
211                    "readonly": true,
212                    "type": [
213                        "string",
214                        "null"
215                    ]
216                },
217                "Status": {
218                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
219                    "description": "The status and health of the resource and its subordinate or dependent resources.",
220                    "longDescription": "This property shall contain any status or health properties of the resource."
221                },
222                "UserLabel": {
223                    "description": "A user-assigned label.",
224                    "longDescription": "This property shall contain a user-assigned label used to identify this resource.  If a value has not been assigned by a user, the value of this property shall be an empty string.",
225                    "readonly": false,
226                    "type": "string",
227                    "versionAdded": "v1_1_0"
228                }
229            },
230            "required": [
231                "@odata.id",
232                "@odata.type",
233                "Id",
234                "Name"
235            ],
236            "type": "object"
237        },
238        "LeakDetectorArrayExcerpt": {
239            "additionalProperties": false,
240            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
241            "excerpt": "LeakDetectorArray",
242            "longDescription": "This resource shall represent a state-based or digital-value leak detector for a Redfish implementation.",
243            "patternProperties": {
244                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
245                    "description": "This property shall specify a valid odata or Redfish property.",
246                    "type": [
247                        "array",
248                        "boolean",
249                        "integer",
250                        "number",
251                        "null",
252                        "object",
253                        "string"
254                    ]
255                }
256            },
257            "properties": {
258                "DataSourceUri": {
259                    "description": "The link to the resource that provides the data for this leak detector.",
260                    "excerptCopyOnly": true,
261                    "format": "uri-reference",
262                    "longDescription": "This property shall contain a URI to the resource that provides the source of the excerpt contained within this copy.",
263                    "readonly": true,
264                    "type": [
265                        "string",
266                        "null"
267                    ]
268                },
269                "DetectorState": {
270                    "anyOf": [
271                        {
272                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
273                        },
274                        {
275                            "type": "null"
276                        }
277                    ],
278                    "description": "The state of the leak detector.",
279                    "excerpt": "LeakDetector",
280                    "longDescription": "This property shall contain the state of the leak detector.",
281                    "readonly": true
282                },
283                "PhysicalContext": {
284                    "anyOf": [
285                        {
286                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext"
287                        },
288                        {
289                            "type": "null"
290                        }
291                    ],
292                    "description": "The area or device to which this leak detector applies.",
293                    "excerpt": "LeakDetectorArray",
294                    "longDescription": "This property shall contain a description of the affected component or region within the equipment to which this leak detector applies.",
295                    "readonly": true
296                },
297                "PhysicalSubContext": {
298                    "anyOf": [
299                        {
300                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalSubContext"
301                        },
302                        {
303                            "type": "null"
304                        }
305                    ],
306                    "description": "The usage or location within a device to which this leak detector applies.",
307                    "excerpt": "LeakDetectorArray",
308                    "longDescription": "This property shall contain a description of the usage or sub-region within the equipment to which this leak detector applies.  This property generally differentiates multiple leak detectors within the same `PhysicalContext` instance.",
309                    "readonly": true
310                }
311            },
312            "type": "object"
313        },
314        "LeakDetectorExcerpt": {
315            "additionalProperties": false,
316            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
317            "excerpt": "LeakDetector",
318            "longDescription": "This resource shall represent a state-based or digital-value leak detector for a Redfish implementation.",
319            "patternProperties": {
320                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
321                    "description": "This property shall specify a valid odata or Redfish property.",
322                    "type": [
323                        "array",
324                        "boolean",
325                        "integer",
326                        "number",
327                        "null",
328                        "object",
329                        "string"
330                    ]
331                }
332            },
333            "properties": {
334                "DataSourceUri": {
335                    "description": "The link to the resource that provides the data for this leak detector.",
336                    "excerptCopyOnly": true,
337                    "format": "uri-reference",
338                    "longDescription": "This property shall contain a URI to the resource that provides the source of the excerpt contained within this copy.",
339                    "readonly": true,
340                    "type": [
341                        "string",
342                        "null"
343                    ]
344                },
345                "DetectorState": {
346                    "anyOf": [
347                        {
348                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
349                        },
350                        {
351                            "type": "null"
352                        }
353                    ],
354                    "description": "The state of the leak detector.",
355                    "excerpt": "LeakDetector",
356                    "longDescription": "This property shall contain the state of the leak detector.",
357                    "readonly": true
358                }
359            },
360            "type": "object"
361        },
362        "LeakDetectorType": {
363            "enum": [
364                "Moisture",
365                "FloatSwitch"
366            ],
367            "enumDescriptions": {
368                "FloatSwitch": "A float switch.",
369                "Moisture": "A moisture sensor."
370            },
371            "type": "string"
372        },
373        "OemActions": {
374            "additionalProperties": true,
375            "description": "The available OEM-specific actions for this resource.",
376            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
377            "patternProperties": {
378                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
379                    "description": "This property shall specify a valid odata or Redfish property.",
380                    "type": [
381                        "array",
382                        "boolean",
383                        "integer",
384                        "number",
385                        "null",
386                        "object",
387                        "string"
388                    ]
389                }
390            },
391            "properties": {},
392            "type": "object"
393        }
394    },
395    "language": "en",
396    "owningEntity": "DMTF",
397    "release": "2024.1",
398    "title": "#LeakDetector.v1_1_0.LeakDetector"
399}