Home | History | Annotate | Download | only in json_schema_compiler

Lines Matching defs:PropertyType

6 from model import PropertyType
78 if type_.property_type == PropertyType.REF:
83 elif type_.property_type == PropertyType.BOOLEAN:
85 elif type_.property_type == PropertyType.INTEGER:
87 elif type_.property_type == PropertyType.INT64:
89 elif type_.property_type == PropertyType.DOUBLE:
91 elif type_.property_type == PropertyType.STRING:
93 elif type_.property_type in (PropertyType.ENUM,
94 PropertyType.OBJECT,
95 PropertyType.CHOICES):
104 elif type_.property_type == PropertyType.ANY:
106 elif type_.property_type == PropertyType.FUNCTION:
111 elif type_.property_type == PropertyType.ARRAY:
114 elif type_.property_type == PropertyType.BINARY:
122 if not self.FollowRef(type_).property_type == PropertyType.ENUM:
131 return not (self.FollowRef(type_).property_type in (PropertyType.ANY,
132 PropertyType.ARRAY,
133 PropertyType.OBJECT,
134 PropertyType.CHOICES))
145 dep.type_.property_type in (PropertyType.CHOICES,
146 PropertyType.OBJECT))]
184 If the property passed in is not of type PropertyType.REF, it will be
187 if type_.property_type != PropertyType.REF:
230 if type_.property_type == PropertyType.REF:
232 elif type_.property_type == PropertyType.ARRAY:
239 elif type_.property_type == PropertyType.CHOICES:
242 elif type_.property_type == PropertyType.OBJECT: