schemas: legacy: extract 'AddressArray'

In most cases, 'Address' is a single value and not an array.
Pretty sure many daemons can not even handle the case of an
array.

Introduce 'AddressArray' for the one place it is actually used as an
array.

Tested: Schema Validator Pass

Change-Id: Idd4509baddbcf10718df7147a6cfcbbbb0568a16
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 0000894..70d2113 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -525,7 +525,14 @@
                     "$ref": "#/$defs/Types/Bus"
                 },
                 "Address": {
-                    "$ref": "#/$defs/Types/Address"
+                    "oneOf": [
+                        {
+                            "$ref": "#/$defs/Types/Address"
+                        },
+                        {
+                            "$ref": "#/$defs/Types/AddressArray"
+                        }
+                    ]
                 },
                 "Type": {
                     "const": "PSUPresence"
@@ -872,7 +879,13 @@
         },
         "Types": {
             "Address": {
-                "type": ["string", "array"]
+                "type": "string"
+            },
+            "AddressArray": {
+                "type": "array",
+                "items": {
+                    "$ref": "#/$defs/Types/Address"
+                }
             },
             "AllowedFailures": {
                 "type": "number",