This control board is from a mini-split heat pump. It sits on the outside of the unit and receives signals from a remote control. It's from this discussion here.
It's a single-sided board - am I getting the schematic correct, and is this typical for an infrared sensor e.g. used with remotes?
The brown and orange aren't clearly identified. If those were accidentally swapped will they just light the wrong light? Or could something worse happen?
simulate this circuit – Schematic created using CircuitLab
Bonus questions: Why two capacitors? What's the point of the resistor (is that a resistor?) in series with red/supply?