Matching on a Branded Type in a Union

Hello! Does anyone know how to match on a branded type? I have a set of schemas where I can't just use a tag, so I have to use a brand. But I unioned them and now I can't seem to get them apart. Any help?
Was this page helpful?