I think it would be better to put these four properties into an `AlertConfig` class that subclasses `DocumentSchema`