| Index: tools/json_schema_compiler/model.py
|
| diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
|
| index 5453e11c40a11a6abe9425d5df2a8e997ab726b5..6e391170fceed6e027cdab0b9bdcff92224cfdbb 100644
|
| --- a/tools/json_schema_compiler/model.py
|
| +++ b/tools/json_schema_compiler/model.py
|
| @@ -85,7 +85,8 @@ class Type(object):
|
| if not (
|
| 'properties' in json or
|
| 'additionalProperties' in json or
|
| - 'functions' in json):
|
| + 'functions' in json or
|
| + 'events' in json):
|
| raise ParseException(self, name + " has no properties or functions")
|
| self.type_ = PropertyType.OBJECT
|
| self.name = name
|
|
|