(self, def_dict)
return (utilities.CamelCase(json_type), None, None)
Returns a tuple of type information for a json schema data dict.

    For the dictionary containing {type, [format]}, return the tuple of the form
      (Java class name, ImportDefinition, Java primitive data type)
    describing the appropriate Java data type.

    Args:
      def_dict: (dict) JSON schema data definition.
    Returns:
      tuple of (class name, ImportDefinition, primitive data type).
Returns a tuple of type information for a json schema data dict.
Returns a tuple of type information for a json schema data dict .
def _GetTypeInfo(self, def_dict):
    """Returns a tuple of type information for a json schema data dict.

    For the dictionary containing {type, [format]}, return the tuple of the form
      (Java class name, ImportDefinition, Java primitive data type)
    describing the appropriate Java data type.

    Args:
      def_dict: (dict) JSON schema data definition.
    Returns:
      tuple of (class name, ImportDefinition, primitive data type).
    """
    json_type = def_dict.get('type', 'string')
    json_format = def_dict.get('format')
    result = self.type_map.get((json_type, json_format))
    if result:
      return result

    # TODO(user): Uncomment this and update golden files.
    # result = self.type_map.get((json_type, None))
    # if result:
    #   return result
    #
    # raise ValueError('Unknown type: %s format: %s' % (json_type, json_format))

    return (utilities.CamelCase(json_type), None, None)
def _GetTypeInfo ( self , def_dict ) : json_type = def_dict . get ( 'type' , 'string' ) json_format = def_dict . get ( 'format' ) result = self . type_map . get ( ( json_type , json_format ) ) if result : return result # TODO(user): Uncomment this and update golden files. # result = self.type_map.get((json_type, None)) # if result: #   return result # # raise ValueError('Unknown type: %s format: %s' % (json_type, json_format)) return ( utilities . CamelCase ( json_type ) , None , None )