I'm looking to programmatically construct a unique value renderer to match the following symbology I've applyed to a layer in ArcGIS Pro:
In my example, my layer has a field "Operator" with 100 unique values. I want one symbology class (blue) for a couple of these values "BP PLC" and "CNOOC LIMITED", and one symbology class (red) for all other values. So it appears like this in the ToC:
How can I achieve this using the Pro SDK, if at all? I've looked at snippets but can only find code for a basic unique value renderer with a colour ramp. I can't see how to specify which individual values have which symbol class.