namespace EducationalLearningManagementSystem

features
	LearningManagementSystem {abstract}
		mandatory
			UserModule
				or
					Student {Price 50, Fun 8}
					Instructor {Price 60, Fun 10}
					Admin {Price 70, Fun 12}
			CourseModule
				or
					PublicCourse {Price 20}
					PrivateCourse {Price 30}
					SponsoredCourse {Price 40}
			AssessmentModule
				alternative
					Quiz {Duration 60}
						mandatory
							SingleChoiceQuestion {Points 1}
							MultipleChoiceQuestion {Points 2}
					Test {Duration 120}
						mandatory
							FillInBlanksQuestion {Points 3}
							ShortAnswerQuestion {Points 4}
			ResourceModule
				or
					DocumentResource {Price 5}
					VideoResource {Price 10}
					LiveSessionResource {Price 20}
					PDFResource {Price 7}
			FeedbackModule
				alternative
					TextFeedback {Length 500}
					VoiceFeedback {Duration 300}
					VideoFeedback {Duration 600}
			ReportModule
				or
					SummaryReport {Price 10}
					DetailedReport {Price 20}
					AnalyticsReport {Price 15}
			CalendarModule
				optional
					EventCalendar {Duration 365}
					TaskCalendar {Duration 8760}
					ExamSchedule {Duration 90}
			MessagingModule
				alternative
					InboxMessaging {MaxMessages 1000}
					VoiceChatMessaging {MaxDuration 600}
					VideoChatMessaging {MaxDuration 1200}
			GamingModule
				alternative
					SinglePlayerGame {Price 5}
						mandatory
							EasyLevel {Duration 30}
							MediumLevel {Duration 45}
							HardLevel {Duration 60}
					MultiplayerGame {Price 10}
						mandatory
							BattleMode {Duration 60}
							CooperativeMode {Duration 75}

constraints
	Student.Price + Instructor.Price <= 100
	Quiz.Duration < Test.Duration
	SingleChoiceQuestion.Points + MultipleChoiceQuestion.Points > 2
	EasyLevel.Duration * 2 < HardLevel.Duration
	InboxMessaging.MaxMessages > VoiceChatMessaging.MaxDuration
	DocumentResource.Price + VideoResource.Price >= 15
	FillInBlanksQuestion.Points - ShortAnswerQuestion.Points <= 1
	VideoChatMessaging.MaxDuration / EventCalendar.Duration >= 2
	SummaryReport.Price < DetailedReport.Price
	BattleMode.Duration > CooperativeMode.Duration