sdbus++: events: add schema
Add jsonschema for new error and event design[1]. Schema is based
on the schema originally in the document but enhanced for better
schema validation of required and/or conflicting properties.
[1]: https://github.com/openbmc/docs/blob/master/designs/event-logging.md
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic64a98825080d990d904b788cfaed45b91e8a39e
diff --git a/tools/setup.py b/tools/setup.py
index c1f8ad6..9c25e2c 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -7,7 +7,7 @@
packages=find_packages(),
install_requires=["inflection", "mako", "pyyaml"],
scripts=["sdbus++", "sdbus++-gen-meson"],
- package_data={"sdbusplus": ["templates/*.mako"]},
+ package_data={"sdbusplus": ["schemas/*.yaml", "templates/*.mako"]},
url="http://github.com/openbmc/sdbusplus",
classifiers=["License :: OSI Approved :: Apache Software License"],
)