Is there a schema of API types (such as aggregations and pipeline processors) available somewhere?

I'm putting together a package that's basically types for the official elasticsearch go client. I've gotten most of the queries done (I need to finish up the span set and a couple of others). Writing them out was rather tedious. I'm wondering if there is, by any chance, a schema of types available somewhere? I'd really like to just generate out the remainder. I'm mostly interested in aggregations and pipeline processors, as those should be less dynamic than queries.

Here's what I have so far: GitHub - chanced/picker: Utilities that pair with the official Go Elasticsearch package

Thanks,
Chance