schemas: legacy: refine 'BridgeGpio'

'BridgeGpio' was not clearly defined, define it according to the
upstream configurations.

2 Configurations have been adjusted due to misconfiguration of
'Polarity' field. This change should have no effect on runtime behavior,
the code has been checked [1].

Tested: Schema Validator Pass

References:
[1] https://github.com/openbmc/dbus-sensors/blob/408061153b93d3cf1699a019bc76dc5cc2b0c356/src/adc/ADCSensorMain.cpp#L284

Change-Id: Ic4167cbe371cb28d8ad8e8f375dfa5f9c4089019
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 70d2113..b35ee7a 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -902,7 +902,25 @@
                 "type": "string"
             },
             "BridgeGpio": {
-                "type": ["number", "array"]
+                "type": "array",
+                "items": {
+                    "additionalProperties": false,
+                    "properties": {
+                        "Name": {
+                            "$ref": "#/$defs/Types/Name"
+                        },
+                        "Label": {
+                            "$ref": "#/$defs/Types/Name"
+                        },
+                        "Polarity": {
+                            "$ref": "#/$defs/Types/Polarity"
+                        },
+                        "SetupTime": {
+                            "type": "number"
+                        }
+                    },
+                    "required": ["Name", "Polarity"]
+                }
             },
             "Bus": {
                 "type": ["string", "number"]