1# This JSON is tied with BMC's PDRs. Each entry is used to identify a group of
2# composite sensors.
3{
4  "sensorPDRs": [
5    {
6      # StateSensorPDR
7      # Each sensor in each group of composite sensors has a separate entry and the
8      # supported event states, up to eight.
9      # The "dbus" section contains information about the corresponding D-Bus
10      # property for the sensor and "property_values" are the D-Bus property values
11      # for each corresponding entry in the "states".
12      "pdrType": 4,
13      "entries": [
14        {
15          "type": 5,
16          "instance": 0,
17          "container": 0,
18          "sensors": [
19            {
20              "set": {
21                "id": 1,
22                "size": 1,
23                "states": [
24                  0,
25                  5
26                ]
27              },
28              "dbus": {
29                "path": "/foo/bar",
30                "interface": "xyz.openbmc_project.Foo.Bar",
31                "property_name": "propertyName",
32                "property_type": "string",
33                "property_values": [
34                  "xyz.openbmc_project.Foo.Bar.V0",
35                  "xyz.openbmc_project.Foo.Bar.V5"
36                ]
37              }
38            },
39            {
40              "set": {
41                "id": 2,
42                "size": 1,
43                "states": [
44                  2,
45                  3
46                ]
47              },
48              "dbus": {
49                "path": "/foo/bar",
50                "interface": "xyz.openbmc_project.Foo.Bar",
51                "property_name": "propertyName",
52                "property_type": "string",
53                "property_values": [
54                  "xyz.openbmc_project.Foo.Bar.V2",
55                  "xyz.openbmc_project.Foo.Bar.V3"
56                ]
57              }
58            }
59          ]
60        }
61      ]
62    }
63  ]
64}