namespace VideoStreamingService
features
	Root {abstract}
		mandatory
			VideoQuality
				alternative
					SD {Price 5, Resolution 480}
					HD {Price 10, Resolution 1080}
					UHD {Price 15, Resolution 2160}
			AudioQuality
				alternative
					Stereo {Price 2, Channels 2}
					Surround {Price 5, Channels 6}
			SubscriptionPlan
                or
                    Basic {Price 20, Duration 30}
                    Premium {Price 50, Duration 90}
	optional
            AdFree {Price 10, Discount 0.1}
            OfflineMode {Price 5, Size 1000}
constraints
    SD.Price + Surround.Price < 10
    HD.Resolution > SD.Resolution
    UHD.Resolution > HD.Resolution
    Basic.Duration / Premium.Duration == 0.333
    AdFree.Discount * Premium.Price < 5