id: http://schema.dases.eu/xapi/profile/common
type: Profile
conforms to: https://w3id.org/xapi/profiles#1.0
pref label:
  en: DASES Common Profile
definition:
  en: Common profile of typical activities occurring in a LMS or educational app.
versions:
  id: http://schema.dases.eu/xapi/profile/common/v/1
  generated at time: 2022-04-14T18:58:48.297Z
author:
  type: Organization
  name: Gaia-X Data Space for Education and Skills (DASES)
  url: https://www.dases.eu
concepts:
  id: http://schema.dases.eu/xapi/profile/common/extension/starting-date
  type: ContextExtension
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: starting date
  definition:
    en: This is the starting date of the activity, formatted according to the normal format of ISO 8601.
  inline schema: {"type":"string"}
concepts:
  id: http://schema.dases.eu/xapi/profile/common/extension/ending-date
  type: ContextExtension
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: ending date
  definition:
    en: This is the ending date of the activity, formatted according to the normal format of ISO 8601.
  inline schema: {"type": "string"}
concepts:
  id: http://schema.dases.eu/xapi/profile/common/extension/role
  type: ContextExtension
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: role
  definition:
    en: This is the role of the actor. For example (but not limited to): admin, manager, teacher, guest, learner or staff.
  inline schema: {"type": "string"}
templates:
  id: http://schema.dases.eu/xapi/profile/common/templates/accessed-page
  type: StatementTemplate
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: Accessed a page
  definition:
    en: The actor has accessed a page of a LMS or a website.
  verb: https://w3id.org/xapi/netc/verbs/accessed
  object activity type: https://w3id.org/xapi/acrossx/activities/webpage
  rules:
    location: $.context.contextActivities.category.id
    presence: included
    any: https://profiles.adlnet.gov/xapi/bf76a8cc-f46a-4065-aa7b-443df4efc2be/v/1
  rules:
    location: $.object.definition.extensions['https://w3id.org/xapi/acrossx/extensions/type']
    presence: recommended
    any: course
    any: course_list
    any: user_space
templates:
  id: http://schema.dases.eu/xapi/profile/common/templates/accessed-file
  type: StatementTemplate
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: Accessed a file
  definition:
    en: The actor has accessed a file such as a pdf, doc, txt, ppt, xls, csv, etc.
  verb: https://w3id.org/xapi/netc/verbs/accessed
  object activity type: http://activitystrea.ms/file
  rules:
    location: $.context.contextActivities.category.id
    presence: included
    any: https://profiles.adlnet.gov/xapi/bf76a8cc-f46a-4065-aa7b-443df4efc2be/v/1
  rules:
    location: $.object.definition.extensions['https://w3id.org/xapi/acrossx/extensions/type']
    presence: recommended
templates:
  id: http://schema.dases.eu/xapi/profile/common/templates/registered-course
  type: StatementTemplate
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: Registered to a course
  definition:
    en: The actor is registered to a course.
  verb: https://w3id.org/xapi/tla/verbs/registered
  object activity type: http://adlnet.gov/expapi/activities/course
  rules:
    location: $.context.extensions['http://schema.dases.eu/xapi/profile/common/extension/starting-date']
    presence: recommended
  rules:
    location: $.context.extensions['http://schema.dases.eu/xapi/profile/common/extension/ending-date']
    presence: recommended
  rules:
    location: $.context.extensions['http://schema.dases.eu/xapi/profile/common/extension/role']
    presence: recommended
templates:
  id: http://schema.dases.eu/xapi/profile/common/templates/uploaded-file
  type: StatementTemplate
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: Uploaded a file
  definition:
    en: The actor has uploaded file, such as pdf, doc, txt, ppt, xls, csv, jpg, png, etc... (+ video and audio file?)
  verb: https://w3id.org/xapi/netc/verbs/uploaded
  object activity type: http://activitystrea.ms/file
  rules:
    location: $.object.definition.extensions['https://w3id.org/xapi/acrossx/extensions/type']
    presence: recommended
  rules:
    location: $.context.contextActivities.parent[*].id
    presence: included
  rules:
    location: $.context.contextActivities.grouping[*].id
    presence: recommended
  rules:
    location: $.context.extensions['https://w3id.org/xapi/netc/extensions/user-agent']
    presence: recommended
templates:
  id: http://schema.dases.eu/xapi/profile/common/templates/answered-question
  type: StatementTemplate
  in scheme: http://schema.dases.eu/xapi/profile/common/v/1
  pref label:
    en: Answered a question
  definition:
    en: The user answered a question in a quizz or an assessment
  verb: http://adlnet.gov/expapi/verbs/answered
  object activity type: http://adlnet.gov/expapi/activities/question
  rules:
    location: $.result.success
    presence: included
  rules:
    location: $.result.response
    presence: included
  rules:
    location: $.result.score.scaled
    presence: recommended
  rules:
    location: $.result.score.raw
    presence: recommended
  rules:
    location: $.result.score.min
    presence: recommended
  rules:
    location: $.result.score.max
    presence: recommended