namespace VideoStreamingService features VideoStreamingService {abstract} mandatory AccountType alternative FreeUser PremiumUser BusinessAccount ServiceFeatures or LiveStream mandatory Resolution alternative SD HD "4K" CommentaryMode alternative On Off VideoLibrary {abstract} mandatory GenreSelection or Action Comedy Drama mandatory Era alternative Classic Modern SciFi Documentary SearchFunction {advancedSearch "Boolean"} SubscriptionOptions alternative MonthlySubscription {Price 9.99} YearlySubscription {Discount 10, Price 99.00} optional ParentalControl mandatory ContentRating alternative G PG PG13 R AccountSecurity or TwoFactorAuth SecurityQuestions UserInterfaceCustomization {abstract} ThemeSelection alternative LightMode DarkMode CustomFontSize AdPreference or DisableAds LimitedAdViewing OfflineDownloadCapability constraints LiveStream & BusinessAccount => HD | "4K" VideoLibrary & MonthlySubscription => GenreSelection > 1 YearlySubscription => PremiumUser FreeUser & ServiceFeatures => !LiveStream MonthlySubscription & !ParentalControl => PG13 <= 0 % of Videos Allowed PremiumUser => !AdPreference BusinessAccount & LimitedAdViewing => SecurityQuestions & TwoFactorAuth SD & CommentaryMode.On => Resolution >= SD | LiveStream.RequiresSpecialPermission "Boolean" GenreSelection == Drama | Era == Classic => Documentary <= 2 SearchFunction.advancedSearch & UserInterfaceCustomization.CustomFontSize => MonthlySubscription.Price > 10.00 OfflineDownloadCapability => PremiumUser | YearlySubscription