-- SAVED
local decks = {
    ["Deck Name"] = deck
}

-- TEMPLATE
local deck = {
    name                         = "Deck Name",
    isSelected                   = true,
    cardsByQuestion              = {},
    source                       = "internal or external",
    creationTime                 = 0,
    totalCorrect                 = 0,
    totalIncorrect               = 0,
    totalAnswered                = 0,
    tags                         = { "tag1", "tag2" },
    deckIcon                     = "",
}

-- TEMPLATE
local card = {
    compositeKey          = "deckName:Question",
    question              = "What is the capital of France?",
    answer                = "Paris",
    type                  = "hidden or multiple choice",
    choices               = {},
    lastTime              = 0,
    spacedRepetitionLevel = 0,
    totalCorrect          = 0,
    totalIncorrect        = 0,
    totalAnswered         = 0,
    deckName              = "Deck Name",
    source                = "internal or external",
    creationTime          = 0,
    history               = {
        {
            correct = true,
            time = 0,
        },
    }
    tags                  = { "tag1", "tag2" },
}

-- SAVED
local userInformation = {
    lifetimeCorrect   = 0,
    lifetimeInorrect  = 0,
    lifetimeAnswered  = 0,
    totalDecks        = 0,
    totalCards        = 0,
}

-- SAVED
local sessions = {}
 
-- TEMPLATE
local session = {
    totalCorrect   = 0,
    totalIncorrect = 0,
    totalAnswered  = 0,
    startTime      = 0,
    endTime        = 0,
    duration       = 0,
    history        = {
        {
            card = card,
            correct = true,
            time = 0,
        },
    }
}

-- SAVED
local settings = {
    enableKills = true,
    killInterval = 1,
    enableQuests = true,
    enableMining = false,
    enableSkinning = false,
    enableHerbalism = false,
    enableFishing = false,
    enableOnDeath = false,
    enablePickpocketing = false,
    timerValue = 60
}

-- GLOBALS
-- WoWStudyGlobal.selectedFlashcards
-- WoWStudyGlobal.currentSession