Logical Data Model

Logical Data Model 

Our Logical Data Model is a simplified model of our underlying Learndot database. We aim to make this model simple and readable. Feel free to reach out to our Learndot Support Team with questions or clarifications around any of the data attributes. 

Account 

FieldsLabelTypeDescription
IDidIntegerInternal Learndot ID
NamenameStringName of Account
Country Alpha 2 Codecountry_alpha2CodeString
CitycityString
RegionregionString
Postal CodepostalCodeString
Tax IDtaxIDString
PhonephoneString
FaxfaxString
Logo URLlogoStringURL to uploaded logo image
Last Modified DatemodifiedDate/TimeTimestamp for last modified date
Last Modified ContactmodifiedBy_idContactID for last Contact that modified record
Created DatecreatedDate/TimeTimestamp for creation date
Created By ContactcreatedBy_idContactID for Contact that created record
Custom Field 01customField01Stringreferring to the custom fields in Learndot. Click here to learn more.
Custom Field 02customField02String
Custom Field 03customField03String
Custom Field 04customField04String
Custom Field 05customField05String
Custom Field 06customField06String
Custom Field 07customField07String
Custom Field 08customField08String
Custom Field 09customField09String
Custom Field 10customField10String
ExternalIdExternalIdStringReflects the ExternalId field in Learndot.

Catalog Item

FieldsLabelTypeDescription
IdentifieridentifierStringA unique key for the item formed by the concatenation of type of item with the non-unique id. e.g. "product-15"
NamenameStringThe text name of the respective component from the catalog.
Type of ItemtypeString

Options:

  • Product
  • Training Credits
  • Instructor Led Training
  • Exam Component
  • Content Component
  • eLearning Component
  • Course
  • Learning Pathway
StatusstatusString

Options:

  • ENABLED
  • DISABLED
  • ACTIVE_COMPONENT
Price CurrencypriceCurrencyStringe.g. USD
Price AmountpriceAmountNumbere.g. 2000.00

Category

FieldsLabelDescription
IdentifieridentifierA unique key for the category formed by the concatenation of the type of the category with non-unique id. e.g. "knowledge_category-51"
NamenameThe text name of the category


Contact

FieldsLabelTypeDescription
IDidInteger
EmailemailString
First NamefirstNameString
Last NamelastNameString
Street 1street1String
Street 2street2String
CitycityString
RegionregionString
Postal CodepostalCodeString
Country Alpha 2 Codecountry_alpha2codeString
Birth DatebirthDateDate
TitletitleString
DepartmentdepartmentString
SalutationsalutationString
Office PhoneofficephoneString
Mobile PhonemobilephoneString
Home PhonehomephoneString
FaxfaxString
Email VerifiedemailverifiedBoolean
EnabledenabledBoolean
Staff EnabledstaffEnabledBoolean
Tax IDtaxIDString
Last Password ResetlastPasswordResetDate/Time
Last Successful LoginlastSuccessfulLoginDate/Time
NamenameString
Number of Successful LoginsnumberOfSuccessfulLoginsInteger
Number of Forum PostsnumberOfForumPostsInteger
Created DatecreatedDate/Time
Accountaccount_idAccount
Referrer URLreferrerUrlLongText
Landing URLlandingUrlLongText
Provider Idprovider_idBigInt
Expert StatusexpertStatusString
Custom Field 01customField01Stringreferring to the custom fields in Learndot. Click here to learn more.
Custom Field 02customField02String
Custom Field 03customField03String
Custom Field 04customField04String
Custom Field 05customField05String
Custom Field 06customField06String
Custom Field 07customField07String
Custom Field 08customField08String
Custom Field 09customField09String
Custom Field 10customField10String
External IDexternalIdString
Receive Promotional OffersreceivePromotionalOffersBoolean
Receive News LetterreceiveNewsletterBoolean
Open IdopenIdString

Course

FieldsLabelTypeDescription
IdidIntegerUnique Learndot ID
NamenameString
TypetypeString

Options:

  • Course
  • Section
  • Module

Enrollment

FieldsLabelTypeDescription
StatusstatusString
Completion DatecompletionDateDate/Time
Expiry DateexpiryDateDate/Time
ScorescoreInteger
Total Seconds TrackedtotalSecondsTrackedInteger
ConfidenceconfidenceInteger
IdidInteger
Componentcomponent_idLearning Component
Contactcontact_idContact
Eventevent_idEvent
Created DatecreatedDate/Time
Modified DatemodifiedDate/Time
Providerprovider_idProvider
Order Itemorderitem_idOrder Item
Parent IdparentId bigint
Top IdtopId bigint
Custom Field 01customField01Stringreferring to the custom fields in Learndot. Click here to learn more.
Custom Field 02customField02String
Custom Field 03customField03String
Custom Field 04customField04String
Custom Field 05customField05String
Custom Field 06customField06String
Custom Field 07customField07String
Custom Field 08customField08String
Custom Field 09customField09String
Custom Field 10customField10String
UUIDuuidString

