Schema.transform to create a discriminated union doesnt seem to work on schemas containing a Schema.Map member - using the attachPropertySignature approach works though https://effect.website/docs/guides/schema/basic-usage#how-to-transform-a-simple-union-into-a-discriminated-union