It was suggested today by @roussel-ryan to use a more formal schema to abstract PICMI inputs and extensions and compatibility with different codes. Refs.: - https://docs.pydantic.dev/usage/models/ - https://docs.pydantic.dev/usage/validators/