How to limit SwiftUI PasteButton for custom URLs?

For GNU Taler, we defined a custom URL scheme: "taler://".

We want to have a SwiftUI PasteButton in our app which is only active/enabled when the user copied a talerURI, but not for other URIs (such as https:// or mailto://). Currently we use

  PasteButton(supportedContentTypes: [.url]) { providers in

which works, but is also enabled when the copied text is some other URI, not only for "taler://".

Can we define a UTType ".taler" for PasteButton to check whether the pasteBoard has indeed a talerURI? How?

How to limit SwiftUI PasteButton for custom URLs?
 
 
Q