schemas: Add Inventory.Item.BMC interface
This commit adds the Item.BMC interface as described in [1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Bmc.interface.yaml
Change-Id: I905fb12434df5280e71d7472666ad646c6b74911
Signed-off-by: Ingrid Chen <ingrid.chen.wiwynn@gmail.com>
diff --git a/schemas/global.json b/schemas/global.json
index 5ef30fd..9df52b4 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -131,6 +131,9 @@
},
"xyz.openbmc_project.Inventory.Item.System": {
"$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/System"
+ },
+ "xyz.openbmc_project.Inventory.Item.BMC": {
+ "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/BMC"
}
},
"required": ["Exposes", "Name", "Probe", "Type"]
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 80005fb..4fa712a 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -127,6 +127,10 @@
"System": {
"additionalProperties": false,
"type": "object"
+ },
+ "BMC": {
+ "additionalProperties": false,
+ "type": "object"
}
}
},