attribute type for nested relation reference