xref: /openbmc/bmcweb/redfish-core/include/registries/environmental_message_registry.hpp (revision 0bce6a9516a120d86488d4243f95dae94be447c6)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 #pragma once
4 /****************************************************************
5  *                 READ THIS WARNING FIRST
6  * This is an auto-generated header which contains definitions
7  * for Redfish DMTF defined messages.
8  * DO NOT modify this registry outside of running the
9  * parse_registries.py script.  The definitions contained within
10  * this file are owned by DMTF.  Any modifications to these files
11  * should be first pushed to the relevant registry in the DMTF
12  * github organization.
13  ***************************************************************/
14 #include "registries.hpp"
15 
16 #include <array>
17 
18 // clang-format off
19 
20 namespace redfish::registries::environmental
21 {
22 const Header header = {
23     "Copyright 2024 DMTF. All rights reserved.",
24     "#MessageRegistry.v1_6_2.MessageRegistry",
25     1,
26     1,
27     0,
28     "Environmental Message Registry",
29     "en",
30     "This registry defines messages related to environmental sensors, heating and cooling equipment, or other environmental conditions.",
31     "Environmental",
32     "DMTF",
33 };
34 constexpr const char* url =
35     "https://redfish.dmtf.org/registries/Environmental.1.1.0.json";
36 
37 constexpr std::array registry =
38 {
39     MessageEntry{
40         "FanFailed",
41         {
42             "Indicates that a fan has failed.",
43             "Fan '%1' has failed.",
44             "Warning",
45             1,
46             {
47                 "string",
48             },
49             "Check the fan hardware and replace any faulty component.",
50         }},
51     MessageEntry{
52         "FanGroupCritical",
53         {
54             "Indicates that a fan group has a critical status.",
55             "Fan group '%1' is in a critical state.",
56             "Critical",
57             1,
58             {
59                 "string",
60             },
61             "None.",
62         }},
63     MessageEntry{
64         "FanGroupNormal",
65         {
66             "Indicates that a fan group has returned to normal operations.",
67             "Fan group '%1' is operating normally.",
68             "OK",
69             1,
70             {
71                 "string",
72             },
73             "None.",
74         }},
75     MessageEntry{
76         "FanGroupWarning",
77         {
78             "Indicates that a fan group has a warning status.",
79             "Fan group '%1' is in a warning state.",
80             "Warning",
81             1,
82             {
83                 "string",
84             },
85             "None.",
86         }},
87     MessageEntry{
88         "FanInserted",
89         {
90             "Indicates that a fan was inserted or installed.",
91             "Fan '%1' was inserted.",
92             "OK",
93             1,
94             {
95                 "string",
96             },
97             "None.",
98         }},
99     MessageEntry{
100         "FanRemoved",
101         {
102             "Indicates that a fan was removed.",
103             "Fan '%1' was removed.",
104             "OK",
105             1,
106             {
107                 "string",
108             },
109             "None.",
110         }},
111     MessageEntry{
112         "FanRestored",
113         {
114             "Indicates that a fan was repaired or restored to normal operation.",
115             "Fan '%1' was restored.",
116             "OK",
117             1,
118             {
119                 "string",
120             },
121             "None.",
122         }},
123     MessageEntry{
124         "FilterInserted",
125         {
126             "Indicates that a filter was inserted or installed.",
127             "Filter '%1' was inserted.",
128             "OK",
129             1,
130             {
131                 "string",
132             },
133             "None.",
134         }},
135     MessageEntry{
136         "FilterRemoved",
137         {
138             "Indicates that a filter was removed.",
139             "Filter '%1' was removed.",
140             "OK",
141             1,
142             {
143                 "string",
144             },
145             "None.",
146         }},
147     MessageEntry{
148         "FilterRequiresService",
149         {
150             "Indicates that a filter requires service.",
151             "Filter '%1' requires service.",
152             "Warning",
153             1,
154             {
155                 "string",
156             },
157             "Replace the filter or filter media.",
158         }},
159     MessageEntry{
160         "FilterRestored",
161         {
162             "Indicates that a filter was repaired or restored to normal operation.",
163             "Filter '%1' was restored.",
164             "OK",
165             1,
166             {
167                 "string",
168             },
169             "None.",
170         }},
171     MessageEntry{
172         "FlowRateAboveLowerCriticalThreshold",
173         {
174             "Indicates that a flow rate reading is no longer below the lower critical threshold but is still outside of normal operating range.",
175             "Flow rate '%1' reading of %2 L/min is now above the %3 lower critical threshold but remains outside of normal range.",
176             "Warning",
177             3,
178             {
179                 "string",
180                 "number",
181                 "number",
182             },
183             "Check the condition of the resource listed in OriginOfCondition.",
184         }},
185     MessageEntry{
186         "FlowRateAboveLowerFatalThreshold",
187         {
188             "Indicates that a flow rate reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
189             "Flow rate '%1' reading of %2 L/min is now above the %3 lower fatal threshold but remains outside of normal range.",
190             "Critical",
191             3,
192             {
193                 "string",
194                 "number",
195                 "number",
196             },
197             "Check the condition of the resource listed in OriginOfCondition.",
198         }},
199     MessageEntry{
200         "FlowRateAboveUpperCautionThreshold",
201         {
202             "Indicates that a flow rate reading is above the upper caution threshold.",
203             "Flow rate '%1' reading of %2 L/min is above the %3 upper caution threshold.",
204             "Warning",
205             3,
206             {
207                 "string",
208                 "number",
209                 "number",
210             },
211             "Check the condition of the resource listed in OriginOfCondition.",
212         }},
213     MessageEntry{
214         "FlowRateAboveUpperCriticalThreshold",
215         {
216             "Indicates that a flow rate reading is above the upper critical threshold.",
217             "Flow rate '%1' reading of %2 L/min is above the %3 upper critical threshold.",
218             "Critical",
219             3,
220             {
221                 "string",
222                 "number",
223                 "number",
224             },
225             "Check the condition of the resource listed in OriginOfCondition.",
226         }},
227     MessageEntry{
228         "FlowRateAboveUpperFatalThreshold",
229         {
230             "Indicates that a flow rate reading is above the upper fatal threshold.",
231             "Flow rate '%1' reading of %2 L/min is above the %3 upper fatal threshold.",
232             "Critical",
233             3,
234             {
235                 "string",
236                 "number",
237                 "number",
238             },
239             "Check the condition of the resource listed in OriginOfCondition.",
240         }},
241     MessageEntry{
242         "FlowRateBelowLowerCautionThreshold",
243         {
244             "Indicates that a flow rate reading is below the lower caution threshold.",
245             "Flow rate '%1' reading of %2 L/min is below the %3 lower caution threshold.",
246             "Warning",
247             3,
248             {
249                 "string",
250                 "number",
251                 "number",
252             },
253             "Check the condition of the resource listed in OriginOfCondition.",
254         }},
255     MessageEntry{
256         "FlowRateBelowLowerCriticalThreshold",
257         {
258             "Indicates that a flow rate reading is below the lower critical threshold.",
259             "Flow rate '%1' reading of %2 L/min is below the %3 lower critical threshold.",
260             "Critical",
261             3,
262             {
263                 "string",
264                 "number",
265                 "number",
266             },
267             "Check the condition of the resource listed in OriginOfCondition.",
268         }},
269     MessageEntry{
270         "FlowRateBelowLowerFatalThreshold",
271         {
272             "Indicates that a flow rate reading is below the lower fatal threshold.",
273             "Flow rate '%1' reading of %2 L/min is below the %3 lower fatal threshold.",
274             "Critical",
275             3,
276             {
277                 "string",
278                 "number",
279                 "number",
280             },
281             "Check the condition of the resource listed in OriginOfCondition.",
282         }},
283     MessageEntry{
284         "FlowRateBelowUpperCriticalThreshold",
285         {
286             "Indicates that a flow rate reading is no longer above the upper critical threshold but is still outside of normal operating range.",
287             "Flow rate '%1' reading of %2 L/min is now below the %3 upper critical threshold but remains outside of normal range.",
288             "Warning",
289             3,
290             {
291                 "string",
292                 "number",
293                 "number",
294             },
295             "Check the condition of the resource listed in OriginOfCondition.",
296         }},
297     MessageEntry{
298         "FlowRateBelowUpperFatalThreshold",
299         {
300             "Indicates that a flow rate reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
301             "Flow rate '%1' reading of %2 L/min is now below the %3 upper fatal threshold but remains outside of normal range.",
302             "Critical",
303             3,
304             {
305                 "string",
306                 "number",
307                 "number",
308             },
309             "Check the condition of the resource listed in OriginOfCondition.",
310         }},
311     MessageEntry{
312         "FlowRateCritical",
313         {
314             "Indicates that a flow rate reading exceeds an internal critical level.",
315             "Flow rate '%1' reading of %2 L/min exceeds the critical level.",
316             "Critical",
317             2,
318             {
319                 "string",
320                 "number",
321             },
322             "Check the condition of the resource listed in OriginOfCondition.",
323         }},
324     MessageEntry{
325         "FlowRateFatal",
326         {
327             "Indicates that a flow rate reading exceeds an internal fatal level or flow rate reading is zero (0).",
328             "Flow rate '%1' reading of %2 L/min exceeds the fatal level.",
329             "Critical",
330             2,
331             {
332                 "string",
333                 "number",
334             },
335             "Check the condition of the resource listed in OriginOfCondition.",
336         }},
337     MessageEntry{
338         "FlowRateNoLongerCritical",
339         {
340             "Indicates that a flow rate reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
341             "Flow rate '%1' reading of %2 L/min no longer exceeds the critical level.",
342             "Warning",
343             2,
344             {
345                 "string",
346                 "number",
347             },
348             "Check the condition of the resource listed in OriginOfCondition.",
349         }},
350     MessageEntry{
351         "FlowRateNoLongerFatal",
352         {
353             "Indicates that a flow rate reading is no longer exceeds an internal fatal level but is still exceeds an internal critical level.",
354             "Flow rate '%1' reading of %2 L/min no longer exceeds the fatal level.",
355             "Critical",
356             2,
357             {
358                 "string",
359                 "number",
360             },
361             "Check the condition of the resource listed in OriginOfCondition.",
362         }},
363     MessageEntry{
364         "FlowRateNormal",
365         {
366             "Indicates that a flow rate reading is now within normal operating range.",
367             "Flow rate '%1' reading of %2 L/min is within normal operating range.",
368             "OK",
369             2,
370             {
371                 "string",
372                 "number",
373             },
374             "None.",
375         }},
376     MessageEntry{
377         "FlowRateWarning",
378         {
379             "Indicates that a flow rate reading exceeds an internal warning level.",
380             "Flow rate '%1' reading of %2 L/min exceeds the warning level.",
381             "Warning",
382             2,
383             {
384                 "string",
385                 "number",
386             },
387             "Check the condition of the resource listed in OriginOfCondition.",
388         }},
389     MessageEntry{
390         "FluidLevelAboveLowerCriticalThreshold",
391         {
392             "Indicates that a fluid level reading is no longer below the lower critical threshold but is still outside of normal operating range.",
393             "Fluid level '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.",
394             "Warning",
395             3,
396             {
397                 "string",
398                 "number",
399                 "number",
400             },
401             "Check the condition of the resource listed in OriginOfCondition.",
402         }},
403     MessageEntry{
404         "FluidLevelAboveLowerFatalThreshold",
405         {
406             "Indicates that a fluid level reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
407             "Fluid level '%1' reading of %2 percent is now above the %3 lower fatal threshold but remains outside of normal range.",
408             "Critical",
409             3,
410             {
411                 "string",
412                 "number",
413                 "number",
414             },
415             "Check the condition of the resource listed in OriginOfCondition.",
416         }},
417     MessageEntry{
418         "FluidLevelAboveUpperCautionThreshold",
419         {
420             "Indicates that a fluid level reading is above the upper caution threshold.",
421             "Fluid level '%1' reading of %2 percent is above the %3 upper caution threshold.",
422             "Warning",
423             3,
424             {
425                 "string",
426                 "number",
427                 "number",
428             },
429             "Check the condition of the resource listed in OriginOfCondition.",
430         }},
431     MessageEntry{
432         "FluidLevelAboveUpperCriticalThreshold",
433         {
434             "Indicates that a fluid level reading is above the upper critical threshold.",
435             "Fluid level '%1' reading of %2 percent is above the %3 upper critical threshold.",
436             "Critical",
437             3,
438             {
439                 "string",
440                 "number",
441                 "number",
442             },
443             "Check the condition of the resource listed in OriginOfCondition.",
444         }},
445     MessageEntry{
446         "FluidLevelAboveUpperFatalThreshold",
447         {
448             "Indicates that a fluid level reading is above the upper fatal threshold.",
449             "Fluid level '%1' reading of %2 percent is above the %3 upper fatal threshold.",
450             "Critical",
451             3,
452             {
453                 "string",
454                 "number",
455                 "number",
456             },
457             "Check the condition of the resource listed in OriginOfCondition.",
458         }},
459     MessageEntry{
460         "FluidLevelBelowLowerCautionThreshold",
461         {
462             "Indicates that a fluid level reading is below the lower caution threshold.",
463             "Fluid level '%1' reading of %2 percent is below the %3 lower caution threshold.",
464             "Warning",
465             3,
466             {
467                 "string",
468                 "number",
469                 "number",
470             },
471             "Check the condition of the resource listed in OriginOfCondition.",
472         }},
473     MessageEntry{
474         "FluidLevelBelowLowerCriticalThreshold",
475         {
476             "Indicates that a fluid level reading is below the lower critical threshold.",
477             "Fluid level '%1' reading of %2 percent is below the %3 lower critical threshold.",
478             "Critical",
479             3,
480             {
481                 "string",
482                 "number",
483                 "number",
484             },
485             "Check the condition of the resource listed in OriginOfCondition.",
486         }},
487     MessageEntry{
488         "FluidLevelBelowLowerFatalThreshold",
489         {
490             "Indicates that a fluid level reading is below the lower fatal threshold.",
491             "Fluid level '%1' reading of %2 percent is below the %3 lower fatal threshold.",
492             "Critical",
493             3,
494             {
495                 "string",
496                 "number",
497                 "number",
498             },
499             "Check the condition of the resource listed in OriginOfCondition.",
500         }},
501     MessageEntry{
502         "FluidLevelBelowUpperCriticalThreshold",
503         {
504             "Indicates that a fluid level reading is no longer above the upper critical threshold but is still outside of normal operating range.",
505             "Fluid level '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.",
506             "Warning",
507             3,
508             {
509                 "string",
510                 "number",
511                 "number",
512             },
513             "Check the condition of the resource listed in OriginOfCondition.",
514         }},
515     MessageEntry{
516         "FluidLevelBelowUpperFatalThreshold",
517         {
518             "Indicates that a fluid level reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
519             "Fluid level '%1' reading of %2 percent is now below the %3 upper fatal threshold but remains outside of normal range.",
520             "Critical",
521             3,
522             {
523                 "string",
524                 "number",
525                 "number",
526             },
527             "Check the condition of the resource listed in OriginOfCondition.",
528         }},
529     MessageEntry{
530         "FluidLevelCritical",
531         {
532             "Indicates that a fluid level reading violates an internal critical level.",
533             "Fluid level '%1' reading violates the critical level.",
534             "Critical",
535             1,
536             {
537                 "string",
538             },
539             "Check the condition of the resource listed in OriginOfCondition.",
540         }},
541     MessageEntry{
542         "FluidLevelNoLongerCritical",
543         {
544             "Indicates that a fluid level reading no longer violates an internal critical level but still violates an internal warning level.",
545             "Fluid level '%1' reading no longer violates the critical level.",
546             "Warning",
547             1,
548             {
549                 "string",
550             },
551             "Check the condition of the resource listed in OriginOfCondition.",
552         }},
553     MessageEntry{
554         "FluidLevelNormal",
555         {
556             "Indicates that a fluid level reading is now within normal operating range.",
557             "Fluid level '%1' reading is within normal operating range.",
558             "OK",
559             1,
560             {
561                 "string",
562             },
563             "None.",
564         }},
565     MessageEntry{
566         "FluidLevelWarning",
567         {
568             "Indicates that a fluid level reading violates an internal warning level.",
569             "Fluid level '%1' reading violates the warning level.",
570             "Warning",
571             1,
572             {
573                 "string",
574             },
575             "Check the condition of the resource listed in OriginOfCondition.",
576         }},
577     MessageEntry{
578         "FluidQualityCritical",
579         {
580             "Indicates that a fluid quality reading exceeds an internal critical level.",
581             "Fluid quality '%1' reading exceeds the critical level.",
582             "Critical",
583             1,
584             {
585                 "string",
586             },
587             "Check the condition of the resource listed in OriginOfCondition.",
588         }},
589     MessageEntry{
590         "FluidQualityNoLongerCritical",
591         {
592             "Indicates that a fluid quality reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
593             "Fluid quality '%1' reading no longer exceeds the critical level.",
594             "Warning",
595             1,
596             {
597                 "string",
598             },
599             "Check the condition of the resource listed in OriginOfCondition.",
600         }},
601     MessageEntry{
602         "FluidQualityNormal",
603         {
604             "Indicates that a fluid quality reading is now within normal operating range.",
605             "Fluid quality '%1' reading is within normal operating range.",
606             "OK",
607             1,
608             {
609                 "string",
610             },
611             "None.",
612         }},
613     MessageEntry{
614         "FluidQualityWarning",
615         {
616             "Indicates that a fluid quality reading exceeds an internal warning level.",
617             "Fluid quality '%1' reading exceeds the warning level.",
618             "Warning",
619             1,
620             {
621                 "string",
622             },
623             "Check the condition of the resource listed in OriginOfCondition.",
624         }},
625     MessageEntry{
626         "HumidityAboveLowerCriticalThreshold",
627         {
628             "Indicates that a humidity reading is no longer below the lower critical threshold but is still outside of normal operating range.",
629             "Humidity '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.",
630             "Warning",
631             3,
632             {
633                 "string",
634                 "number",
635                 "number",
636             },
637             "Check the condition of the resource listed in OriginOfCondition.",
638         }},
639     MessageEntry{
640         "HumidityAboveUpperCautionThreshold",
641         {
642             "Indicates that a humidity reading is above the upper caution threshold.",
643             "Humidity '%1' reading of %2 percent is above the %3 upper caution threshold.",
644             "Warning",
645             3,
646             {
647                 "string",
648                 "number",
649                 "number",
650             },
651             "Check the condition of the resource listed in OriginOfCondition.",
652         }},
653     MessageEntry{
654         "HumidityAboveUpperCriticalThreshold",
655         {
656             "Indicates that a humidity reading is above the upper critical threshold.",
657             "Humidity '%1' reading of %2 percent is above the %3 upper critical threshold.",
658             "Critical",
659             3,
660             {
661                 "string",
662                 "number",
663                 "number",
664             },
665             "Check the condition of the resource listed in OriginOfCondition.",
666         }},
667     MessageEntry{
668         "HumidityBelowLowerCautionThreshold",
669         {
670             "Indicates that a humidity reading is below the lower caution threshold.",
671             "Humidity '%1' reading of %2 percent is below the %3 lower caution threshold.",
672             "Warning",
673             3,
674             {
675                 "string",
676                 "number",
677                 "number",
678             },
679             "Check the condition of the resource listed in OriginOfCondition.",
680         }},
681     MessageEntry{
682         "HumidityBelowLowerCriticalThreshold",
683         {
684             "Indicates that a humidity reading is below the lower critical threshold.",
685             "Humidity '%1' reading of %2 percent is below the %3 lower critical threshold.",
686             "Critical",
687             3,
688             {
689                 "string",
690                 "number",
691                 "number",
692             },
693             "Check the condition of the resource listed in OriginOfCondition.",
694         }},
695     MessageEntry{
696         "HumidityBelowUpperCriticalThreshold",
697         {
698             "Indicates that a humidity reading is no longer above the upper critical threshold but is still outside of normal operating range.",
699             "Humidity '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.",
700             "Warning",
701             3,
702             {
703                 "string",
704                 "number",
705                 "number",
706             },
707             "Check the condition of the resource listed in OriginOfCondition.",
708         }},
709     MessageEntry{
710         "HumidityNormal",
711         {
712             "Indicates that a humidity reading is now within normal operating range.",
713             "Humidity '%1' reading of %2 percent is within normal operating range.",
714             "OK",
715             2,
716             {
717                 "string",
718                 "number",
719             },
720             "None.",
721         }},
722     MessageEntry{
723         "LeakDetectedCritical",
724         {
725             "Indicates that a leak detector is in a critical state.",
726             "Leak detector '%1' reports a critical level leak.",
727             "Critical",
728             1,
729             {
730                 "string",
731             },
732             "Check the condition of the resource listed in OriginOfCondition.",
733         }},
734     MessageEntry{
735         "LeakDetectedNormal",
736         {
737             "Indicates that a leak detector is within normal operating range.",
738             "Leak detector '%1' has returned to normal.",
739             "OK",
740             1,
741             {
742                 "string",
743             },
744             "None.",
745         }},
746     MessageEntry{
747         "LeakDetectedWarning",
748         {
749             "Indicates that a leak detector is in a warning state.",
750             "Leak detector '%1' reports a warning level leak.",
751             "Warning",
752             1,
753             {
754                 "string",
755             },
756             "Check the condition of the resource listed in OriginOfCondition.",
757         }},
758     MessageEntry{
759         "PressureAboveLowerCriticalThreshold",
760         {
761             "Indicates that a pressure reading is no longer below the lower critical threshold but is still outside of normal operating range.",
762             "Pressure '%1' reading of %2 kPa is now above the %3 lower critical threshold but remains outside of normal range.",
763             "Warning",
764             3,
765             {
766                 "string",
767                 "number",
768                 "number",
769             },
770             "Check the condition of the resource listed in OriginOfCondition.",
771         }},
772     MessageEntry{
773         "PressureAboveLowerFatalThreshold",
774         {
775             "Indicates that a pressure reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
776             "Pressure '%1' reading of %2 kPa is now above the %3 lower fatal threshold but remains outside of normal range.",
777             "Critical",
778             3,
779             {
780                 "string",
781                 "number",
782                 "number",
783             },
784             "Check the condition of the resource listed in OriginOfCondition.",
785         }},
786     MessageEntry{
787         "PressureAboveUpperCautionThreshold",
788         {
789             "Indicates that a pressure reading is above the upper caution threshold.",
790             "Pressure '%1' reading of %2 kPa is above the %3 upper caution threshold.",
791             "Warning",
792             3,
793             {
794                 "string",
795                 "number",
796                 "number",
797             },
798             "Check the condition of the resource listed in OriginOfCondition.",
799         }},
800     MessageEntry{
801         "PressureAboveUpperCriticalThreshold",
802         {
803             "Indicates that a pressure reading is above the upper critical threshold.",
804             "Pressure '%1' reading of %2 kPa is above the %3 upper critical threshold.",
805             "Critical",
806             3,
807             {
808                 "string",
809                 "number",
810                 "number",
811             },
812             "Check the condition of the resource listed in OriginOfCondition.",
813         }},
814     MessageEntry{
815         "PressureAboveUpperFatalThreshold",
816         {
817             "Indicates that a pressure reading is above the upper fatal threshold.",
818             "Pressure '%1' reading of %2 kPa is above the %3 upper fatal threshold.",
819             "Critical",
820             3,
821             {
822                 "string",
823                 "number",
824                 "number",
825             },
826             "Check the condition of the resource listed in OriginOfCondition.",
827         }},
828     MessageEntry{
829         "PressureBelowLowerCautionThreshold",
830         {
831             "Indicates that a pressure reading is below the lower caution threshold.",
832             "Pressure '%1' reading of %2 kPa is below the %3 lower caution threshold.",
833             "Warning",
834             3,
835             {
836                 "string",
837                 "number",
838                 "number",
839             },
840             "Check the condition of the resource listed in OriginOfCondition.",
841         }},
842     MessageEntry{
843         "PressureBelowLowerCriticalThreshold",
844         {
845             "Indicates that a pressure reading is below the lower critical threshold.",
846             "Pressure '%1' reading of %2 kPa is below the %3 lower critical threshold.",
847             "Critical",
848             3,
849             {
850                 "string",
851                 "number",
852                 "number",
853             },
854             "Check the condition of the resource listed in OriginOfCondition.",
855         }},
856     MessageEntry{
857         "PressureBelowLowerFatalThreshold",
858         {
859             "Indicates that a pressure reading is below the lower fatal threshold.",
860             "Pressure '%1' reading of %2 kPa is below the %3 lower fatal threshold.",
861             "Critical",
862             3,
863             {
864                 "string",
865                 "number",
866                 "number",
867             },
868             "Check the condition of the resource listed in OriginOfCondition.",
869         }},
870     MessageEntry{
871         "PressureBelowUpperCriticalThreshold",
872         {
873             "Indicates that a pressure reading is no longer above the upper critical threshold but is still outside of normal operating range.",
874             "Pressure '%1' reading of %2 kPa is now below the %3 upper critical threshold but remains outside of normal range.",
875             "Warning",
876             3,
877             {
878                 "string",
879                 "number",
880                 "number",
881             },
882             "Check the condition of the resource listed in OriginOfCondition.",
883         }},
884     MessageEntry{
885         "PressureBelowUpperFatalThreshold",
886         {
887             "Indicates that a pressure reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
888             "Pressure '%1' reading of %2 kPa is now below the %3 upper fatal threshold but remains outside of normal range.",
889             "Critical",
890             3,
891             {
892                 "string",
893                 "number",
894                 "number",
895             },
896             "Check the condition of the resource listed in OriginOfCondition.",
897         }},
898     MessageEntry{
899         "PressureCritical",
900         {
901             "Indicates that a pressure reading exceeds an internal critical level.",
902             "Pressure '%1' reading of %2 kPa exceeds the critical level.",
903             "Critical",
904             2,
905             {
906                 "string",
907                 "number",
908             },
909             "Check the condition of the resource listed in OriginOfCondition.",
910         }},
911     MessageEntry{
912         "PressureNoLongerCritical",
913         {
914             "Indicates that a pressure reading no longer violates an internal critical level but still violates an internal warning level.",
915             "Pressure '%1' reading of %2 kPa no longer violates the critical level.",
916             "Warning",
917             2,
918             {
919                 "string",
920                 "number",
921             },
922             "Check the condition of the resource listed in OriginOfCondition.",
923         }},
924     MessageEntry{
925         "PressureNormal",
926         {
927             "Indicates that a pressure reading is now within normal operating range.",
928             "Pressure '%1' reading of %2 kPa is within normal operating range.",
929             "OK",
930             2,
931             {
932                 "string",
933                 "number",
934             },
935             "None.",
936         }},
937     MessageEntry{
938         "PressureWarning",
939         {
940             "Indicates that a pressure reading exceeds an internal warning level.",
941             "Pressure '%1' reading of %2 kPa exceeds the warning level.",
942             "Warning",
943             2,
944             {
945                 "string",
946                 "number",
947             },
948             "Check the condition of the resource listed in OriginOfCondition.",
949         }},
950     MessageEntry{
951         "PumpFailed",
952         {
953             "Indicates that a pump has failed.",
954             "Pump '%1' has failed.",
955             "Warning",
956             1,
957             {
958                 "string",
959             },
960             "Check the pump hardware and replace any faulty component.",
961         }},
962     MessageEntry{
963         "PumpInserted",
964         {
965             "Indicates that a pump was inserted or installed.",
966             "Pump '%1' was inserted.",
967             "OK",
968             1,
969             {
970                 "string",
971             },
972             "None.",
973         }},
974     MessageEntry{
975         "PumpRemoved",
976         {
977             "Indicates that a pump was removed.",
978             "Pump '%1' was removed.",
979             "OK",
980             1,
981             {
982                 "string",
983             },
984             "None.",
985         }},
986     MessageEntry{
987         "PumpRestored",
988         {
989             "Indicates that a pump was repaired or restored to normal operation.",
990             "Pump '%1' was restored.",
991             "OK",
992             1,
993             {
994                 "string",
995             },
996             "None.",
997         }},
998     MessageEntry{
999         "TemperatureAboveLowerCriticalThreshold",
1000         {
1001             "Indicates that a temperature reading is no longer below the lower critical threshold but is still outside of normal operating range.",
1002             "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower critical threshold but remains outside of normal range.",
1003             "Warning",
1004             3,
1005             {
1006                 "string",
1007                 "number",
1008                 "number",
1009             },
1010             "Check the condition of the resource listed in OriginOfCondition.",
1011         }},
1012     MessageEntry{
1013         "TemperatureAboveLowerFatalThreshold",
1014         {
1015             "Indicates that a temperature reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
1016             "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower fatal threshold but remains outside of normal range.",
1017             "Critical",
1018             3,
1019             {
1020                 "string",
1021                 "number",
1022                 "number",
1023             },
1024             "Check the condition of the resource listed in OriginOfCondition.",
1025         }},
1026     MessageEntry{
1027         "TemperatureAboveUpperCautionThreshold",
1028         {
1029             "Indicates that a temperature reading is above the upper caution threshold.",
1030             "Temperature '%1' reading of %2 degrees (C) is above the %3 upper caution threshold.",
1031             "Warning",
1032             3,
1033             {
1034                 "string",
1035                 "number",
1036                 "number",
1037             },
1038             "Check the condition of the resource listed in OriginOfCondition.",
1039         }},
1040     MessageEntry{
1041         "TemperatureAboveUpperCriticalThreshold",
1042         {
1043             "Indicates that a temperature reading is above the upper critical threshold.",
1044             "Temperature '%1' reading of %2 degrees (C) is above the %3 upper critical threshold.",
1045             "Critical",
1046             3,
1047             {
1048                 "string",
1049                 "number",
1050                 "number",
1051             },
1052             "Check the condition of the resource listed in OriginOfCondition.",
1053         }},
1054     MessageEntry{
1055         "TemperatureAboveUpperFatalThreshold",
1056         {
1057             "Indicates that a temperature reading is above the upper fatal threshold.",
1058             "Temperature '%1' reading of %2 degrees (C) is above the %3 upper fatal threshold.",
1059             "Critical",
1060             3,
1061             {
1062                 "string",
1063                 "number",
1064                 "number",
1065             },
1066             "Check the condition of the resource listed in OriginOfCondition.",
1067         }},
1068     MessageEntry{
1069         "TemperatureBelowLowerCautionThreshold",
1070         {
1071             "Indicates that a temperature reading is below the lower caution threshold.",
1072             "Temperature '%1' reading of %2 degrees (C) is below the %3 lower caution threshold.",
1073             "Warning",
1074             3,
1075             {
1076                 "string",
1077                 "number",
1078                 "number",
1079             },
1080             "Check the condition of the resource listed in OriginOfCondition.",
1081         }},
1082     MessageEntry{
1083         "TemperatureBelowLowerCriticalThreshold",
1084         {
1085             "Indicates that a temperature reading is below the lower critical threshold.",
1086             "Temperature '%1' reading of %2 degrees (C) is below the %3 lower critical threshold.",
1087             "Critical",
1088             3,
1089             {
1090                 "string",
1091                 "number",
1092                 "number",
1093             },
1094             "Check the condition of the resource listed in OriginOfCondition.",
1095         }},
1096     MessageEntry{
1097         "TemperatureBelowLowerFatalThreshold",
1098         {
1099             "Indicates that a temperature reading is below the lower fatal threshold.",
1100             "Temperature '%1' reading of %2 degrees (C) is below the %3 lower fatal threshold.",
1101             "Critical",
1102             3,
1103             {
1104                 "string",
1105                 "number",
1106                 "number",
1107             },
1108             "Check the condition of the resource listed in OriginOfCondition.",
1109         }},
1110     MessageEntry{
1111         "TemperatureBelowUpperCriticalThreshold",
1112         {
1113             "Indicates that a temperature reading is no longer above the upper critical threshold but is still outside of normal operating range.",
1114             "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper critical threshold but remains outside of normal range.",
1115             "Warning",
1116             3,
1117             {
1118                 "string",
1119                 "number",
1120                 "number",
1121             },
1122             "Check the condition of the resource listed in OriginOfCondition.",
1123         }},
1124     MessageEntry{
1125         "TemperatureBelowUpperFatalThreshold",
1126         {
1127             "Indicates that a temperature reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
1128             "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper fatal threshold but remains outside of normal range.",
1129             "Critical",
1130             3,
1131             {
1132                 "string",
1133                 "number",
1134                 "number",
1135             },
1136             "Check the condition of the resource listed in OriginOfCondition.",
1137         }},
1138     MessageEntry{
1139         "TemperatureCritical",
1140         {
1141             "Indicates that a temperature reading exceeds an internal critical level.",
1142             "Temperature '%1' reading of %2 degrees (C) exceeds the critical level.",
1143             "Critical",
1144             2,
1145             {
1146                 "string",
1147                 "number",
1148             },
1149             "Check the condition of the resource listed in OriginOfCondition.",
1150         }},
1151     MessageEntry{
1152         "TemperatureNoLongerCritical",
1153         {
1154             "Indicates that a temperature reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
1155             "Temperature '%1' reading of %2 degrees (C) no longer exceeds the critical level.",
1156             "Warning",
1157             2,
1158             {
1159                 "string",
1160                 "number",
1161             },
1162             "Check the condition of the resource listed in OriginOfCondition.",
1163         }},
1164     MessageEntry{
1165         "TemperatureNormal",
1166         {
1167             "Indicates that a temperature reading is now within normal operating range.",
1168             "Temperature '%1' reading of %2 degrees (C) is within normal operating range.",
1169             "OK",
1170             2,
1171             {
1172                 "string",
1173                 "number",
1174             },
1175             "None.",
1176         }},
1177     MessageEntry{
1178         "TemperatureWarning",
1179         {
1180             "Indicates that a temperature reading exceeds an internal warning level.",
1181             "Temperature '%1' reading of %2 degrees (C) exceeds the warning level.",
1182             "Warning",
1183             2,
1184             {
1185                 "string",
1186                 "number",
1187             },
1188             "Check the condition of the resource listed in OriginOfCondition.",
1189         }},
1190 
1191 };
1192 
1193 enum class Index
1194 {
1195     fanFailed = 0,
1196     fanGroupCritical = 1,
1197     fanGroupNormal = 2,
1198     fanGroupWarning = 3,
1199     fanInserted = 4,
1200     fanRemoved = 5,
1201     fanRestored = 6,
1202     filterInserted = 7,
1203     filterRemoved = 8,
1204     filterRequiresService = 9,
1205     filterRestored = 10,
1206     flowRateAboveLowerCriticalThreshold = 11,
1207     flowRateAboveLowerFatalThreshold = 12,
1208     flowRateAboveUpperCautionThreshold = 13,
1209     flowRateAboveUpperCriticalThreshold = 14,
1210     flowRateAboveUpperFatalThreshold = 15,
1211     flowRateBelowLowerCautionThreshold = 16,
1212     flowRateBelowLowerCriticalThreshold = 17,
1213     flowRateBelowLowerFatalThreshold = 18,
1214     flowRateBelowUpperCriticalThreshold = 19,
1215     flowRateBelowUpperFatalThreshold = 20,
1216     flowRateCritical = 21,
1217     flowRateFatal = 22,
1218     flowRateNoLongerCritical = 23,
1219     flowRateNoLongerFatal = 24,
1220     flowRateNormal = 25,
1221     flowRateWarning = 26,
1222     fluidLevelAboveLowerCriticalThreshold = 27,
1223     fluidLevelAboveLowerFatalThreshold = 28,
1224     fluidLevelAboveUpperCautionThreshold = 29,
1225     fluidLevelAboveUpperCriticalThreshold = 30,
1226     fluidLevelAboveUpperFatalThreshold = 31,
1227     fluidLevelBelowLowerCautionThreshold = 32,
1228     fluidLevelBelowLowerCriticalThreshold = 33,
1229     fluidLevelBelowLowerFatalThreshold = 34,
1230     fluidLevelBelowUpperCriticalThreshold = 35,
1231     fluidLevelBelowUpperFatalThreshold = 36,
1232     fluidLevelCritical = 37,
1233     fluidLevelNoLongerCritical = 38,
1234     fluidLevelNormal = 39,
1235     fluidLevelWarning = 40,
1236     fluidQualityCritical = 41,
1237     fluidQualityNoLongerCritical = 42,
1238     fluidQualityNormal = 43,
1239     fluidQualityWarning = 44,
1240     humidityAboveLowerCriticalThreshold = 45,
1241     humidityAboveUpperCautionThreshold = 46,
1242     humidityAboveUpperCriticalThreshold = 47,
1243     humidityBelowLowerCautionThreshold = 48,
1244     humidityBelowLowerCriticalThreshold = 49,
1245     humidityBelowUpperCriticalThreshold = 50,
1246     humidityNormal = 51,
1247     leakDetectedCritical = 52,
1248     leakDetectedNormal = 53,
1249     leakDetectedWarning = 54,
1250     pressureAboveLowerCriticalThreshold = 55,
1251     pressureAboveLowerFatalThreshold = 56,
1252     pressureAboveUpperCautionThreshold = 57,
1253     pressureAboveUpperCriticalThreshold = 58,
1254     pressureAboveUpperFatalThreshold = 59,
1255     pressureBelowLowerCautionThreshold = 60,
1256     pressureBelowLowerCriticalThreshold = 61,
1257     pressureBelowLowerFatalThreshold = 62,
1258     pressureBelowUpperCriticalThreshold = 63,
1259     pressureBelowUpperFatalThreshold = 64,
1260     pressureCritical = 65,
1261     pressureNoLongerCritical = 66,
1262     pressureNormal = 67,
1263     pressureWarning = 68,
1264     pumpFailed = 69,
1265     pumpInserted = 70,
1266     pumpRemoved = 71,
1267     pumpRestored = 72,
1268     temperatureAboveLowerCriticalThreshold = 73,
1269     temperatureAboveLowerFatalThreshold = 74,
1270     temperatureAboveUpperCautionThreshold = 75,
1271     temperatureAboveUpperCriticalThreshold = 76,
1272     temperatureAboveUpperFatalThreshold = 77,
1273     temperatureBelowLowerCautionThreshold = 78,
1274     temperatureBelowLowerCriticalThreshold = 79,
1275     temperatureBelowLowerFatalThreshold = 80,
1276     temperatureBelowUpperCriticalThreshold = 81,
1277     temperatureBelowUpperFatalThreshold = 82,
1278     temperatureCritical = 83,
1279     temperatureNoLongerCritical = 84,
1280     temperatureNormal = 85,
1281     temperatureWarning = 86,
1282 };
1283 } // namespace redfish::registries::environmental
1284