1{
2   "fans": [
3      {
4         "inventory": "/system/chassis/motherboard/fan0",
5         "functional_delay": 5,
6         "allowed_out_of_range_time": 30,
7         "deviation": 15,
8         "num_sensors_nonfunc_for_fan_nonfunc": 1,
9         "monitor_start_delay": 20,
10         "sensors": [
11            {
12               "name": "fan0_0",
13               "has_target": true
14            },
15            {
16               "name": "fan0_1",
17               "has_target": false
18            }
19         ]
20      },
21      {
22         "inventory": "/system/chassis/motherboard/fan1",
23         "functional_delay": 5,
24         "allowed_out_of_range_time": 30,
25         "deviation": 15,
26         "num_sensors_nonfunc_for_fan_nonfunc": 1,
27         "monitor_start_delay": 20,
28         "sensors": [
29            {
30               "name": "fan1_0",
31               "has_target": true
32            },
33            {
34               "name": "fan1_1",
35               "has_target": false
36            }
37         ],
38         "condition": {
39            "name": "propertiesMatch",
40            "properties": [
41               {
42                  "object": "/xyz/openbmc_project/inventory/system/chassis",
43                  "interface": "xyz.openbmc_project.Inventory.Decorator.CoolingType",
44                  "property": {
45                     "name": "WaterCooled",
46                     "type": "bool",
47                     "value": false
48                  }
49               }
50            ]
51         }
52      },
53      {
54         "inventory": "/system/chassis/motherboard/fan2",
55         "functional_delay": 5,
56         "allowed_out_of_range_time": 30,
57         "deviation": 15,
58         "num_sensors_nonfunc_for_fan_nonfunc": 1,
59         "monitor_start_delay": 20,
60         "sensors": [
61            {
62               "name": "fan2_0",
63               "has_target": true
64            },
65            {
66               "name": "fan2_1",
67               "has_target": false
68            }
69         ]
70      },
71      {
72         "inventory": "/system/chassis/motherboard/fan3",
73         "functional_delay": 5,
74         "allowed_out_of_range_time": 30,
75         "deviation": 15,
76         "num_sensors_nonfunc_for_fan_nonfunc": 1,
77         "monitor_start_delay": 20,
78         "sensors": [
79            {
80               "name": "fan3_0",
81               "has_target": true
82            },
83            {
84               "name": "fan3_1",
85               "has_target": false
86            }
87         ]
88      }
89   ],
90   "sensor_trust_groups": [
91      {
92         "class": "NonzeroSpeed",
93         "group": [
94            {
95               "name": "fan0_1"
96            },
97            {
98               "name": "fan1_1"
99            },
100            {
101               "name": "fan2_1"
102            },
103            {
104               "name": "fan3_1"
105            },
106            {
107               "name": "fan0_0",
108               "in_trust": false
109            },
110            {
111               "name": "fan1_0",
112               "in_trust": false
113            },
114            {
115               "name": "fan2_0",
116               "in_trust": false
117            },
118            {
119               "name": "fan3_0",
120               "in_trust": false
121            }
122         ]
123      }
124   ]
125}
126