Common Properties for all Caliper Messages

Document created by Oxana Jurosevic Administrator on Oct 17, 2018Last modified by Oxana Jurosevic Administrator on Oct 17, 2018
Version 2Show Document
  • View in full screen mode

Back to:  Table of Contents 

Common Properties for all Caliper Messages

 

Known Context Types  : 'User' and  'Course'

 

Context properties:

 

            id: context_id

Type: context_type

user_id: user_id // ID of current user should be preferred

course_id: course_id

 

                        eventExtensions

 

            job_id: job_id,

                                   job_tag: job_tag,

                                  hostname: hostname,

                                  request_id: request_id,

                                   user_agent: user_agent,

                                   version: '1.0.0'

 

Actor Properties

 

 // user based action will return

 

Actor type: Person

     

         id: iri.user(user_id),

         extensions:

         real_user_id: real_user_id,

         user_login: user_login,

         root_account_id: root_account_id,

         root_account_lti_guid: root_account_lti_guid,

         root_account_uuid: root_account_uuid,

         entity_id: user_id

 

   // a system generated event will return this

    

Actor Type = SoftwareApplication

 

id: iri.edApp(attributes)

 

Membership Properties

 

roleMap

            user: 'User',

            siteadmin: 'SysAdmin',

 teacher: 'Instructor',

 student: 'Student',

 admin: 'Administrator',

 accountuser: 'Administrator',

 studentenrollment: 'Learner',

 teacherenrollment: 'Instructor',

 taenrollment: 'TeachingAssistant',

 designerenrollment: 'ContentDeveloper',

 observerenrollment: 'Observer',

 studentviewenrollment: 'Learner’

 

Events with no membership properties include all events generated by edApp

  1. grade_changed
  2. course_created

 

Back to:  Table of Contents 

Attachments

    Outcomes