Webhooks Payload Specification

Is (or could) the webhook payloads specifications be made available in some markup or structured format? For my purposes yaml would be ideal.

I’d like to produce python type stubs for use with thepydantic library that is based on the payloads sent by v3 webhooks. I’m sure there are tons of other languages/frameworks out there that would benefit from something similiar.