Currently, segmentation cannot be using the nested properties sent as part of user profile and custom events. For e.g. I want to segment users based on the products they have purchased in the last 30 days. The product information is sent as array object in the Purchased event.