Should we use Pydantic for validating the project memory schema?
