xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/Reservoir.v1_0_2.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/Reservoir.v1_0_2.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/Reservoir",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*f2a8e57eSGunnar Mills                }
31*f2a8e57eSGunnar Mills            },
32*f2a8e57eSGunnar Mills            "type": "object"
33*f2a8e57eSGunnar Mills        },
34*f2a8e57eSGunnar Mills        "OemActions": {
35*f2a8e57eSGunnar Mills            "additionalProperties": true,
36*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
37*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
38*f2a8e57eSGunnar Mills            "patternProperties": {
39*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*f2a8e57eSGunnar Mills                    "type": [
42*f2a8e57eSGunnar Mills                        "array",
43*f2a8e57eSGunnar Mills                        "boolean",
44*f2a8e57eSGunnar Mills                        "integer",
45*f2a8e57eSGunnar Mills                        "number",
46*f2a8e57eSGunnar Mills                        "null",
47*f2a8e57eSGunnar Mills                        "object",
48*f2a8e57eSGunnar Mills                        "string"
49*f2a8e57eSGunnar Mills                    ]
50*f2a8e57eSGunnar Mills                }
51*f2a8e57eSGunnar Mills            },
52*f2a8e57eSGunnar Mills            "properties": {},
53*f2a8e57eSGunnar Mills            "type": "object"
54*f2a8e57eSGunnar Mills        },
55*f2a8e57eSGunnar Mills        "Reservoir": {
56*f2a8e57eSGunnar Mills            "additionalProperties": false,
57*f2a8e57eSGunnar Mills            "description": "The `Reservoir` schema describes a reservoir unit for a cooling system or similar device.",
58*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent the management properties for monitoring and management of reservoirs for a Redfish implementation.",
59*f2a8e57eSGunnar Mills            "patternProperties": {
60*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
62*f2a8e57eSGunnar Mills                    "type": [
63*f2a8e57eSGunnar Mills                        "array",
64*f2a8e57eSGunnar Mills                        "boolean",
65*f2a8e57eSGunnar Mills                        "integer",
66*f2a8e57eSGunnar Mills                        "number",
67*f2a8e57eSGunnar Mills                        "null",
68*f2a8e57eSGunnar Mills                        "object",
69*f2a8e57eSGunnar Mills                        "string"
70*f2a8e57eSGunnar Mills                    ]
71*f2a8e57eSGunnar Mills                }
72*f2a8e57eSGunnar Mills            },
73*f2a8e57eSGunnar Mills            "properties": {
74*f2a8e57eSGunnar Mills                "@odata.context": {
75*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76*f2a8e57eSGunnar Mills                },
77*f2a8e57eSGunnar Mills                "@odata.etag": {
78*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79*f2a8e57eSGunnar Mills                },
80*f2a8e57eSGunnar Mills                "@odata.id": {
81*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82*f2a8e57eSGunnar Mills                },
83*f2a8e57eSGunnar Mills                "@odata.type": {
84*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85*f2a8e57eSGunnar Mills                },
86*f2a8e57eSGunnar Mills                "Actions": {
87*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
88*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
89*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
90*f2a8e57eSGunnar Mills                },
91*f2a8e57eSGunnar Mills                "Assembly": {
92*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Assembly.json#/definitions/Assembly",
93*f2a8e57eSGunnar Mills                    "description": "The link to the assembly associated with this reservoir.",
94*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource of type `Assembly`.",
95*f2a8e57eSGunnar Mills                    "readonly": true
96*f2a8e57eSGunnar Mills                },
97*f2a8e57eSGunnar Mills                "CapacityLiters": {
98*f2a8e57eSGunnar Mills                    "description": "The capacity of the reservoir (L).",
99*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the capacity of the reservoir in liter units.",
100*f2a8e57eSGunnar Mills                    "readonly": true,
101*f2a8e57eSGunnar Mills                    "type": [
102*f2a8e57eSGunnar Mills                        "number",
103*f2a8e57eSGunnar Mills                        "null"
104*f2a8e57eSGunnar Mills                    ]
105*f2a8e57eSGunnar Mills                },
106*f2a8e57eSGunnar Mills                "Coolant": {
107*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/CoolingLoop.json#/definitions/Coolant",
108*f2a8e57eSGunnar Mills                    "description": "Details about the coolant used in this unit.",
109*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain details regarding the coolant contained or used by this unit."
110*f2a8e57eSGunnar Mills                },
111*f2a8e57eSGunnar Mills                "Description": {
112*f2a8e57eSGunnar Mills                    "anyOf": [
113*f2a8e57eSGunnar Mills                        {
114*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
115*f2a8e57eSGunnar Mills                        },
116*f2a8e57eSGunnar Mills                        {
117*f2a8e57eSGunnar Mills                            "type": "null"
118*f2a8e57eSGunnar Mills                        }
119*f2a8e57eSGunnar Mills                    ],
120*f2a8e57eSGunnar Mills                    "readonly": true
121*f2a8e57eSGunnar Mills                },
122*f2a8e57eSGunnar Mills                "Filters": {
123*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/FilterCollection.json#/definitions/FilterCollection",
124*f2a8e57eSGunnar Mills                    "description": "A link to a collection of filters.",
125*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `FilterCollection` that contains a set of filters.",
126*f2a8e57eSGunnar Mills                    "readonly": true
127*f2a8e57eSGunnar Mills                },
128*f2a8e57eSGunnar Mills                "FluidLevelPercent": {
129*f2a8e57eSGunnar Mills                    "anyOf": [
130*f2a8e57eSGunnar Mills                        {
131*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
132*f2a8e57eSGunnar Mills                        },
133*f2a8e57eSGunnar Mills                        {
134*f2a8e57eSGunnar Mills                            "type": "null"
135*f2a8e57eSGunnar Mills                        }
136*f2a8e57eSGunnar Mills                    ],
137*f2a8e57eSGunnar Mills                    "description": "The fluid capacity filled (percent).",
138*f2a8e57eSGunnar Mills                    "excerptCopy": "SensorExcerpt",
139*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the amount of fluid capacity, in percent units, filled in this reservoir.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Percent`.  Services that support this property shall also return the `FluidLevelStatus` property.",
140*f2a8e57eSGunnar Mills                    "readonly": true
141*f2a8e57eSGunnar Mills                },
142*f2a8e57eSGunnar Mills                "FluidLevelStatus": {
143*f2a8e57eSGunnar Mills                    "anyOf": [
144*f2a8e57eSGunnar Mills                        {
145*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
146*f2a8e57eSGunnar Mills                        },
147*f2a8e57eSGunnar Mills                        {
148*f2a8e57eSGunnar Mills                            "type": "null"
149*f2a8e57eSGunnar Mills                        }
150*f2a8e57eSGunnar Mills                    ],
151*f2a8e57eSGunnar Mills                    "description": "The status of the fluid level in this reservoir.",
152*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the status of the fluid level in this reservoir.",
153*f2a8e57eSGunnar Mills                    "readonly": true
154*f2a8e57eSGunnar Mills                },
155*f2a8e57eSGunnar Mills                "Id": {
156*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
157*f2a8e57eSGunnar Mills                    "readonly": true
158*f2a8e57eSGunnar Mills                },
159*f2a8e57eSGunnar Mills                "InternalPressurekPa": {
160*f2a8e57eSGunnar Mills                    "anyOf": [
161*f2a8e57eSGunnar Mills                        {
162*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
163*f2a8e57eSGunnar Mills                        },
164*f2a8e57eSGunnar Mills                        {
165*f2a8e57eSGunnar Mills                            "type": "null"
166*f2a8e57eSGunnar Mills                        }
167*f2a8e57eSGunnar Mills                    ],
168*f2a8e57eSGunnar Mills                    "description": "The internal pressure (kPa) reading.",
169*f2a8e57eSGunnar Mills                    "excerptCopy": "SensorExcerpt",
170*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the internal pressure, measured in kilopascal units, for the reservoir.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `PressurekPa`.",
171*f2a8e57eSGunnar Mills                    "readonly": true
172*f2a8e57eSGunnar Mills                },
173*f2a8e57eSGunnar Mills                "Location": {
174*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
175*f2a8e57eSGunnar Mills                    "description": "The location of the reservoir.",
176*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the location information of this reservoir."
177*f2a8e57eSGunnar Mills                },
178*f2a8e57eSGunnar Mills                "LocationIndicatorActive": {
179*f2a8e57eSGunnar Mills                    "description": "An indicator allowing an operator to physically locate this resource.",
180*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the state of the indicator used to physically identify or locate this resource.",
181*f2a8e57eSGunnar Mills                    "readonly": false,
182*f2a8e57eSGunnar Mills                    "type": [
183*f2a8e57eSGunnar Mills                        "boolean",
184*f2a8e57eSGunnar Mills                        "null"
185*f2a8e57eSGunnar Mills                    ]
186*f2a8e57eSGunnar Mills                },
187*f2a8e57eSGunnar Mills                "Manufacturer": {
188*f2a8e57eSGunnar Mills                    "description": "The manufacturer of this reservoir.",
189*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the name of the organization responsible for producing the reservoir.  This organization may be the entity from whom the reservoir is purchased, but this is not necessarily true.",
190*f2a8e57eSGunnar Mills                    "readonly": true,
191*f2a8e57eSGunnar Mills                    "type": [
192*f2a8e57eSGunnar Mills                        "string",
193*f2a8e57eSGunnar Mills                        "null"
194*f2a8e57eSGunnar Mills                    ]
195*f2a8e57eSGunnar Mills                },
196*f2a8e57eSGunnar Mills                "Model": {
197*f2a8e57eSGunnar Mills                    "description": "The model number for this reservoir.",
198*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the model information as defined by the manufacturer for this reservoir.",
199*f2a8e57eSGunnar Mills                    "readonly": true,
200*f2a8e57eSGunnar Mills                    "type": [
201*f2a8e57eSGunnar Mills                        "string",
202*f2a8e57eSGunnar Mills                        "null"
203*f2a8e57eSGunnar Mills                    ]
204*f2a8e57eSGunnar Mills                },
205*f2a8e57eSGunnar Mills                "Name": {
206*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
207*f2a8e57eSGunnar Mills                    "readonly": true
208*f2a8e57eSGunnar Mills                },
209*f2a8e57eSGunnar Mills                "Oem": {
210*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
211*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
212*f2a8e57eSGunnar 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."
213*f2a8e57eSGunnar Mills                },
214*f2a8e57eSGunnar Mills                "PartNumber": {
215*f2a8e57eSGunnar Mills                    "description": "The part number for this reservoir.",
216*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the part number as defined by the manufacturer for this reservoir.",
217*f2a8e57eSGunnar Mills                    "readonly": true,
218*f2a8e57eSGunnar Mills                    "type": [
219*f2a8e57eSGunnar Mills                        "string",
220*f2a8e57eSGunnar Mills                        "null"
221*f2a8e57eSGunnar Mills                    ]
222*f2a8e57eSGunnar Mills                },
223*f2a8e57eSGunnar Mills                "PhysicalContext": {
224*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext",
225*f2a8e57eSGunnar Mills                    "description": "The area or device associated with this reservoir.",
226*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a description of the affected device or region within the chassis with which this reservoir is associated.",
227*f2a8e57eSGunnar Mills                    "readonly": true
228*f2a8e57eSGunnar Mills                },
229*f2a8e57eSGunnar Mills                "ReservoirType": {
230*f2a8e57eSGunnar Mills                    "anyOf": [
231*f2a8e57eSGunnar Mills                        {
232*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/ReservoirType"
233*f2a8e57eSGunnar Mills                        },
234*f2a8e57eSGunnar Mills                        {
235*f2a8e57eSGunnar Mills                            "type": "null"
236*f2a8e57eSGunnar Mills                        }
237*f2a8e57eSGunnar Mills                    ],
238*f2a8e57eSGunnar Mills                    "description": "The type of reservoir.",
239*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the type of reservoir represented by this resource.",
240*f2a8e57eSGunnar Mills                    "readonly": true
241*f2a8e57eSGunnar Mills                },
242*f2a8e57eSGunnar Mills                "SerialNumber": {
243*f2a8e57eSGunnar Mills                    "description": "The serial number for this reservoir.",
244*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the serial number as defined by the manufacturer for this reservoir.",
245*f2a8e57eSGunnar Mills                    "readonly": true,
246*f2a8e57eSGunnar Mills                    "type": [
247*f2a8e57eSGunnar Mills                        "string",
248*f2a8e57eSGunnar Mills                        "null"
249*f2a8e57eSGunnar Mills                    ]
250*f2a8e57eSGunnar Mills                },
251*f2a8e57eSGunnar Mills                "SparePartNumber": {
252*f2a8e57eSGunnar Mills                    "description": "The spare part number for this reservoir.",
253*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the spare or replacement part number as defined by the manufacturer for this reservoir.",
254*f2a8e57eSGunnar Mills                    "readonly": true,
255*f2a8e57eSGunnar Mills                    "type": [
256*f2a8e57eSGunnar Mills                        "string",
257*f2a8e57eSGunnar Mills                        "null"
258*f2a8e57eSGunnar Mills                    ]
259*f2a8e57eSGunnar Mills                },
260*f2a8e57eSGunnar Mills                "Status": {
261*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
262*f2a8e57eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
263*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
264*f2a8e57eSGunnar Mills                },
265*f2a8e57eSGunnar Mills                "UserLabel": {
266*f2a8e57eSGunnar Mills                    "description": "A user-assigned label.",
267*f2a8e57eSGunnar 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.",
268*f2a8e57eSGunnar Mills                    "readonly": false,
269*f2a8e57eSGunnar Mills                    "type": "string"
270*f2a8e57eSGunnar Mills                }
271*f2a8e57eSGunnar Mills            },
272*f2a8e57eSGunnar Mills            "required": [
273*f2a8e57eSGunnar Mills                "@odata.id",
274*f2a8e57eSGunnar Mills                "@odata.type",
275*f2a8e57eSGunnar Mills                "Id",
276*f2a8e57eSGunnar Mills                "Name"
277*f2a8e57eSGunnar Mills            ],
278*f2a8e57eSGunnar Mills            "type": "object"
279*f2a8e57eSGunnar Mills        },
280*f2a8e57eSGunnar Mills        "ReservoirType": {
281*f2a8e57eSGunnar Mills            "enum": [
282*f2a8e57eSGunnar Mills                "Reserve",
283*f2a8e57eSGunnar Mills                "Overflow",
284*f2a8e57eSGunnar Mills                "Inline",
285*f2a8e57eSGunnar Mills                "Immersion"
286*f2a8e57eSGunnar Mills            ],
287*f2a8e57eSGunnar Mills            "enumDescriptions": {
288*f2a8e57eSGunnar Mills                "Immersion": "An immersion cooling tank.",
289*f2a8e57eSGunnar Mills                "Inline": "An inline or integrated reservoir.",
290*f2a8e57eSGunnar Mills                "Overflow": "An overflow reservoir for excess fluid.",
291*f2a8e57eSGunnar Mills                "Reserve": "A reservoir providing reserve fluid capacity."
292*f2a8e57eSGunnar Mills            },
293*f2a8e57eSGunnar Mills            "type": "string"
294*f2a8e57eSGunnar Mills        }
295*f2a8e57eSGunnar Mills    },
296*f2a8e57eSGunnar Mills    "language": "en",
297*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
298*f2a8e57eSGunnar Mills    "release": "2023.1",
299*f2a8e57eSGunnar Mills    "title": "#Reservoir.v1_0_2.Reservoir"
300*f2a8e57eSGunnar Mills}