schema: factor out dbus

Move schema that validate OpenBMC DBus interfaces to a single file to
facilitate re-use and improve organization.  Perhaps this file could be
generated from the canonical DBus documentation for OpenBMC.

Change-Id: If02cbf1b646d39b6e71f4c6e595d1992bc71ef92
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
new file mode 100644
index 0000000..853064c
--- /dev/null
+++ b/schemas/openbmc-dbus.json
@@ -0,0 +1,56 @@
+{
+    "$schema": "http://json-schema.org/draft-07/schema#",
+    "title": "Schemas for JSON representations of OpenBMC DBus interfaces",
+    "definitions": {
+        "xyz": {
+            "openbmc_project": {
+                "Inventory": {
+                    "Decorator": {
+                        "Asset": {
+                            "additionalProperties": false,
+                            "properties": {
+                                "Manufacturer": {
+                                    "type": "string"
+                                },
+                                "Model": {
+                                    "type": "string"
+                                },
+                                "PartNumber": {
+                                    "type": "string"
+                                },
+                                "SerialNumber": {
+                                    "type": "string"
+                                }
+                            },
+                            "required": [
+                                "Manufacturer",
+                                "Model",
+                                "PartNumber",
+                                "SerialNumber"
+                            ],
+                            "type": "object"
+                        },
+                        "AssetTag": {
+                            "additionalProperties": false,
+                            "properties": {
+                                "AssetTag": {
+                                    "type": "string"
+                                }
+                            },
+                            "required": [
+                                "AssetTag"
+                            ],
+                            "type": "object"
+                        }
+                    },
+                    "Item": {
+                        "System": {
+                            "additionalProperties": false,
+                            "type": "object"
+                        }
+                    }
+                }
+            }
+        }
+    }
+}