The settings subpackage heavily relies on stdlib dataclasses to manage the various settings and material configurations. However, serialization and validation of incoming settings is tedious and error prone. pydantic offers a flexible framework to manage serialization and validation.