namespace VideoStreamingService features Service mandatory Provider {Name, YearFounded} or SubscriptionPlan mandatory Name Price optional MaxSimultaneousScreens [1 TO 4] MaxDailyWatches [5 TO 20] alternative Standard {Resolution "HD", MaxStreamHours 10} Premium {Resolution "UHD", MaxStreamHours 20} Device mandatory Type optional StorageCapacityGB [32 TO 128] or StreamingDevice {Brand, Price} constraints Provider.YearFounded >= 2005 Standard.Price + Premium.Price + MaxDailyWatches * Price + StreamingDevice.Price <= StorageCapacityGB * 3 MaxSimultaneousScreens GREATER_EQUAL 1 MaxDailyWatches LESS_EQUAL 20 IF (Premium.Price > 0) THEN Provider.Name = "Apple Inc." ELSE TRUE