parameters: (self, x, fieldname, schema, minimum=None)
docstring: Validates that the field is longer than or equal to the minimum
          length if specified
docstring_summary: Validates that the field is longer than or equal to the minimum
          length if specified
docstring_tokens: Validates that the field is longer than or equal to the minimum length if specified
function: def validate_minimum(self, x, fieldname, schema, minimum=None):
          '''
          Validates that the field is longer than or equal to the minimum
          length if specified
          '''
  
          exclusive = schema.get('exclusiveMinimum', False)
  
          if x.get(fieldname) is not None:
              value = x.get(fieldname)
              if value is not None:
                  if type(value) in (int, float) and (not exclusive and value < minimum) or (exclusive and value <= minimum):
                      self._error("Value %(value)r for field '%(fieldname)s' is less than minimum value: %(minimum)f",
                                  value, fieldname, minimum=minimum)
function_tokens: def validate_minimum ( self , x , fieldname , schema , minimum = None ) : exclusive = schema . get ( 'exclusiveMinimum' , False ) if x . get ( fieldname ) is not None : value = x . get ( fieldname ) if value is not None : if type ( value ) in ( int , float ) and ( not exclusive and value < minimum ) or ( exclusive and value <= minimum ) : self . _error ( "Value %(value)r for field '%(fieldname)s' is less than minimum value: %(minimum)f" , value , fieldname , minimum = minimum )