One other thought to keep in mind as you plan this tank ... all of the plumbing you are contemplating relies on a single return pump from the sump to the display. This is very typical, but keep in mind that one device becomes a "single point of failure" for your whole tank. If it dies, not only does your UV not work, but neither does your mechanical filtration, skimmer, heaters, carbon reactors, refugium, or any other piece of equipment you have in your sump.
There is another way to do this that will absolutely ensure you get the flow rate you want through the UV AND will give you better fail-safe redundancy ... but it is definitely a little more expensive.
Simply use TWO return pumps from the sump, and have one pass through your UV on the way to one return nozzle while the other pump simply goes straight to the other return nozzle. (and YES, put check valves on each line).
The pumps do not need to be the same size ... and naturally, you will need to buy smaller pumps.
This has a few advantages:
1) you will get exactly the flow rate you want through the UV without having to throttle it through a valve, or worry about the water following a different path through your plumbing. In fact, you can "tune" the flow rate through the UV to exactly the right rate you need for your application (example ... flow rate for sterilizing algae is different that flow rate for sterilizing parasites and bacteria) by either carefully choosing the right pump or by using a variable speed pump.
2) you will have redundancy ... if one pump fails, you will still have water flowing through your sump (and therefore filtration, skimmers, heaters, etc.) ... albeit at a slower rate. This buys you time to fix the problem unit
3) Your plumbing is greatly simplified
Of course the disadvantage is that you need to have enough room in the sump to accommodate both pumps, and you will need to use both of the return lines drilled through your tank.
Anyway ... not a solution for everyone, but something to consider.
Here's what mine looks like ... 2 variable speed return pumps flowing through 2 separate UV units before going back to the tank ... and the flow rate through each one is tuned differently to accommodate a different task (one for algae, one for parasites). I also added flow meters to help my fine tune the pump speeds. My check valves are installed on each return line immediately before they go into the tank.