Home | History | Annotate | Download | only in json_schema_compiler

Lines Matching defs:PropertyType

9 from model import Function, PropertyType
109 if type_.property_type is PropertyType.ENUM:
317 elif p.type_.property_type is PropertyType.ARRAY:
645 return type_.property_type == PropertyType.FUNCTION
656 if type_.property_type is PropertyType.CHOICES:
658 if type_.property_type is PropertyType.REF:
662 if (type_.property_type == PropertyType.OBJECT
671 or type_.property_type in [PropertyType.OBJECT, PropertyType.ANY])
681 if type_.property_type is PropertyType.CHOICES:
683 if type_.property_type is PropertyType.REF:
687 return (type_.property_type is PropertyType.ARRAY and
692 objects (PropertyType.REF types).
694 if type_.property_type is PropertyType.CHOICES:
696 return (type_.property_type is PropertyType.ARRAY and
708 if type_.property_type is PropertyType.CHOICES:
712 or (type_.property_type is PropertyType.ARRAY
723 if prop_type is PropertyType.REF:
728 elif prop_type is PropertyType.BOOLEAN:
730 elif prop_type is PropertyType.INTEGER:
732 elif prop_type is PropertyType.INT64:
734 elif prop_type is PropertyType.DOUBLE:
736 elif prop_type is PropertyType.STRING:
738 elif prop_type is PropertyType.ENUM:
740 elif prop_type is PropertyType.CHOICES:
744 elif prop_type is PropertyType.ANY:
746 elif prop_type is PropertyType.OBJECT:
755 elif prop_type is PropertyType.FUNCTION:
757 elif prop_type is PropertyType.ARRAY:
759 elif prop_type is PropertyType.BINARY: