| Index: tools/json_schema_compiler/model.py
|
| diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py
|
| index 33c0bc56192d30a786fedc8d563ef2efe2a54e41..13b297c113e9a6e15a4edc800d9fa2344d8f5c1d 100644
|
| --- a/tools/json_schema_compiler/model.py
|
| +++ b/tools/json_schema_compiler/model.py
|
| @@ -64,6 +64,7 @@ class Type(object):
|
| - |description| the description of the type (if provided)
|
| - |properties| a map of property unix_names to their model.Property
|
| - |functions| a map of function names to their model.Function
|
| + - |events| a map of event names to their model.Event
|
| - |from_client| indicates that instances of the Type can originate from the
|
| users of generated code, such as top-level types and function results
|
| - |from_json| indicates that instances of the Type can originate from the
|
| @@ -93,6 +94,7 @@ class Type(object):
|
| self.from_client = True
|
| self.parent = parent
|
| _AddFunctions(self, json)
|
| + _AddEvents(self, json)
|
| _AddProperties(self, json, from_json=True, from_client=True)
|
|
|
| additional_properties_key = 'additionalProperties'
|
|
|