schemas: legacy: Extend PSUSensor properties

PSUSensor now supports a new sensor type named smpro_hwmon and the
sensor can report more sensors inside its sysfs. This commit extends the
properties  so the sensor can be configured in Entity-Manager with full
support for the component sensors.

Tested: on Mt.Jade platform with config "Type": "smpro_hwmon" and
necessary _Min, _Max, _Name, _Scale configs
=> The CI build passes and the sensor can be created successfully on
D-Bus.

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Ica45569eb349169efa3032267b4bfd4368e7aadd
diff --git a/schemas/legacy.json b/schemas/legacy.json
index e56e8e9..2ff537e 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -449,6 +449,24 @@
                 "iout3_Name": {
                     "$ref": "#/$defs/Types/iout3_Name"
                 },
+                "iout4_Max": {
+                    "$ref": "#/$defs/Types/iout4_Max"
+                },
+                "iout4_Min": {
+                    "$ref": "#/$defs/Types/iout4_Min"
+                },
+                "iout4_Name": {
+                    "$ref": "#/$defs/Types/iout4_Name"
+                },
+                "iout5_Max": {
+                    "$ref": "#/$defs/Types/iout5_Max"
+                },
+                "iout5_Min": {
+                    "$ref": "#/$defs/Types/iout5_Min"
+                },
+                "iout5_Name": {
+                    "$ref": "#/$defs/Types/iout5_Name"
+                },
                 "pin1_Max": {
                     "$ref": "#/$defs/Types/pin1_Max"
                 },
@@ -503,18 +521,33 @@
                 "pout3_Name": {
                     "$ref": "#/$defs/Types/pout3_Name"
                 },
+                "power1_Max": {
+                    "$ref": "#/$defs/Types/power1_Max"
+                },
                 "power1_Name": {
                     "$ref": "#/$defs/Types/power1_Name"
                 },
+                "power2_Max": {
+                    "$ref": "#/$defs/Types/power2_Max"
+                },
                 "power2_Name": {
                     "$ref": "#/$defs/Types/power2_Name"
                 },
+                "power3_Max": {
+                    "$ref": "#/$defs/Types/power3_Max"
+                },
                 "power3_Name": {
                     "$ref": "#/$defs/Types/power3_Name"
                 },
+                "power4_Max": {
+                    "$ref": "#/$defs/Types/power4_Max"
+                },
                 "power4_Name": {
                     "$ref": "#/$defs/Types/power4_Name"
                 },
+                "power5_Max": {
+                    "$ref": "#/$defs/Types/power5_Max"
+                },
                 "power5_Name": {
                     "$ref": "#/$defs/Types/power5_Name"
                 },
@@ -530,30 +563,132 @@
                 "power9_Name": {
                     "$ref": "#/$defs/Types/power9_Name"
                 },
+                "temp1_Max": {
+                    "$ref": "#/$defs/Types/temp1_Max"
+                },
+                "temp1_Min": {
+                    "$ref": "#/$defs/Types/temp1_Min"
+                },
                 "temp1_Name": {
                     "$ref": "#/$defs/Types/temp1_Name"
                 },
+                "temp2_Max": {
+                    "$ref": "#/$defs/Types/temp2_Max"
+                },
+                "temp2_Min": {
+                    "$ref": "#/$defs/Types/temp2_Min"
+                },
                 "temp2_Name": {
                     "$ref": "#/$defs/Types/temp2_Name"
                 },
+                "temp3_Max": {
+                    "$ref": "#/$defs/Types/temp1_Max"
+                },
+                "temp3_Min": {
+                    "$ref": "#/$defs/Types/temp1_Min"
+                },
                 "temp3_Name": {
                     "$ref": "#/$defs/Types/temp3_Name"
                 },
+                "temp4_Max": {
+                    "$ref": "#/$defs/Types/temp4_Max"
+                },
+                "temp4_Min": {
+                    "$ref": "#/$defs/Types/temp4_Min"
+                },
                 "temp4_Name": {
                     "$ref": "#/$defs/Types/temp4_Name"
                 },
