Hopefully this is just an option in our schema generator. https://ajv.js.org/strict-mode.html#union-types has a good write up on why anyOf is better.