code: def validate_value(self, string_value):
          
          specs = self.specs
          if 'type' in specs:
              value = specs['type'](string_value)
          else:
              value = string_value
          if 'min' in specs and value < specs['min']:
              raise ValueError
          if 'max' in specs and value > specs['max']:
              raise ValueError
          if 'valid' in specs and value not in specs['valid']:
              raise ValueError
          return value
docs: Validate that a value match the Property specs.