Validates that the property value is within the specified min and max range.
the maximum allowed value (inclusive)
the minimum allowed value (inclusive)