Introduce Pydantic models to move away from working with (untyped) dics / JSON structures for working with the API spec / schemas.