Home | History | Annotate | Download | only in json_schema_compiler

Lines Matching defs:PropertyType

8 from model import PropertyType
125 if (prop.type_ == PropertyType.REF and
162 is_ptr = prop.optional or prop.type_.property_type == PropertyType.ANY
190 elif type_.property_type == PropertyType.ARRAY:
199 elif type_.property_type == PropertyType.STRING:
204 elif type_.property_type == PropertyType.ENUM:
217 elif type_.property_type in (PropertyType.CHOICES,
218 PropertyType.OBJECT):
241 if type_.property_type is PropertyType.CHOICES else
248 if type_.property_type == PropertyType.CHOICES:
265 if type_.additional_properties.property_type == PropertyType.ANY: