Introduced a complex type for specifying the userId to be invited to activities