Index: tools/json_schema_compiler/model.py |
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py |
index dd68e9b1056f7e84c9aab6d997a1a3730a22030b..5d2c71aab27443b66077d7170fc4316d60207939 100644 |
--- a/tools/json_schema_compiler/model.py |
+++ b/tools/json_schema_compiler/model.py |
@@ -187,6 +187,7 @@ class Type(object): |
elif 'enum' in json and json_type == 'string': |
self.property_type = PropertyType.ENUM |
self.enum_values = [EnumValue(value) for value in json['enum']] |
+ self.literal_values = 'literalvalues' in json |
elif json_type == 'any': |
self.property_type = PropertyType.ANY |
elif json_type == 'binary': |