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