+                "temp5_Max": {
+                    "$ref": "#/$defs/Types/temp5_Max"
+                },
+                "temp5_Min": {
+                    "$ref": "#/$defs/Types/temp5_Min"
+                },
                 "temp5_Name": {
                     "$ref": "#/$defs/Types/temp5_Name"
                 },
+                "temp6_Max": {
+                    "$ref": "#/$defs/Types/temp6_Max"
+                },
+                "temp6_Min": {
+                    "$ref": "#/$defs/Types/temp6_Min"
+                },
                 "temp6_Name": {
                     "$ref": "#/$defs/Types/temp6_Name"
                 },
+                "temp7_Max": {
+                    "$ref": "#/$defs/Types/temp7_Max"
+                },
+                "temp7_Min": {
+                    "$ref": "#/$defs/Types/temp7_Min"
+                },
                 "temp7_Name": {
                     "$ref": "#/$defs/Types/temp7_Name"
                 },
+                "temp8_Max": {
+                    "$ref": "#/$defs/Types/temp8_Max"
+                },
+                "temp8_Min": {
+                    "$ref": "#/$defs/Types/temp8_Min"
+                },
                 "temp8_Name": {
                     "$ref": "#/$defs/Types/temp8_Name"
                 },
+                "temp9_Max": {
+                    "$ref": "#/$defs/Types/temp9_Max"
+                },
+                "temp9_Min": {
+                    "$ref": "#/$defs/Types/temp9_Min"
+                },
+                "temp9_Name": {
+                    "$ref": "#/$defs/Types/temp9_Name"
+                },
+                "temp10_Max": {
+                    "$ref": "#/$defs/Types/temp10_Max"
+                },
+                "temp10_Min": {
+                    "$ref": "#/$defs/Types/temp10_Min"
+                },
+                "temp10_Name": {
+                    "$ref": "#/$defs/Types/temp10_Name"
+                },
+                "temp11_Max": {
+                    "$ref": "#/$defs/Types/temp11_Max"
+                },
+                "temp11_Min": {
+                    "$ref": "#/$defs/Types/temp11_Min"
+                },
+                "temp11_Name": {
+                    "$ref": "#/$defs/Types/temp11_Name"
+                },
+                "temp12_Max": {
+                    "$ref": "#/$defs/Types/temp12_Max"
+                },
+                "temp12_Min": {
+                    "$ref": "#/$defs/Types/temp12_Min"
+                },
+                "temp12_Name": {
+                    "$ref": "#/$defs/Types/temp12_Name"
+                },
+                "temp13_Max": {
+                    "$ref": "#/$defs/Types/temp13_Max"
+                },
+                "temp13_Min": {
+                    "$ref": "#/$defs/Types/temp13_Min"
+                },
+                "temp13_Name": {
+                    "$ref": "#/$defs/Types/temp13_Name"
+                },
+                "vout0_Max": {
+                    "$ref": "#/$defs/Types/vout0_Max"
+                },
+                "vout0_Min": {
+                    "$ref": "#/$defs/Types/vout0_Min"
+                },
+                "vout0_Name": {
+                    "$ref": "#/$defs/Types/vout0_Name"
+                },
                 "vout1_Max": {
                     "$ref": "#/$defs/Types/vout1_Max"
                 },
@@ -722,6 +857,18 @@
                 "iout1_Scale": {
                     "$ref": "#/$defs/Types/iout1_Scale"
                 },
+                "iout2_Scale": {
+                    "$ref": "#/$defs/Types/iout2_Scale"
+                },
+                "iout3_Scale": {
+                    "$ref": "#/$defs/Types/iout3_Scale"
+                },
+                "iout4_Scale": {
+                    "$ref": "#/$defs/Types/iout4_Scale"
+                },
+                "iout5_Scale": {
+                    "$ref": "#/$defs/Types/iout5_Scale"
+                },
                 "pin_Scale": {
                     "$ref": "#/$defs/Types/pin_Scale"
                 },
@@ -1310,6 +1457,24 @@
             "iout3_Name": {
                 "type": "string"
             },
