This page lists every table and field in the xAPI Analytics data model, with each field's data type and description.
Data dictionary
| table | field | data_type | description |
| xapi_verbs | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_verbs | verb_id | VarChar | The ID of the xAPI verb formatted as a URL |
| xapi_verbs | verb_name | VarChar | The verb name extracted from the URL formatted verb_id field |
| xapi_persona_identifiers | identifier_id | VarChar | The unique ID of this persona identifier |
| xapi_persona_identifiers | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_persona_identifiers | persona_id | VarChar | The persona this identifier belongs to |
| xapi_persona_identifiers | VarChar | An email address linked to this persona | |
| xapi_persona_identifiers | homepage | VarChar | The account provider URL linked to this persona |
| xapi_persona_identifiers | account_name | VarChar | An account name linked to this persona |
| xapi_interaction_components (all) | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_interaction_components (all) | activity_id | VarChar | The URL formatted ID of the activity from the xAPI statements |
| xapi_interaction_components (all) | component_id | VarChar | The unique ID of the component |
| xapi_interaction_components (all) | component_type | VarChar | The type of component. e.g. choices |
| xapi_interaction_components (all) | component_description | VarChar | The written value displayed by the component e.g. True, False, Yes, No, etc |
| xapi_interaction_components (all) | component_number | Integer | The position of this component in the interaction |
| xapi_interaction_components (all) | correct | Boolean | A boolean field showing whether the component is the correct response for the interaction or not |
| positions | title | VarChar | The title of the position held by the user |
| positions | description | VarChar | The description of the position held by the user |
| positions | primary | SmallInt | Whether the position is the user's primary position or not |
| positions | external_id | VarChar | The external ID of the position held by the user. This can be used to link positions to external data sources |
| xapi_activities | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_activities | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_activities | activity_id | VarChar | The URL formatted ID of the activity from the xAPI statements |
| xapi_activities | activity_type | VarChar | The URL formatted type of the activity from the xAPI statements |
| xapi_activities | interaction_type | VarChar | The kind of interaction the user can have with the activity (e.g.choice) |
| xapi_activities | activity_name | VarChar | The written name of the activity as it would appear to the user. Commonly a written question. |
| xapi_activities | activity_number | Integer | A numeric identifier for this activity |
| xapi_activities | activity_description | VarChar | The written description of the activity (often the same as the activity name) |
| xapi_activities | is_xapi_object | Boolean | A boolean field showing whether the object is an xAPI object or not |
| xapi_statement_choices | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_statement_choices | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_statement_choices | statement_id | VarChar | The statement this choice response belongs to |
| xapi_statement_choices | activity_id | VarChar | The activity this choice was made in |
| xapi_statement_choices | component_id | VarChar | The answer option the learner selected |
| lxp_users | user_id | BigInt | The unique ID of this user in the LXP |
| lxp_users | user_org_id | BigInt | The organisation this user belongs to |
| lxp_users | user_uuid | VarChar | The user's universally unique identifier |
| lxp_users | user_sso_id | VarChar | The user's single sign-on identifier |
| lxp_users | username | VarChar | The user's login username |
| lxp_users | user_account | VarChar | The user's account name |
| lxp_users | user_email | VarChar | The user's email address |
| lxp_users | user_fname | VarChar | The user's first name |
| lxp_users | user_lname | VarChar | The user's last name |
| lxp_users | user_location | VarChar | The user's location |
| lxp_users | user_function | VarChar | The user's job function or department |
| lxp_users | user_seniority | VarChar | The user's seniority level |
| lxp_users | user_org_ref | VarChar | An external reference ID for the user's organisation |
| lxp_users | user_timezone | VarChar | The user's timezone setting |
| lxp_users | user_language | VarChar | The user's preferred language |
| lxp_users | user_expires_at | Timestamp | When the user's account expires |
| lxp_users | user_created_at | Timestamp | When the user account was created |
| lxp_users | user_updated_at | Timestamp | When the user account was last updated |
| lxp_users | user_deleted_at | Timestamp | When the user account was deleted, if applicable |
| lxp_users | user_last_login_at | Timestamp | When the user last logged in |
| xapi_personas | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_personas | persona_id | VarChar | The unique ID of this unified learner identity |
| xapi_personas | persona_name | VarChar | The display name for this learner persona |
| xapi_statements | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_statements | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_statements | statement_id | VarChar | The unique ID of this xAPI statement |
| xapi_statements | timestamp | Timestamp | When the learning activity occurred |
| xapi_statements | stored | Timestamp | When the statement was received by the LRS |
| xapi_statements | registration | VarChar | Groups statements from the same attempt together |
| xapi_statements | platform | VarChar | The system or tool that sent the statement |
| xapi_statements | actor_hk | VarChar | Internal key linking to the actor who performed the action |
| xapi_statements | persona_id | VarChar | The unified learner identity this actor maps to |
| xapi_statements | verb_id | VarChar | The xAPI verb IRI (e.g. completed, passed, attempted) |
| xapi_statements | activity_id | VarChar | The IRI identifying the learning content |
| xapi_statements | activity_type | VarChar | The type of learning content (e.g. course, module, video) |
| xapi_statements | statement_ref_id | VarChar | ID of another statement this one refers to |
| xapi_statements | response | VarChar | The learner's raw response to an interaction |
| xapi_statements | raw_score | Real | The learner's score before scaling |
| xapi_statements | min_score | Real | The lowest possible score for this activity |
| xapi_statements | max_score | Real | The highest possible score for this activity |
| xapi_statements | scaled_score | Real | The score as a value between -1 and 1 |
| xapi_statements | duration_seconds | BigInt | Time spent on the activity, in seconds |
| xapi_statements | voided | Boolean | Whether this statement has been voided (cancelled) |
| xapi_statements | completion | Boolean | Whether the learner completed the activity |
| xapi_statements | success | Boolean | Whether the learner passed or succeeded |
| xapi_statements | response_int | Integer | The learner's response as a numeric value |
| xapi_statements | is_object_activity | Integer | Whether the statement object is a learning activity |
| xapi_statements | is_login | Integer | Whether this statement records a login event |
| xapi_statements | is_enrolment | Integer | Whether this statement records a course enrolment |
| xapi_statements | is_launch | Integer | Whether this statement records content being launched |
| xapi_statements | is_object_completion | Integer | Whether this records completion of a learning object |
| xapi_statements | is_level_completion | Integer | Whether this records completion of a course module |
| xapi_statements | is_course_completion | Integer | Whether this records completion of a course |
| xapi_statements | is_badge | Integer | Whether this statement is related to a badge award |
| xapi_statements | is_xapi_completion | Integer | Whether completion was reported via xAPI |
| xapi_statements | lxp_resource_id | BigInt | Links this statement to a resource in the LXP |
| xapi_statements | lxp_object_id | BigInt | Links this statement to a learning object in the LXP |
| xapi_statements | lxp_level_id | BigInt | Links this statement to a module in the LXP |
| xapi_statements | lxp_course_id | BigInt | Links this statement to a course in the LXP |
| xapi_statements | lxp_award_class_id | BigInt | Links this statement to a badge or award in the LXP |
| xapi_statements | multi_objects | Integer | Whether the statement references multiple objects |
| xapi_statements | statement_rank | BigInt | The order of this statement within a sequence |
| xapi_statements | activity_id_base_rise | VarChar | MANUALLY FILL IN |
| xapi_statements | timestamp(ISO) | VarChar | The activity timestamp in ISO 8601 format |
| lxp_award_class | award_class_id | BigInt | The unique ID of this badge or award type |
| lxp_award_class | award_class_name | VarChar | The name of this badge or award |
| lxp_award_class | award_class_name_en | VarChar | The badge or award name in English |
| xapi_context_activities | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_context_activities | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_context_activities | statement_id | VarChar | The statement this context activity is linked to |
| xapi_context_activities | activity_id | VarChar | The IRI of the context activity |
| xapi_context_activities | activity_type | VarChar | The type of this context activity |
| xapi_context_activities | context_type | VarChar | The role of this activity (e.g. parent, grouping, category) |
| lxp_levels | level_id | BigInt | The unique ID of this module |
| lxp_levels | level_course_id | BigInt | The course this module belongs to |
| lxp_levels | level_author_id | Integer | The user who authored this module |
| lxp_levels | level_name | VarChar | The module title |
| lxp_levels | level_name_en | VarChar | The module title in English |
| lxp_levels | level_description | VarChar | A description of this module |
| lxp_levels | level_ordering | Integer | The display order of this module within the course |
| lxp_levels | level_start_at | Timestamp | When this module becomes available |
| lxp_levels | level_deleted_at | Timestamp | When this module was deleted, if applicable |
| lxp_levels | level_created_at | Timestamp | When this module was created |
| lxp_levels | level_updated_at | Timestamp | When this module was last updated |
| xapi_extensions | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_extensions | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_extensions | statement_id | VarChar | The statement this extension data belongs to |
| xapi_extensions | extension_type | VarChar | Where the extension appears (context, result, or object) |
| xapi_extensions | extension_key | VarChar | The IRI key identifying this extension |
| xapi_extensions | extension_value | VarChar | The value stored in this extension |
| groups | name | VarChar | The name of the user group |
| groups | external_id | VarChar | An external reference ID for this group |
| groups | description | VarChar | A description of this group |
| groups | deleted_at | Timestamp | When this group was deleted, if applicable |
| lxp_resources | resource_id | BigInt | The unique ID of this content resource |
| lxp_resources | resource_name | VarChar | The title of this content resource |
| lxp_resources | resource_description | VarChar | A description of this content resource |
| lxp_resources | resource_type | BigInt | The format of the resource (e.g. SCORM, video, PDF) |
| lxp_resources | resource_author_id | BigInt | The user who uploaded or created this resource |
| lxp_resources | resource_deleted_at | Timestamp | When this resource was deleted, if applicable |
| lxp_resources | resource_created_at | Timestamp | When this resource was created |
| lxp_resources | resource_updated_at | Timestamp | When this resource was last updated |
| lxp_resources | resource_external_id | VarChar | An external reference ID for this resource |
| lxp_resources | resource_activity_id | VarChar | The xAPI activity IRI linked to this resource |
| xapi_interaction_components | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_interaction_components | activity_id | VarChar | The activity this interaction component belongs to |
| xapi_interaction_components | component_id | VarChar | The unique ID of this interaction component |
| xapi_interaction_components | component_type | VarChar | The type of component (e.g. choice, scale, step) |
| xapi_interaction_components | component_description | VarChar | The human-readable label for this component |
| xapi_interaction_components | component_number | Integer | The position of this component in the interaction |
| xapi_interaction_components | correct | Boolean | Whether this component is a correct answer option |
| lxp_courses | course_id | BigInt | The unique ID of this course in the LXP |
| lxp_courses | course_org_id | BigInt | The organisation this course belongs to |
| lxp_courses | course_type | Integer | The type of course (e.g. elearning, blended, playlist) |
| lxp_courses | learning_activity_type | VarChar | The learning activity format for this course |
| lxp_courses | course_name | VarChar | The course title |
| lxp_courses | course_name_en | VarChar | The course title in English |
| lxp_courses | course_external_ref | VarChar | An external reference ID for this course |
| lxp_courses | short_description | VarChar | A brief summary of the course |
| lxp_courses | course_alias | VarChar | A short alternative name or slug for the course |
| lxp_courses | visibility | VarChar | Who can see this course (e.g. public, restricted) |
| lxp_courses | is_promoted | Boolean | Whether this course is featured or promoted |
| lxp_courses | allow_self_enrolment | Boolean | Whether learners can enrol themselves |
| lxp_courses | allow_xapi_enrolment | Boolean | Whether enrolment can be triggered via xAPI |
| lxp_courses | allow_unenrol | Boolean | Whether learners can unenrol themselves |
| lxp_courses | days_to_complete | BigInt | The recommended number of days to complete this course |
| lxp_courses | mandatory | Boolean | Whether this course is mandatory for learners |
| lxp_courses | language | VarChar | The primary language of the course content |
| lxp_courses | course_start_at | Timestamp | When the course becomes available |
| lxp_courses | course_close_at | Timestamp | When the course closes for enrolment or access |
| lxp_courses | duration_minutes | Integer | The estimated duration of the course in minutes |
| lxp_courses | course_created_at | Timestamp | When the course was created |
| lxp_courses | course_updated_at | Timestamp | When the course was last updated |
| lxp_courses | course_deleted_at | Timestamp | When the course was deleted, if applicable |
| xapi_actors | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_actors | actor_hk | VarChar | Internal key uniquely identifying this actor |
| xapi_actors | persona_id | VarChar | The unified learner identity this actor maps to |
| xapi_actors | actor_identifier | VarChar | The raw identifier used in the xAPI statement |
| xapi_actors | actor_email | VarChar | The actor's email address from the xAPI statement |
| xapi_actors | actor_homepage | VarChar | The homepage URL of the actor's account provider |
| xapi_actors | actor_account | VarChar | The actor's account name at their account provider |
| xapi_actors | actor_openid | VarChar | The actor's OpenID identifier |
| xapi_organisations | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_organisations | organisation_name | VarChar | The name of the organisation in the xAPI statements |
| xapi_activities (object) | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_activities (object) | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_activities (object) | activity_id | VarChar | The IRI identifying this learning activity |
| xapi_activities (object) | activity_type | VarChar | The type of learning content (e.g. course, module, video) |
| xapi_activities (object) | interaction_type | VarChar | The interaction type (e.g. choice, true-false, fill-in) |
| xapi_activities (object) | activity_name | VarChar | The human-readable name of the activity |
| xapi_activities (object) | activity_number | Integer | A numeric identifier for this activity |
| xapi_activities (object) | activity_description | VarChar | A description of the activity from the xAPI statement |
| xapi_activities (object) | is_xapi_object | Boolean | Whether this activity is the direct object of a statement |
| lxp_objects | object_id | BigInt | The unique ID of this learning item |
| lxp_objects | object_level_id | BigInt | The module this item belongs to |
| lxp_objects | object_author_id | Integer | The user who authored this item |
| lxp_objects | object_resource_id | BigInt | The content resource attached to this item |
| lxp_objects | object_type | BigInt | The type of learning item (e.g. video, document, quiz) |
| lxp_objects | object_name | VarChar | The title of this learning item |
| lxp_objects | allow_comments | Boolean | Whether learners can comment on this item |
| lxp_objects | object_description | VarChar | A description of this learning item |
| lxp_objects | completion_type | VarChar | How completion is determined for this item |
| lxp_objects | view_time | Integer | The minimum view time required to count as complete |
| lxp_objects | object_ordering | Integer | The display order of this item within the module |
| lxp_objects | object_created_at | Timestamp | When this item was created |
| lxp_objects | object_updated_at | Timestamp | When this item was last updated |
| lxp_objects | object_deleted_at | Timestamp | When this item was deleted, if applicable |
| lxp_objects | externallink | Boolean | An external URL associated with this item |
| lxp_objects | is_private | Boolean | Whether this item is visible only to certain learners |
| lxp_objects | activity_id | VarChar | The xAPI activity IRI linked to this item |
| xapi_stores | organisation_id | VarChar | The ID of the organisation in the xAPI statements |
| xapi_stores | store_id | VarChar | The ID of the LRS store the activity is from |
| xapi_stores | store_name | VarChar | The name of the LRS store |