{"additionalProperties": true, "required": ["type"], "type": "object", "properties": {"type": {"enum": ["slack", "email"], "type": "string"}}, "allOf": [{"then": {"required": ["type", "token", "channel"], "properties": {"token": {"type": "string"}, "channel": {"type": "string"}}}, "if": {"properties": {"type": {"const": "slack"}}}}, {"then": {"required": ["type", "email"], "properties": {"email": {"type": "string"}}}, "if": {"properties": {"type": {"const": "email"}}}}]}