package domain // Learning sequences link immutable tasks; they do not redefine their answers or // turn a submitted/ungraded answer into evidence of mastery. type LearningSequence struct { ID string `json:"id"` ModuleID string `json:"module_id"` Titles map[string]string `json:"titles"` Steps []LearningSequenceStep `json:"steps"` } type LearningSequenceStep struct { Alternatives []string `json:"alternatives,omitempty"` Phase string `json:"phase"` BankEntryID string `json:"bank_entry_id"` } type SequenceRecommendation struct { SelectionRevision string `json:"selection_revision"` PracticeReason string `json:"practice_reason,omitempty"` ReusedSteps int `json:"reused_steps"` Review bool `json:"review"` NeedsAnswer bool `json:"needs_answer"` Revision string `json:"revision"` SequenceID string `json:"sequence_id,omitempty"` Title string `json:"title,omitempty"` Phase string `json:"phase,omitempty"` Step int `json:"step"` Steps int `json:"steps"` Topic int `json:"topic"` Topics int `json:"topics"` TaskID string `json:"task_id,omitempty"` Complete bool `json:"complete"` SkippedSteps int `json:"skipped_steps"` }