schema: top: add missing EMConfig properties
Set additionalProperties false on the EMConfig schema. This catches a
handful of top level properties in configurations that aren't documented
or checked such as Bus and Logging.
Further, a couple of unchecked dbus interfaces are found in
configurations. Add those as well.
Change-Id: Ie93a89a70e5aeee8d34b21c573866522eb3f5fd4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 853064c..8190b08 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -44,6 +44,28 @@
}
},
"Item": {
+ "Board": {
+ "Motherboard": {
+ "additionalProperties": false,
+ "properties": {
+ "ProductId": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "ProductId"
+ ],
+ "type": "object"
+ }
+ },
+ "Chassis": {
+ "additionalProperties": false,
+ "type": "object"
+ },
+ "Panel": {
+ "additionalProperties": false,
+ "type": "object"
+ },
"System": {
"additionalProperties": false,
"type": "object"