Instead of implementing a half-arsed version of pydantic, might as well not reinvent the wheel and use the actual thing. Solves a number of footguns relating to validating schemas from the web interface See <https://docs.pydantic.dev/latest/>