namespace OnlineBankingApplication features Account mandatory BankAccount {Number, Balance} # removing [1..3] and default to 0, assuming unique numbers for each account SavingsPlan alternative InterestRatePlanA {InterestRate 0[0.0, 0.4]} InterestRatePlanB {InterestRate 0[0.5, 0.9]} OverdraftProtection or BackupAccount {Balance} # removing [1..10000] CreditCard {CreditLimit} # removing [2500, 40000] optional Transfer mandatory RecipientBankAccount.Number xyz[1..], Balance x # remove specific length from RecipientBankAccount and assuming one transfer per account TransactionFee {Amount USD} TransferAmount.Amount y constraints BankAccount.Balancesum > 0 BackupAccount > Account.Transfer.TransferAmount CreditCard >= Account.Transfer.TransferAmount InterestRatePlanA.InterestRate + InterestRatePlanB.InterestRate < 1.5 InterestRatePlanA.InterestRate * Account.TransactionFee.TransactionFee <= 0.2