schemas: legacy: extract BMC

Tested: Schema Validator Pass

Change-Id: I4bafa2ddb40ab7fdd438f25c271d85d8a45e623f
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index 337f7c0..31b2333 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -136,6 +136,9 @@
                             "$ref": "legacy.json#/$defs/GenericSMBusMux"
                         },
                         {
+                            "$ref": "legacy.json#/$defs/BMC"
+                        },
+                        {
                             "$ref": "virtual_sensor.json#/$defs/VirtualSensor"
                         },
                         {
diff --git a/schemas/legacy.json b/schemas/legacy.json
index ae983f4..8fe7132 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -1021,6 +1021,17 @@
                 }
             }
         },
+        "BMC": {
+            "additionalProperties": false,
+            "properties": {
+                "Name": {
+                    "$ref": "#/$defs/Types/Name"
+                },
+                "Type": {
+                    "const": "BMC"
+                }
+            }
+        },
         "Aggregate": {
             "description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
             "additionalProperties": false,
@@ -1077,7 +1088,6 @@
                 },
                 "Type": {
                     "enum": [
-                        "BMC",
                         "Board",
                         "INA233",
                         "ADM1281",