| Index: tools/json_schema_compiler/model.py
|
| diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
|
| index 2351ecd1f999b17bf7077c52d8baaeb00e09cd83..4de04c4563a0365d0013cc35ac99e8e6b3fe9a6e 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
|
|
|