The following changes have been made due to changes in the pydantic package in v2
Ran the bump-pydantic tool to handle base updates
Manually removed root references and changed the model to extend from RootModel. Internal attribute renamed from root to root
Manually removed all references to constr function, putting properties such as pattern (formerly regex), min_lengh, max_length into the Field object itself
Description
Fixes for changes in Pydantic v2
The following changes have been made due to changes in the pydantic package in v2