Index: tools/json_schema_compiler/model.py |
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py |
index d6b6efc1a12f3519777d08b4995fa43d27e8c8ea..521a8a289cce08bc59caaa1013d04a42f76513fb 100644 |
--- a/tools/json_schema_compiler/model.py |
+++ b/tools/json_schema_compiler/model.py |
@@ -258,9 +258,11 @@ class Property(object): |
Properties: |
- |name| name of the property as in the json. This shouldn't change since |
it is the key used to access DictionaryValues |
+ - |inline_type| the type of an inlined document |
- |unix_name| the unix_style_name of the property. Used as variable name |
- |optional| a boolean representing whether the property is optional |
- |description| a description of the property (if provided) |
+ - |extended_description| used by enum's to describe their potential values |
- |type_| the model.Type of this property |
- |simple_name| the name of this Property without a namespace |
""" |
@@ -269,11 +271,13 @@ class Property(object): |
""" |
self.parent = parent |
self.name = name |
+ self.inline_type = json.get('inline_type', None) |
self._unix_name = UnixName(self.name) |
self._unix_name_used = False |
self.origin = origin |
self.simple_name = _StripNamespace(self.name, namespace) |
self.description = json.get('description', None) |
+ self.extended_description = json.get('extended_description', None) |
self.optional = json.get('optional', None) |
self.instance_of = json.get('isInstanceOf', None) |