Event

From Events:

Events represent Instructor Led Training taking place at a particular time, in a particular Location.

FieldsLabelTypeDescription
CapacitycapacityInteger
Course IDcourse_idCourse
IDidIntegerUnique Learndot ID
Location IDlocation_idLocationRelationship to Location Object
Total HourstotalHoursInteger
Provider IDprovider_idProviderRelationship to Provider Object
TypetypeString

Options:

  • Public Class
  • Private Engagement
LanguagelanguageString
Equipment ProvidedequipmentProvidedBoolean0 or 1
Refreshments ProvidedrefreshmentsProvidedBoolean0 or 1
Food ProvidedfoodProvidedBoolean0 or 1
Snacks ProvidedsnacksProvidedBoolean0 or 1
Start TimestartTimeDate/Time

Timestamp of when the Class is scheduled to start

Time zone: UTC+0

StatusstatusString

Options:

  • CANCELLED
  • COMPLETE
  • EXTERNAL
  • CONFIRMED
  • TENATIVE
Session URLsessionURLString
End TimeendTimeDateTimeTime zone: UTC+0
VersioncourseVersionString
NotenotesLongText
Regular Price Amount regularPriceAmountDecimal
Regular Price Currency regularPriceCurrencyVarchar
Custom Field 01customField01string
Custom Field 02customField02string
Custom Field 03customField03string
Custom Field 04customField04string
Custom Field 05customField05string
Custom Field 06customField06string
Custom Field 07customField07string
Custom Field 08customField08string
Custom Field 09customField09string
Custom Field 10customField10string
urlNameurlNamestring

Instructor

FieldsLabelTypeDescription
Contactcontact_idContactRelationship to Contact Object
EventeventEventRelationship to Event Object
Modified DatemodifiedDate/Timeevent modified date
IdidStringConcatenation of Event Id and Contact Id to form a unique Id.

Lead

FieldsLabelTypeDescription
IdidInteger
StatusstatusString
Created DatecreatedDate/Time
Contactcontact_idContact
Subjectsubjectstring
QuantityquantityInteger

Learning Component

FieldsLabelTypeDescription
IdidInteger
NamenameString
LanguagelanguageString
TypetypeString
ExpiryDaysexpiryDaysInteger


Location

FieldsLabelTypeDescription
IdidInteger
CitycityString
RegionregionString
Country Alpha 2 Codecountry_alpha2CodeString
Postal CodepostalCodeString
NamenameString
TimezonetimezoneString
OnlineonlineBooleanA flag to indicate if Location is Virtual (Online).

Order

FieldsLabelTypeDescription
IdidInteger
StatusstatusString
Contactcontact_idContact
Accountaccount_idAccount
Paymentpayment_idPayment
Created DatecreatedDate/Time
Created By ContactcreatedBy_idContact
Modified DatemodifiedDate/Time
Modified By ContactmodifiedBy_idContact
TotaltotalDecimal
discountrule_iddiscountrule_idInteger
coupon_codecodestring
discountrule_namediscountrule_namestring

Order Item

FieldsLabelTypeDescription
CategorycategoryString
Contactcontact_idContact
Created DatecreatedDate/Time
DiscountdiscountDecimal
IdidInteger
Orderorder_idOrder
Accountaccount_idAccount
PaidpaidBoolean
Paymentpayment_idPayment
Price AmountpriceAmountDecimal
Providerprovider_idProvider
StatusstatusString
Catalog ItemcatalogItemCatalog Item
Tax AmounttaxAmountDecimal
TotaltotalDecimal
Training CreditstrainingCreditsDecimal
Value AmountvalueAmountDecimal
Value CurrencyvalueCurrencyString
Target TypetargetType varchar
Target IdtargetId bigint

Payment

FieldsLabelTypeDescription
IdidInteger
First NamefirstNameString
Last NamelastNameString
Account Nameaccount_nameString
Tax IdtaxIdString
Tax Country Alpha 2 Codetaxcountry_alpha2CodeString
PhonephoneString
EmailemailString
CurrencycurrencyString
Failure MessagefailureMessageString
StatusstatusString
Street 1street1String
Street 2street2String
CitycityString
RegionregionString
Postal CodepostalCodeString
Country 2 Alpha 2 Codecountry_alpha2CodeString
Date ProcessedprocessingDateDate/Time
Processing NumberprocessingNumberString
Payment TypetypeString

Options:

  • Credit Card
  • Training Credits
  • Purchase Order
  • Manual
