schemas: legacy: extract MultiNodePresence

This allows to remove some properties from 'Aggregate' schema which are
no longer needed, since there is now a more specific schema to use.

Tested: Schema Validator Pass

Change-Id: I7ab52717def293c2c24d9fb0e1d74ca0b881de65
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index 985cb59..10a25ed 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -79,6 +79,9 @@
                             "$ref": "legacy.json#/$defs/MultiNodeID"
                         },
                         {
+                            "$ref": "legacy.json#/$defs/MultiNodePresence"
+                        },
+                        {
                             "$ref": "virtual_sensor.json#/$defs/VirtualSensor"
                         },
                         {
diff --git a/schemas/legacy.json b/schemas/legacy.json
index cb7dec9..3ebbae9 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -407,6 +407,26 @@
             "required": ["Name", "Type", "GpioPins"],
             "type": "object"
         },
+        "MultiNodePresence": {
+            "additionalProperties": false,
+            "properties": {
+                "Name": {
+                    "$ref": "#/$defs/Types/Name"
+                },
+                "Bus": {
+                    "$ref": "#/$defs/Types/Bus"
+                },
+                "Address": {
+                    "$ref": "#/$defs/Types/Address"
+                },
+                "Type": {
+                    "type": "string",
+                    "const": "MultiNodePresence"
+                }
+            },
+            "required": ["Name", "Type", "Bus", "Address"],
+            "type": "object"
+        },
         "Aggregate": {
             "description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
             "additionalProperties": false,
@@ -890,7 +910,6 @@
                     "HostCpuUtilization",
                     "MB Upstream Port",
                     "DownstreamPort",
-                    "MultiNodePresence",
                     "PSUPresence",
                     "Intel HSBP CPLD",
                     "IntelHsbpFruDevice",