xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/LeakDetector.v1_5_0.json (revision 5ecf7b4e1bb6988dd3403fa80b723afbe2be30ae)
1*5ecf7b4eSGunnar Mills{
2*5ecf7b4eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/LeakDetector.v1_5_0.json",
3*5ecf7b4eSGunnar Mills    "$ref": "#/definitions/LeakDetector",
4*5ecf7b4eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*5ecf7b4eSGunnar Mills    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*5ecf7b4eSGunnar Mills    "definitions": {
7*5ecf7b4eSGunnar Mills        "Actions": {
8*5ecf7b4eSGunnar Mills            "additionalProperties": false,
9*5ecf7b4eSGunnar Mills            "description": "The available actions for this resource.",
10*5ecf7b4eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*5ecf7b4eSGunnar Mills            "patternProperties": {
12*5ecf7b4eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*5ecf7b4eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*5ecf7b4eSGunnar Mills                    "type": [
15*5ecf7b4eSGunnar Mills                        "array",
16*5ecf7b4eSGunnar Mills                        "boolean",
17*5ecf7b4eSGunnar Mills                        "integer",
18*5ecf7b4eSGunnar Mills                        "number",
19*5ecf7b4eSGunnar Mills                        "null",
20*5ecf7b4eSGunnar Mills                        "object",
21*5ecf7b4eSGunnar Mills                        "string"
22*5ecf7b4eSGunnar Mills                    ]
23*5ecf7b4eSGunnar Mills                }
24*5ecf7b4eSGunnar Mills            },
25*5ecf7b4eSGunnar Mills            "properties": {
26*5ecf7b4eSGunnar Mills                "Oem": {
27*5ecf7b4eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*5ecf7b4eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*5ecf7b4eSGunnar Mills                }
31*5ecf7b4eSGunnar Mills            },
32*5ecf7b4eSGunnar Mills            "type": "object"
33*5ecf7b4eSGunnar Mills        },
34*5ecf7b4eSGunnar Mills        "DetectorState": {
35*5ecf7b4eSGunnar Mills            "enum": [
36*5ecf7b4eSGunnar Mills                "OK",
37*5ecf7b4eSGunnar Mills                "Warning",
38*5ecf7b4eSGunnar Mills                "Critical",
39*5ecf7b4eSGunnar Mills                "Unavailable",
40*5ecf7b4eSGunnar Mills                "Absent"
41*5ecf7b4eSGunnar Mills            ],
42*5ecf7b4eSGunnar Mills            "enumDescriptions": {
43*5ecf7b4eSGunnar Mills                "Absent": "The detector is not present.",
44*5ecf7b4eSGunnar Mills                "Critical": "A critical leak is detected.",
45*5ecf7b4eSGunnar Mills                "OK": "Normal.",
46*5ecf7b4eSGunnar Mills                "Unavailable": "No data is available from the detector.",
47*5ecf7b4eSGunnar Mills                "Warning": "A warning-level leak is detected."
48*5ecf7b4eSGunnar Mills            },
49*5ecf7b4eSGunnar Mills            "enumLongDescriptions": {
50*5ecf7b4eSGunnar Mills                "Absent": "This value shall indicate that the implementation supports a leak detector, but no leak detector is installed or configured.",
51*5ecf7b4eSGunnar Mills                "Critical": "This value shall indicate that a critical-level leak is detected.",
52*5ecf7b4eSGunnar Mills                "OK": "This value shall indicate that there is no leak detected and the detector is operating normally.",
53*5ecf7b4eSGunnar Mills                "Unavailable": "This value shall indicate that no valid data can be acquired from the detector, due to a fault condition within the detector, a disconnected cable, or the detector is disabled.",
54*5ecf7b4eSGunnar Mills                "Warning": "This value shall indicate that a warning-level leak is detected."
55*5ecf7b4eSGunnar Mills            },
56*5ecf7b4eSGunnar Mills            "enumVersionAdded": {
57*5ecf7b4eSGunnar Mills                "Absent": "v1_5_0",
58*5ecf7b4eSGunnar Mills                "Unavailable": "v1_5_0"
59*5ecf7b4eSGunnar Mills            },
60*5ecf7b4eSGunnar Mills            "type": "string"
61*5ecf7b4eSGunnar Mills        },
62*5ecf7b4eSGunnar Mills        "LeakDetector": {
63*5ecf7b4eSGunnar Mills            "additionalProperties": false,
64*5ecf7b4eSGunnar Mills            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
65*5ecf7b4eSGunnar Mills            "longDescription": "This resource shall represent a state-based or digital-value leak detector for a Redfish implementation.",
66*5ecf7b4eSGunnar Mills            "patternProperties": {
67*5ecf7b4eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
68*5ecf7b4eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
69*5ecf7b4eSGunnar Mills                    "type": [
70*5ecf7b4eSGunnar Mills                        "array",
71*5ecf7b4eSGunnar Mills                        "boolean",
72*5ecf7b4eSGunnar Mills                        "integer",
73*5ecf7b4eSGunnar Mills                        "number",
74*5ecf7b4eSGunnar Mills                        "null",
75*5ecf7b4eSGunnar Mills                        "object",
76*5ecf7b4eSGunnar Mills                        "string"
77*5ecf7b4eSGunnar Mills                    ]
78*5ecf7b4eSGunnar Mills                }
79*5ecf7b4eSGunnar Mills            },
80*5ecf7b4eSGunnar Mills            "properties": {
81*5ecf7b4eSGunnar Mills                "@odata.context": {
82*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
83*5ecf7b4eSGunnar Mills                },
84*5ecf7b4eSGunnar Mills                "@odata.etag": {
85*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
86*5ecf7b4eSGunnar Mills                },
87*5ecf7b4eSGunnar Mills                "@odata.id": {
88*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
89*5ecf7b4eSGunnar Mills                },
90*5ecf7b4eSGunnar Mills                "@odata.type": {
91*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
92*5ecf7b4eSGunnar Mills                },
93*5ecf7b4eSGunnar Mills                "Actions": {
94*5ecf7b4eSGunnar Mills                    "$ref": "#/definitions/Actions",
95*5ecf7b4eSGunnar Mills                    "description": "The available actions for this resource.",
96*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
97*5ecf7b4eSGunnar Mills                },
98*5ecf7b4eSGunnar Mills                "CriticalReactionType": {
99*5ecf7b4eSGunnar Mills                    "$ref": "#/definitions/ReactionType",
100*5ecf7b4eSGunnar Mills                    "description": "The reaction to perform when a critical leak is detected.",
101*5ecf7b4eSGunnar Mills                    "longDescription": "The reaction that shall be performed when the `DetectorState` property changes to `Critical`.",
102*5ecf7b4eSGunnar Mills                    "readonly": false,
103*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_4_0"
104*5ecf7b4eSGunnar Mills                },
105*5ecf7b4eSGunnar Mills                "Description": {
106*5ecf7b4eSGunnar Mills                    "anyOf": [
107*5ecf7b4eSGunnar Mills                        {
108*5ecf7b4eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
109*5ecf7b4eSGunnar Mills                        },
110*5ecf7b4eSGunnar Mills                        {
111*5ecf7b4eSGunnar Mills                            "type": "null"
112*5ecf7b4eSGunnar Mills                        }
113*5ecf7b4eSGunnar Mills                    ],
114*5ecf7b4eSGunnar Mills                    "readonly": true
115*5ecf7b4eSGunnar Mills                },
116*5ecf7b4eSGunnar Mills                "DetectorState": {
117*5ecf7b4eSGunnar Mills                    "anyOf": [
118*5ecf7b4eSGunnar Mills                        {
119*5ecf7b4eSGunnar Mills                            "$ref": "#/definitions/DetectorState"
120*5ecf7b4eSGunnar Mills                        },
121*5ecf7b4eSGunnar Mills                        {
122*5ecf7b4eSGunnar Mills                            "type": "null"
123*5ecf7b4eSGunnar Mills                        }
124*5ecf7b4eSGunnar Mills                    ],
125*5ecf7b4eSGunnar Mills                    "description": "The state of the leak detector.",
126*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetector",
127*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the state of the leak detector.  The value of this property should equate to the value of `Health` in `Status` when the detector is enabled and functional.  If a fault occurs with the detector itself, such as a short or a disconnected cable, the `Conditions` property in `Status` should indicate the type of fault detected.",
128*5ecf7b4eSGunnar Mills                    "readonly": true
129*5ecf7b4eSGunnar Mills                },
130*5ecf7b4eSGunnar Mills                "Enabled": {
131*5ecf7b4eSGunnar Mills                    "description": "Indicates whether the leak detector is enabled and provides a status.",
132*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall indicate whether the leak detector is enabled.  The value `true` shall indicate the leak detector is enabled.  The value `false` shall indicate the leak detector is disabled.  When disabled, `DetectorState` shall contain `Unavailable` and the leak detector shall not trigger events, logging, or other functionality.  This property allows a user to disable a faulty leak detector or to otherwise remove it from use.",
133*5ecf7b4eSGunnar Mills                    "readonly": false,
134*5ecf7b4eSGunnar Mills                    "type": [
135*5ecf7b4eSGunnar Mills                        "boolean",
136*5ecf7b4eSGunnar Mills                        "null"
137*5ecf7b4eSGunnar Mills                    ],
138*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_3_0"
139*5ecf7b4eSGunnar Mills                },
140*5ecf7b4eSGunnar Mills                "Id": {
141*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
142*5ecf7b4eSGunnar Mills                    "readonly": true
143*5ecf7b4eSGunnar Mills                },
144*5ecf7b4eSGunnar Mills                "LeakDetectorType": {
145*5ecf7b4eSGunnar Mills                    "anyOf": [
146*5ecf7b4eSGunnar Mills                        {
147*5ecf7b4eSGunnar Mills                            "$ref": "#/definitions/LeakDetectorType"
148*5ecf7b4eSGunnar Mills                        },
149*5ecf7b4eSGunnar Mills                        {
150*5ecf7b4eSGunnar Mills                            "type": "null"
151*5ecf7b4eSGunnar Mills                        }
152*5ecf7b4eSGunnar Mills                    ],
153*5ecf7b4eSGunnar Mills                    "description": "The type of leak detection sensor.",
154*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the reading type of the leak detection sensor.",
155*5ecf7b4eSGunnar Mills                    "readonly": true
156*5ecf7b4eSGunnar Mills                },
157*5ecf7b4eSGunnar Mills                "Location": {
158*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
159*5ecf7b4eSGunnar Mills                    "description": "The location information for this leak detector.",
160*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall indicate the location information for this leak detector."
161*5ecf7b4eSGunnar Mills                },
162*5ecf7b4eSGunnar Mills                "Manufacturer": {
163*5ecf7b4eSGunnar Mills                    "description": "The manufacturer of this leak detector.",
164*5ecf7b4eSGunnar Mills                    "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.",
165*5ecf7b4eSGunnar Mills                    "readonly": true,
166*5ecf7b4eSGunnar Mills                    "type": [
167*5ecf7b4eSGunnar Mills                        "string",
168*5ecf7b4eSGunnar Mills                        "null"
169*5ecf7b4eSGunnar Mills                    ]
170*5ecf7b4eSGunnar Mills                },
171*5ecf7b4eSGunnar Mills                "Model": {
172*5ecf7b4eSGunnar Mills                    "description": "The model number of the leak detector.",
173*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the name by which the manufacturer generally refers to the leak detector.",
174*5ecf7b4eSGunnar Mills                    "readonly": true,
175*5ecf7b4eSGunnar Mills                    "type": [
176*5ecf7b4eSGunnar Mills                        "string",
177*5ecf7b4eSGunnar Mills                        "null"
178*5ecf7b4eSGunnar Mills                    ]
179*5ecf7b4eSGunnar Mills                },
180*5ecf7b4eSGunnar Mills                "Name": {
181*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
182*5ecf7b4eSGunnar Mills                    "readonly": true
183*5ecf7b4eSGunnar Mills                },
184*5ecf7b4eSGunnar Mills                "Oem": {
185*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
186*5ecf7b4eSGunnar Mills                    "description": "The OEM extension property.",
187*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
188*5ecf7b4eSGunnar Mills                },
189*5ecf7b4eSGunnar Mills                "PartNumber": {
190*5ecf7b4eSGunnar Mills                    "description": "The part number of the leak detector.",
191*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a part number assigned by the organization that is responsible for producing or manufacturing the leak detector.",
192*5ecf7b4eSGunnar Mills                    "readonly": true,
193*5ecf7b4eSGunnar Mills                    "type": [
194*5ecf7b4eSGunnar Mills                        "string",
195*5ecf7b4eSGunnar Mills                        "null"
196*5ecf7b4eSGunnar Mills                    ]
197*5ecf7b4eSGunnar Mills                },
198*5ecf7b4eSGunnar Mills                "PhysicalContext": {
199*5ecf7b4eSGunnar Mills                    "anyOf": [
200*5ecf7b4eSGunnar Mills                        {
201*5ecf7b4eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext"
202*5ecf7b4eSGunnar Mills                        },
203*5ecf7b4eSGunnar Mills                        {
204*5ecf7b4eSGunnar Mills                            "type": "null"
205*5ecf7b4eSGunnar Mills                        }
206*5ecf7b4eSGunnar Mills                    ],
207*5ecf7b4eSGunnar Mills                    "description": "The area or device to which this leak detector applies.",
208*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetectorArray",
209*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a description of the affected component or region within the equipment to which this leak detector applies.",
210*5ecf7b4eSGunnar Mills                    "readonly": true
211*5ecf7b4eSGunnar Mills                },
212*5ecf7b4eSGunnar Mills                "PhysicalSubContext": {
213*5ecf7b4eSGunnar Mills                    "anyOf": [
214*5ecf7b4eSGunnar Mills                        {
215*5ecf7b4eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalSubContext"
216*5ecf7b4eSGunnar Mills                        },
217*5ecf7b4eSGunnar Mills                        {
218*5ecf7b4eSGunnar Mills                            "type": "null"
219*5ecf7b4eSGunnar Mills                        }
220*5ecf7b4eSGunnar Mills                    ],
221*5ecf7b4eSGunnar Mills                    "description": "The usage or location within a device to which this leak detector applies.",
222*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetectorArray",
223*5ecf7b4eSGunnar Mills                    "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.",
224*5ecf7b4eSGunnar Mills                    "readonly": true
225*5ecf7b4eSGunnar Mills                },
226*5ecf7b4eSGunnar Mills                "ReactionDelaySeconds": {
227*5ecf7b4eSGunnar Mills                    "description": "The delay in seconds after a leak is detected before the selected reaction is executed.",
228*5ecf7b4eSGunnar Mills                    "longDescription": "The value shall indicate the number of seconds to delay after the `DetectorState` changes before the selected reaction is executed.  If the `DetectorState` returns to `OK` prior to the delay value, the service shall not perform the reaction.",
229*5ecf7b4eSGunnar Mills                    "readonly": false,
230*5ecf7b4eSGunnar Mills                    "type": "integer",
231*5ecf7b4eSGunnar Mills                    "units": "s",
232*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_4_0"
233*5ecf7b4eSGunnar Mills                },
234*5ecf7b4eSGunnar Mills                "SKU": {
235*5ecf7b4eSGunnar Mills                    "description": "The SKU of the leak detector.",
236*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the stock-keeping unit number for this leak detector.",
237*5ecf7b4eSGunnar Mills                    "readonly": true,
238*5ecf7b4eSGunnar Mills                    "type": [
239*5ecf7b4eSGunnar Mills                        "string",
240*5ecf7b4eSGunnar Mills                        "null"
241*5ecf7b4eSGunnar Mills                    ]
242*5ecf7b4eSGunnar Mills                },
243*5ecf7b4eSGunnar Mills                "SensingFrequency": {
244*5ecf7b4eSGunnar Mills                    "description": "The time interval between readings of the physical leak detector.",
245*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the time interval between readings of the physical leak detector.",
246*5ecf7b4eSGunnar Mills                    "readonly": true,
247*5ecf7b4eSGunnar Mills                    "type": [
248*5ecf7b4eSGunnar Mills                        "number",
249*5ecf7b4eSGunnar Mills                        "null"
250*5ecf7b4eSGunnar Mills                    ]
251*5ecf7b4eSGunnar Mills                },
252*5ecf7b4eSGunnar Mills                "SerialNumber": {
253*5ecf7b4eSGunnar Mills                    "description": "The serial number of the leak detector.",
254*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a manufacturer-allocated number that identifies the leak detector.",
255*5ecf7b4eSGunnar Mills                    "readonly": true,
256*5ecf7b4eSGunnar Mills                    "type": [
257*5ecf7b4eSGunnar Mills                        "string",
258*5ecf7b4eSGunnar Mills                        "null"
259*5ecf7b4eSGunnar Mills                    ]
260*5ecf7b4eSGunnar Mills                },
261*5ecf7b4eSGunnar Mills                "SparePartNumber": {
262*5ecf7b4eSGunnar Mills                    "description": "The spare part number of the leak detector.",
263*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the spare part number of the leak detector.",
264*5ecf7b4eSGunnar Mills                    "readonly": true,
265*5ecf7b4eSGunnar Mills                    "type": [
266*5ecf7b4eSGunnar Mills                        "string",
267*5ecf7b4eSGunnar Mills                        "null"
268*5ecf7b4eSGunnar Mills                    ]
269*5ecf7b4eSGunnar Mills                },
270*5ecf7b4eSGunnar Mills                "Status": {
271*5ecf7b4eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
272*5ecf7b4eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
273*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
274*5ecf7b4eSGunnar Mills                },
275*5ecf7b4eSGunnar Mills                "UserLabel": {
276*5ecf7b4eSGunnar Mills                    "description": "A user-assigned label.",
277*5ecf7b4eSGunnar Mills                    "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.",
278*5ecf7b4eSGunnar Mills                    "readonly": false,
279*5ecf7b4eSGunnar Mills                    "type": "string",
280*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_1_0"
281*5ecf7b4eSGunnar Mills                },
282*5ecf7b4eSGunnar Mills                "WarningReactionType": {
283*5ecf7b4eSGunnar Mills                    "$ref": "#/definitions/ReactionType",
284*5ecf7b4eSGunnar Mills                    "description": "The reaction to perform when a warning-level leak is detected.",
285*5ecf7b4eSGunnar Mills                    "longDescription": "The reaction that shall be performed when the `DetectorState` property changes to `Warning`.",
286*5ecf7b4eSGunnar Mills                    "readonly": false,
287*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_4_0"
288*5ecf7b4eSGunnar Mills                }
289*5ecf7b4eSGunnar Mills            },
290*5ecf7b4eSGunnar Mills            "required": [
291*5ecf7b4eSGunnar Mills                "@odata.id",
292*5ecf7b4eSGunnar Mills                "@odata.type",
293*5ecf7b4eSGunnar Mills                "Id",
294*5ecf7b4eSGunnar Mills                "Name"
295*5ecf7b4eSGunnar Mills            ],
296*5ecf7b4eSGunnar Mills            "type": "object"
297*5ecf7b4eSGunnar Mills        },
298*5ecf7b4eSGunnar Mills        "LeakDetectorArrayExcerpt": {
299*5ecf7b4eSGunnar Mills            "additionalProperties": false,
300*5ecf7b4eSGunnar Mills            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
301*5ecf7b4eSGunnar Mills            "excerpt": "LeakDetectorArray",
302*5ecf7b4eSGunnar Mills            "longDescription": "This resource shall represent a state-based or digital-value leak detector for a Redfish implementation.",
303*5ecf7b4eSGunnar Mills            "patternProperties": {
304*5ecf7b4eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
305*5ecf7b4eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
306*5ecf7b4eSGunnar Mills                    "type": [
307*5ecf7b4eSGunnar Mills                        "array",
308*5ecf7b4eSGunnar Mills                        "boolean",
309*5ecf7b4eSGunnar Mills                        "integer",
310*5ecf7b4eSGunnar Mills                        "number",
311*5ecf7b4eSGunnar Mills                        "null",
312*5ecf7b4eSGunnar Mills                        "object",
313*5ecf7b4eSGunnar Mills                        "string"
314*5ecf7b4eSGunnar Mills                    ]
315*5ecf7b4eSGunnar Mills                }
316*5ecf7b4eSGunnar Mills            },
317*5ecf7b4eSGunnar Mills            "properties": {
318*5ecf7b4eSGunnar Mills                "DataSourceUri": {
319*5ecf7b4eSGunnar Mills                    "description": "The link to the resource that provides the data for this leak detector.",
320*5ecf7b4eSGunnar Mills                    "excerptCopyOnly": true,
321*5ecf7b4eSGunnar Mills                    "format": "uri-reference",
322*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a URI to the resource that provides the source of the excerpt contained within this copy.",
323*5ecf7b4eSGunnar Mills                    "readonly": true,
324*5ecf7b4eSGunnar Mills                    "type": [
325*5ecf7b4eSGunnar Mills                        "string",
326*5ecf7b4eSGunnar Mills                        "null"
327*5ecf7b4eSGunnar Mills                    ]
328*5ecf7b4eSGunnar Mills                },
329*5ecf7b4eSGunnar Mills                "DetectorState": {
330*5ecf7b4eSGunnar Mills                    "anyOf": [
331*5ecf7b4eSGunnar Mills                        {
332*5ecf7b4eSGunnar Mills                            "$ref": "#/definitions/DetectorState"
333*5ecf7b4eSGunnar Mills                        },
334*5ecf7b4eSGunnar Mills                        {
335*5ecf7b4eSGunnar Mills                            "type": "null"
336*5ecf7b4eSGunnar Mills                        }
337*5ecf7b4eSGunnar Mills                    ],
338*5ecf7b4eSGunnar Mills                    "description": "The state of the leak detector.",
339*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetector",
340*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the state of the leak detector.  The value of this property should equate to the value of `Health` in `Status` when the detector is enabled and functional.  If a fault occurs with the detector itself, such as a short or a disconnected cable, the `Conditions` property in `Status` should indicate the type of fault detected.",
341*5ecf7b4eSGunnar Mills                    "readonly": true
342*5ecf7b4eSGunnar Mills                },
343*5ecf7b4eSGunnar Mills                "DeviceName": {
344*5ecf7b4eSGunnar Mills                    "description": "The name of the device.",
345*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetectorArray",
346*5ecf7b4eSGunnar Mills                    "excerptCopyOnly": true,
347*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the name of the device associated with this leak detector.  If the device is represented by a resource, the value shall contain the value of the `Name` property of the associated resource.",
348*5ecf7b4eSGunnar Mills                    "readonly": true,
349*5ecf7b4eSGunnar Mills                    "type": [
350*5ecf7b4eSGunnar Mills                        "string",
351*5ecf7b4eSGunnar Mills                        "null"
352*5ecf7b4eSGunnar Mills                    ],
353*5ecf7b4eSGunnar Mills                    "versionAdded": "v1_2_0"
354*5ecf7b4eSGunnar Mills                },
355*5ecf7b4eSGunnar Mills                "PhysicalContext": {
356*5ecf7b4eSGunnar Mills                    "anyOf": [
357*5ecf7b4eSGunnar Mills                        {
358*5ecf7b4eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext"
359*5ecf7b4eSGunnar Mills                        },
360*5ecf7b4eSGunnar Mills                        {
361*5ecf7b4eSGunnar Mills                            "type": "null"
362*5ecf7b4eSGunnar Mills                        }
363*5ecf7b4eSGunnar Mills                    ],
364*5ecf7b4eSGunnar Mills                    "description": "The area or device to which this leak detector applies.",
365*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetectorArray",
366*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a description of the affected component or region within the equipment to which this leak detector applies.",
367*5ecf7b4eSGunnar Mills                    "readonly": true
368*5ecf7b4eSGunnar Mills                },
369*5ecf7b4eSGunnar Mills                "PhysicalSubContext": {
370*5ecf7b4eSGunnar Mills                    "anyOf": [
371*5ecf7b4eSGunnar Mills                        {
372*5ecf7b4eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalSubContext"
373*5ecf7b4eSGunnar Mills                        },
374*5ecf7b4eSGunnar Mills                        {
375*5ecf7b4eSGunnar Mills                            "type": "null"
376*5ecf7b4eSGunnar Mills                        }
377*5ecf7b4eSGunnar Mills                    ],
378*5ecf7b4eSGunnar Mills                    "description": "The usage or location within a device to which this leak detector applies.",
379*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetectorArray",
380*5ecf7b4eSGunnar Mills                    "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.",
381*5ecf7b4eSGunnar Mills                    "readonly": true
382*5ecf7b4eSGunnar Mills                }
383*5ecf7b4eSGunnar Mills            },
384*5ecf7b4eSGunnar Mills            "type": "object"
385*5ecf7b4eSGunnar Mills        },
386*5ecf7b4eSGunnar Mills        "LeakDetectorExcerpt": {
387*5ecf7b4eSGunnar Mills            "additionalProperties": false,
388*5ecf7b4eSGunnar Mills            "description": "The `LeakDetector` schema describes a state-based or digital-value leak detector and its properties.",
389*5ecf7b4eSGunnar Mills            "excerpt": "LeakDetector",
390*5ecf7b4eSGunnar Mills            "longDescription": "This resource shall represent a state-based or digital-value leak detector for a Redfish implementation.",
391*5ecf7b4eSGunnar Mills            "patternProperties": {
392*5ecf7b4eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
393*5ecf7b4eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
394*5ecf7b4eSGunnar Mills                    "type": [
395*5ecf7b4eSGunnar Mills                        "array",
396*5ecf7b4eSGunnar Mills                        "boolean",
397*5ecf7b4eSGunnar Mills                        "integer",
398*5ecf7b4eSGunnar Mills                        "number",
399*5ecf7b4eSGunnar Mills                        "null",
400*5ecf7b4eSGunnar Mills                        "object",
401*5ecf7b4eSGunnar Mills                        "string"
402*5ecf7b4eSGunnar Mills                    ]
403*5ecf7b4eSGunnar Mills                }
404*5ecf7b4eSGunnar Mills            },
405*5ecf7b4eSGunnar Mills            "properties": {
406*5ecf7b4eSGunnar Mills                "DataSourceUri": {
407*5ecf7b4eSGunnar Mills                    "description": "The link to the resource that provides the data for this leak detector.",
408*5ecf7b4eSGunnar Mills                    "excerptCopyOnly": true,
409*5ecf7b4eSGunnar Mills                    "format": "uri-reference",
410*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain a URI to the resource that provides the source of the excerpt contained within this copy.",
411*5ecf7b4eSGunnar Mills                    "readonly": true,
412*5ecf7b4eSGunnar Mills                    "type": [
413*5ecf7b4eSGunnar Mills                        "string",
414*5ecf7b4eSGunnar Mills                        "null"
415*5ecf7b4eSGunnar Mills                    ]
416*5ecf7b4eSGunnar Mills                },
417*5ecf7b4eSGunnar Mills                "DetectorState": {
418*5ecf7b4eSGunnar Mills                    "anyOf": [
419*5ecf7b4eSGunnar Mills                        {
420*5ecf7b4eSGunnar Mills                            "$ref": "#/definitions/DetectorState"
421*5ecf7b4eSGunnar Mills                        },
422*5ecf7b4eSGunnar Mills                        {
423*5ecf7b4eSGunnar Mills                            "type": "null"
424*5ecf7b4eSGunnar Mills                        }
425*5ecf7b4eSGunnar Mills                    ],
426*5ecf7b4eSGunnar Mills                    "description": "The state of the leak detector.",
427*5ecf7b4eSGunnar Mills                    "excerpt": "LeakDetector",
428*5ecf7b4eSGunnar Mills                    "longDescription": "This property shall contain the state of the leak detector.  The value of this property should equate to the value of `Health` in `Status` when the detector is enabled and functional.  If a fault occurs with the detector itself, such as a short or a disconnected cable, the `Conditions` property in `Status` should indicate the type of fault detected.",
429*5ecf7b4eSGunnar Mills                    "readonly": true
430*5ecf7b4eSGunnar Mills                }
431*5ecf7b4eSGunnar Mills            },
432*5ecf7b4eSGunnar Mills            "type": "object"
433*5ecf7b4eSGunnar Mills        },
434*5ecf7b4eSGunnar Mills        "LeakDetectorType": {
435*5ecf7b4eSGunnar Mills            "enum": [
436*5ecf7b4eSGunnar Mills                "Moisture",
437*5ecf7b4eSGunnar Mills                "FloatSwitch"
438*5ecf7b4eSGunnar Mills            ],
439*5ecf7b4eSGunnar Mills            "enumDescriptions": {
440*5ecf7b4eSGunnar Mills                "FloatSwitch": "A float switch.",
441*5ecf7b4eSGunnar Mills                "Moisture": "A moisture sensor."
442*5ecf7b4eSGunnar Mills            },
443*5ecf7b4eSGunnar Mills            "type": "string"
444*5ecf7b4eSGunnar Mills        },
445*5ecf7b4eSGunnar Mills        "OemActions": {
446*5ecf7b4eSGunnar Mills            "additionalProperties": true,
447*5ecf7b4eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
448*5ecf7b4eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
449*5ecf7b4eSGunnar Mills            "patternProperties": {
450*5ecf7b4eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
451*5ecf7b4eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
452*5ecf7b4eSGunnar Mills                    "type": [
453*5ecf7b4eSGunnar Mills                        "array",
454*5ecf7b4eSGunnar Mills                        "boolean",
455*5ecf7b4eSGunnar Mills                        "integer",
456*5ecf7b4eSGunnar Mills                        "number",
457*5ecf7b4eSGunnar Mills                        "null",
458*5ecf7b4eSGunnar Mills                        "object",
459*5ecf7b4eSGunnar Mills                        "string"
460*5ecf7b4eSGunnar Mills                    ]
461*5ecf7b4eSGunnar Mills                }
462*5ecf7b4eSGunnar Mills            },
463*5ecf7b4eSGunnar Mills            "properties": {},
464*5ecf7b4eSGunnar Mills            "type": "object"
465*5ecf7b4eSGunnar Mills        },
466*5ecf7b4eSGunnar Mills        "ReactionType": {
467*5ecf7b4eSGunnar Mills            "enum": [
468*5ecf7b4eSGunnar Mills                "None",
469*5ecf7b4eSGunnar Mills                "ForceOff",
470*5ecf7b4eSGunnar Mills                "GracefulShutdown"
471*5ecf7b4eSGunnar Mills            ],
472*5ecf7b4eSGunnar Mills            "enumDescriptions": {
473*5ecf7b4eSGunnar Mills                "ForceOff": "Forcefully shut down the device, equipment, or system.",
474*5ecf7b4eSGunnar Mills                "GracefulShutdown": "Gracefully shut down the device, equipment, or system.",
475*5ecf7b4eSGunnar Mills                "None": "No reaction."
476*5ecf7b4eSGunnar Mills            },
477*5ecf7b4eSGunnar Mills            "enumLongDescriptions": {
478*5ecf7b4eSGunnar Mills                "ForceOff": "This value shall indicate that the associated device, equipment, or system monitored by this leak detector is forcefully shut down when a leak is detected.",
479*5ecf7b4eSGunnar Mills                "GracefulShutdown": "This value shall indicate that the associated device, equipment, or system monitored by this leak detector is gracefully shut down when a leak is detected.",
480*5ecf7b4eSGunnar Mills                "None": "This value shall indicate no reaction occurs when a leak is detected."
481*5ecf7b4eSGunnar Mills            },
482*5ecf7b4eSGunnar Mills            "type": "string"
483*5ecf7b4eSGunnar Mills        }
484*5ecf7b4eSGunnar Mills    },
485*5ecf7b4eSGunnar Mills    "language": "en",
486*5ecf7b4eSGunnar Mills    "owningEntity": "DMTF",
487*5ecf7b4eSGunnar Mills    "release": "2025.3",
488*5ecf7b4eSGunnar Mills    "title": "#LeakDetector.v1_5_0.LeakDetector"
489*5ecf7b4eSGunnar Mills}