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