AmountamountDecimal
Orderorder_idOrder
Created DatecreatedDate/Time
Value AmountvalueAmountDecimal
Value CurrencyvalueCurrencyString

Provider

FieldsLabelTypeDescription
IdidInteger
NamenameString

Training Credit Account

FieldsLabelTypeDescription
IdidInteger
NamenameString
CreatedcreatedDate/Time
BalancebalanceDecimal

Training Credit Expiry

FieldsLabelTypeDescription
Training Credit Accountaccount_idTraining Credit Account
ExpiryexpiryDate/Time
AmountamountDecimal

Training Credit Redemption Request

FieldsLabelTypeDescription
AmountamountDecimal
IdidInteger
StatusstatusString
Training Credit Accountaccount_idTraining Credit Account
Orderorder_idOrder
Requester Contactrequester_idContact
Paymentpayment_idPayment
Created DatecreatedDate/Time
Expiry DateexpiryDate/Time

Training Credit Transaction

FieldsLabelTypeDescription
AmountamountDecimal
ReconciledreconciledBoolean
Training Credit Accountaccount_idTraining Credit Account
Created DatecreatedDate/Time
Value AmountvalueAmountDecimal
Value CurrencyvalueCurrencyString

Training Credit Transaction Owner

FieldsLabelTypeDescription
IDIdBig_Int (Big Integer)This field is a concatenation of Owner Id and Account Id
Owner IDowner_idIntegerThis field refers to Contact Id in Contact table
Account IDaccount_idIntegerThis field refers to the Id in training credit account table


Course Requirement

FieldsLabelTypeDescription
IDidInteger
Component IDcomponent_idInteger
Pathway IDpathway_idInteger
Component NamenameString
Course TypetypeStringType: Course,Module,Section

Enrolment Root

FieldsLabelTypeDescription
enrolment_idenrolment_idIntegerrelated to the enrolment table id
root_idroot_idIntegerit is a root of the enrolment (course)

Enrolment Parent

FieldsLabelTypeDescription
enrolment_idenrolment_idIntegerrelated to the enrolment table id
parent_idparent_idIntegerreferring to the parent of the enrolment


Tables from Hosted Videos:

Actions 

FieldsLabelTypeDescription
IDidcharId of the action
Session IDsession_idchar
What session did this Action belong to
Namenamevarchar
Name of the action (for example, Play, Pause, Seek, and others)
Performed Atperformed_atdatetime
When was this Action performed
Fullscreenfullscreentinyint
Was a Fullscreen performed?
Volumevolumefloat
Was the Volume toggle adjusted?
Video Current Timevideo_current_timefloat
What was the time in the Video when the Action was performed in seconds?
Progressprogressfloat
Percentage of how much of the video was consumed
Seek Toseek_tofloat
To what point in the video did the learner drag the video slider to?
Seek Fromseek_fromfloat
From what point in the video the did learner drag the video slider from?
Created Atcreated_atdatetime
What was the timestamp when this action inserted into the Database
Modified Atmodified_atdatetime
What was the timestamp when this action was updated into the Database
Orderorderint

Sessions 

FieldsLabelTypeDescription
IDidchar
Id of the Active session
Enrollment IDenrollment_idchar
This is the same as the Learners enrollment UUID
Lesson IDlesson_idvarchar
This is the Learndot eLearning component Id
Lesson Namelesson_namevarchar
This is the Learndot eLearning component name
User IDuser_idvarchar
This is the Learndot Contact Id
User Nameuser_namevarchar
This is the Learndot Contact name
Browserbrowservarchar
What browser was the Learner using
OSosvarchar
What Operating System was the Learner using
Screen Widthscreen_widthint
What is the Screen width
Screen Heightscreen_heightint
What is the Screen height
Session Startsession_startdatetime
At what time was the session started?
Video Widthvideo_widthint
What was the width of the video
Video Heightvideo_heightint
What was the height of the video
Video IDvideo_idvarchar
What is the UUID of the video
Video Lengthvideo_lengthfloat
How long is the video in terms of duration in seconds
Video Namevideo_namevarchar
This is the eLearning component name
Created Atcreated_atdatetime
when was this session inserted into the database
Modified Atmodified_atdatetime
when was the last update performed on this session

Watched Segments 

FieldsLabelTypeDescription
Session IDsession_idchar
Id of the Active session
Orderorderint
Order all segments by this field for a particular session to get their chronological order
Segment Startedsegment_startfloat
At what time stamp had the segment started in seconds
Segment Endedsegment_endfloat
At what time stamp had the segment ended in seconds
Created Atcreated_atdatetime
When was the segment inserted into Database
Modified Atmodified_atdatetime
When was the last update performed on this segment