+            "iout4_Max": {
+                "type": "number"
+            },
+            "iout4_Min": {
+                "type": "number"
+            },
+            "iout4_Name": {
+                "type": "string"
+            },
+            "iout5_Max": {
+                "type": "number"
+            },
+            "iout5_Min": {
+                "type": "number"
+            },
+            "iout5_Name": {
+                "type": "string"
+            },
             "pin1_Max": {
                 "type": "number"
             },
@@ -1364,18 +1529,33 @@
             "pout3_Name": {
                 "type": "string"
             },
+            "power1_Max": {
+                "type": "number"
+            },
             "power1_Name": {
                 "type": "string"
             },
+            "power2_Max": {
+                "type": "number"
+            },
             "power2_Name": {
                 "type": "string"
             },
+            "power3_Max": {
+                "type": "number"
+            },
             "power3_Name": {
                 "type": "string"
             },
+            "power4_Max": {
+                "type": "number"
+            },
             "power4_Name": {
                 "type": "string"
             },
+            "power5_Max": {
+                "type": "number"
+            },
             "power5_Name": {
                 "type": "string"
             },
@@ -1391,30 +1571,132 @@
             "power9_Name": {
                 "type": "string"
             },
+            "temp1_Max": {
+                "type": "number"
+            },
+            "temp1_Min": {
+                "type": "number"
+            },
             "temp1_Name": {
                 "type": "string"
             },
+            "temp2_Max": {
+                "type": "number"
+            },
+            "temp2_Min": {
+                "type": "number"
+            },
             "temp2_Name": {
                 "type": "string"
             },
+            "temp3_Max": {
+                "type": "number"
+            },
+            "temp3_Min": {
+                "type": "number"
+            },
             "temp3_Name": {
                 "type": "string"
             },
+            "temp4_Max": {
+                "type": "number"
+            },
+            "temp4_Min": {
+                "type": "number"
+            },
             "temp4_Name": {
                 "type": "string"
             },
+            "temp5_Max": {
+                "type": "number"
+            },
+            "temp5_Min": {
+                "type": "number"
+            },
             "temp5_Name": {
                 "type": "string"
             },
+            "temp6_Max": {
+                "type": "number"
+            },
+            "temp6_Min": {
+                "type": "number"
+            },
             "temp6_Name": {
                 "type": "string"
             },
+            "temp7_Max": {
+                "type": "number"
+            },
+            "temp7_Min": {
+                "type": "number"
+            },
             "temp7_Name": {
                 "type": "string"
             },
+            "temp8_Max": {
+                "type": "number"
+            },
+            "temp8_Min": {
+                "type": "number"
+            },
             "temp8_Name": {
                 "type": "string"
             },
+            "temp9_Max": {
+                "type": "number"
+            },
+            "temp9_Min": {
+                "type": "number"
+            },
+            "temp9_Name": {
+                "type": "string"
+            },
+            "temp10_Max": {
+                "type": "number"
+            },
+            "temp10_Min": {
+                "type": "number"
+            },
+            "temp10_Name": {
+                "type": "string"
+            },
+            "temp11_Max": {
+                "type": "number"
+            },
+            "temp11_Min": {
+                "type": "number"
+            },
+            "temp11_Name": {
+                "type": "string"
+            },
+            "temp12_Max": {
+                "type": "number"
+            },
+            "temp12_Min": {
+                "type": "number"
+            },
+            "temp12_Name": {
+                "type": "string"
+            },
+            "temp13_Max": {
+                "type": "number"
+            },
+            "temp13_Min": {
+                "type": "number"
+            },
+            "temp13_Name": {
+                "type": "string"
+            },
+            "vout0_Max": {
+                "type": "number"
+            },
+            "vout0_Min": {
+                "type": "number"
+            },
+            "vout0_Name": {
+                "type": "string"
+            },
             "vout1_Max": {
                 "type": "number"
             },
@@ -1583,6 +1865,18 @@
             "iout1_Scale": {
                 "type": "number"
             },
+            "iout2_Scale": {
+                "type": "number"
+            },
+            "iout3_Scale": {
+                "type": "number"
+            },
+            "iout4_Scale": {
+                "type": "number"
+            },
+            "iout5_Scale": {
+                "type": "number"
+            },
             "pin_Scale": {
                 "type": "number"
             },