GPT-OSS-120B - invalid JSON schema for response_format

I’m unable to use certain zod features with groq structured outputs (GPT-OSS-120B), and am wondering if these are bugs / limitations / planned improvements?

z.email() - invalid JSON schema for response_format: ‘response’: /properties/email/anyOf/0/pattern: pattern uses unsupported regex features (lookarounds/backrefs) [pattern_unsupported_feature]

z.e164() - invalid JSON schema for response_format: ‘response’: /properties/phone/anyOf/0/format: unknown or unsupported string format ‘e164’ [unsupported_format]

z.url() - invalid JSON schema for response_format: ‘response’: /properties/links/properties/linkedin/anyOf/0/format: unknown or unsupported string format ‘uri’ [unsupported_format]

I ran a test using GPT-5-mini through OpenAI as well. z.email() worked, but z.e164() and z.url() did not. And I see on the OpenAI docs that email is a valid supported property, so I guess this makes sense.

So I guess the only real concern here is about z.email() not working on Groq. Would also be curious to know if more properties like e164 (phone numbers) and url will be supported in the future and what the current limitations are for not supporting it (would love a link/article too!).

Edit - Using the latest Vercel AI SDK (v6) & AI Gateway (v3)