diff --git a/profiles/activity-context.jsonld b/context/activity-context.jsonld similarity index 100% rename from profiles/activity-context.jsonld rename to context/activity-context.jsonld diff --git a/profiles/acrossx.jsonld b/profiles/acrossx.jsonld deleted file mode 100644 index fbdff6c..0000000 --- a/profiles/acrossx.jsonld +++ /dev/null @@ -1,309 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/acrossx", - "type": "Profile", - "conformsTo": "https://github.com/adlnet/xapi-profiles/", - "prefLabel": { - "en": "AcrossX Profile" - }, - "seeAlso": "http://xapi-cop.net/zh/", - "author": { - "type": "Group", - "name": "xAPI Chinese Community of Practice" - }, - "versions": [ - { - "id": "https://w3id.org/xapi/acrossx", - "generatedAtTime": "2017-07-14T11:35:00Z" - }], -"concepts": [ - { - "id": "https://w3id.org/xapi/acrossx/activities/message", - "type": "ActivityType", - "definition": { - "en": "Information that is communicated by or to or between individual actors or groups of actors." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "message" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/collaboration", - "type": "ActivityType", - "definition": { - "en": "The activity involving multiple actors working together on an assignment, a project, a problem-solving challenge or a cause." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "collaboration" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/e-book", - "type": "ActivityType", - "definition": { - "en": "A book in electronic form as a document, file, or interactive application with optional formatting and control features." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "e-book" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/face-to-face-discussion", - "type": "ActivityType", - "definition": { - "en": "An exchange or communication on a topic by two or more actors in-person taking place in a physical location." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "face-to-face-discussion" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/instant-response-system", - "type": "ActivityType", - "definition": { - "en": "An activity that allows instructors to create slides with embedded quizzes/polling questions to collect responses and get reporting instantly during class." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "instant-response-system" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/learning-plan", - "type": "ActivityType", - "definition": { - "en": "Used to plan and organize learning activities from different activity providers. It could be built by instructors, learning designers or learners." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "learning-plan" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/note", - "type": "ActivityType", - "definition": { - "en": "Refers to an object that was annotated as part of the activity." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "note" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/online-discussion", - "type": "ActivityType", - "definition": { - "en": "An exchange or communication on a topic by two or more actors in-person taking place online or virtually." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "online-discussion" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/page", - "type": "ActivityType", - "definition": { - "en": "The single representation of a specific page number and the content on that page in any digitally or physically written material." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "page" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/printed-assessment", - "type": "ActivityType", - "definition": { - "en": "A written examination or test provided in paper form, and intended to be completed using a pencil or pen." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "printed-assessment" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/printed-book", - "type": "ActivityType", - "definition": { - "en": "A written work or composition that has been physically printed on paper pages bound together." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "printed-book" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/printed-worksheet", - "type": "ActivityType", - "definition": { - "en": "A page or group of pages containing problems, exercises, or instructions for learning activities." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "printed-worksheet" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/video", - "type": "ActivityType", - "exactMatch": [ - { "id": "http://activitystrea.ms/schema/1.0/video" }, - { "id": "https://w3id.org/xapi/video/activity-type/video"} - ], - "definition": { - "en": "A recording of audible and visual content intended to be shown on a video display." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "video" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/activities/webpage", - "type": "ActivityType", - "definition": { - "en": "A web document (usually HTML-based) accessible by anyone connected to the internet and by using a web browser." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "webpage" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/designed", - "type": "Verb", - "definition": { - "en": "Indicates the actor carefully planned or created the object for a specific purpose." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "designed" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/disliked", - "type": "Verb", - "definition": { - "en": "Indicates that the actor does not approve of the object or activity." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "disliked" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/edited", - "type": "Verb", - "definition": { - "en": "Indicates the actor added or modified the content in a document or object." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "edited" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/evaluated", - "type": "Verb", - "definition": { - "en": "Indicates the actor formed an opinion or prepared to assess another actor or object." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "evaluated" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/liked", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/like" - } ], - "definition": { - "en": "Indicates that the actor approves of, recommends, or endorses the object or activity." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "liked" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/posted", - "type": "Verb", - "definition": { - "en": "Used to describe the action of posting a discussion topic or message on a forum." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "posted" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/reported", - "type": "Verb", - "definition": { - "en": "Indicates the actor announced the result of an experience or activity." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "reported" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/revealed", - "type": "Verb", - "definition": { - "en": "Indicates the actor exposed an object or content that's previously hidden." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "revealed" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/searched", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/search" - } ], - "definition": { - "en": "Indicates the actor looked for information in an object." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "searched" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/was-assigned", - "type": "Verb", - "definition": { - "en": "Indicates the actor was given or required to access an object." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "was-assigned" - } - }, - { - "id": "https://w3id.org/xapi/acrossx/verbs/watched", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/watch" - } ], - "definition": { - "en": "Indicates the actor observed a visual obect." - }, - "inScheme": "https://w3id.org/xapi/acrossx", - "prefLabel": { - "en": "watched" - } - } - ] -} diff --git a/profiles/adb.jsonld b/profiles/adb.jsonld deleted file mode 100644 index cacad0a..0000000 --- a/profiles/adb.jsonld +++ /dev/null @@ -1,230 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/adb", - "type": "Profile", - "conformsTo": "https://github.com/adlnet/xapi-profiles/", - "prefLabel": { - "en": "Actionable Data Book (ADB) Profile" - }, - "definition": { - "en": "The xAPI ABD profile is used to identify interactions between an actor and an eBook activity based on the IEEE ADB project." - }, - "seeAlso": "https://standards.ieee.org/develop/indconn/adb/", - "author": { - "type": "Group", - "name": "IEEE Industry Connections Actionable Data Book (ADB) Team" - }, - "versions": [ - { - "id": "https://w3id.org/xapi/adb", - "generatedAtTime": "2017-06-30T8:26:00Z" - } - ], - "concepts": [ - { - "id": "https://w3id.org/xapi/adb/verbs/annotated", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Provide notes or symbols for further explanation or thoughts while reading." - }, - "narrower": [ { - "id": "https://w3id.org/xapi/adb/verbs/highlighted" - } ], - "relatedMatch": [ { - "id": "https://w3id.org/xapi/acrossx/verbs/annotated" - } ], - "prefLabel": { - "en": "annotated" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/arrived", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "broadMatch": { - "id": "http://adlnet.gov/expapi/verbs/progressed" - }, - "definition": { - "en": "Indicates the actor arrived a specific location by movement or progress. " - }, - "scopeNote": { - "en": "To arrive a specific scene within a story or book experience." - }, - "prefLabel": { - "en": "arrived" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/attended", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Indicates the actor was present at a virtual or physical event or activity. " - }, - "prefLabel": { - "en": "attended" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/bookmarked", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Persisting the current location (page) where the reader stopped the ebook activity." - }, - "prefLabel": { - "en": "bookmarked" - }, - "related": [ { - "id": "https://w3id.org/xapi/adb/verbs/annotated" - } ] - }, - { - "id": "https://w3id.org/xapi/adb/verbs/coached", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "To teach or lead another person through an activity. Coached is a direct response to the Requested verb. The receiver of a Requested statement will periodically respond by sending a Coached statement that clears out the coach's queue." - }, - "prefLabel": { - "en": "coached" - }, - "related": [ { - "id": "https://w3id.org/xapi/adb/verbs/requested" - } ] - }, - { - "id": "https://w3id.org/xapi/adb/verbs/demanded", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Indicates a request for eBook session or redirect. Shall be distinct from requested which refers to actor conversations (e.g., requested help fom instructor)." - }, - "prefLabel": { - "en": "demanded" - }, - "related": [ { - "id": "https://w3id.org/xapi/adb/verbs/requested" - } ] - }, - { - "id": "https://w3id.org/xapi/adb/verbs/described", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Detailed answer as a result of an interaction in an ebook activity or assessment." - }, - "prefLabel": { - "en": "described" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/highlighted", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "broader": [ { - "id": "https://w3id.org/xapi/adb/verbs/annotated" - } ], - "definition": { - "en": "Highlight important areas in an eBook for the purpose of later review or note taking." - }, - - "narrower": [ { - "id": "https://w3id.org/xapi/adb/verbs/noted" - } ], - "prefLabel": { - "en": "highlighted" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/initiated", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Used to initiate text code, user preferences or accessibility preferences to a teacher." - }, - "prefLabel": { - "en": "initiated" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/noted", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "broader": [ { - "id": "https://w3id.org/xapi/adb/verbs/annotated" - } ], - "definition": { - "en": "Add annotation or notes to selected text within an ebook or highlight." - }, - "prefLabel": { - "en": "noted" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/read", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/read" - } ], - "definition": { - "en": "Indicates that the actor read the object. This is typically only applicable for objects representing printed or written content, such as a book, a message or a comment." - }, - "prefLabel": { - "en": "read" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/referenced", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Use dictionary or other resource to look up a selected word. A learner might reference outside information in support of the topic and could reference additional reading for his/her colleagues or mentor." - }, - "prefLabel": { - "en": "referenced" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/requested", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/request" - } ], - "definition": { - "en": "Indicates the actor needed or demanded an object or another actor. Requested indicates a comment that is shared with peers as a group or Coach as a trainer. The request for coaching or help prompts users to respond giving them coaching credit." - }, - "prefLabel": { - "en": "requested" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/selected", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "definition": { - "en": "Choose section of text to copy to clipboard." - }, - "prefLabel": { - "en": "selected" - } - }, - { - "id": "https://w3id.org/xapi/adb/verbs/watched", - "inScheme": "https://w3id.org/xapi/adb", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/watch" - } ], - "definition": { - "en": "Indicates that the actor has watched the object. This verb is typically applicable only when the object represents dynamic, visible content such as a movie, a television show or a public performance." - }, - "prefLabel": { - "en": "watched" - } - } - ] - } diff --git a/profiles/attempt-state-context.jsonld b/profiles/attempt-state-context.jsonld deleted file mode 100644 index 4471c2e..0000000 --- a/profiles/attempt-state-context.jsonld +++ /dev/null @@ -1,29 +0,0 @@ -{ - "@context": { - "scorm": "https://w3id.org/xapi/scorm", - "comments_from_lms": "scorm:comments_from_lms", - "comment": "scorm:comment", - "location": "scorm:location", - "timestamp": "scorm:timestamp", - "credit": "scorm:credit", - "mode": "scorm:mode", - "preferences": "scorm:preferences", - "audio_level": "scorm:audio_level", - "language": "scorm:language", - "delivery_speed": "scorm:delivery_speed", - "audio_captioning": "scorm:audio_captioning", - "total_time": "scorm:total_time", - "adl_data": "scorm:adl_data", - "activityId": "scorm:activityId", - "agent": "scorm:agent", - "objectType": "scorm:objectType", - "name": "scorm:name", - "mbox": "scorm:mbox", - "mbox_sha1sum": "scorm:mbox_sha1sum", - "openid": "scorm:openid", - "account": "scorm:account", - "homePage": "scorm:homePage", - "stateId": "scorm:stateId", - "registration": "scorm:registration" - } -} diff --git a/profiles/attempt-state-schema.json b/profiles/attempt-state-schema.json deleted file mode 100644 index 12cb29a..0000000 --- a/profiles/attempt-state-schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "comments_from_lms": { - "comment": {"type": "string"}, - "location": {"type": "string"}, - "timestamp": {"type": "string", "format": "date-time"} - }, - "credit": {"enum": ["credit", "no-credit"]}, - "mode": {"enum": ["browse", "normal", "review"]}, - "location": {"type": "string"}, - "preferences": { - "audio_level": { "type": "number", "minimum": 0}, - "language": {"type": "string"}, - "delivery_speed": { "type": "number" , "minimum": 0}, - "audio_captioning": {"enum": [-1, 0, 1]} - }, - "total_time": {"type": "string"}, - "adl_data": {"type": "array", "items": { - "type": "object", - "properties": { - "activityId": {"type": "string", "format": "uri"}, - "agent": { - "objectType": {"enum": ["Agent"]}, - "name": {"type": "string"}, - "mbox": {"type": "string", "format": "uri"}, - "mbox_sha1sum": {"type": "string"}, - "openid": {"type": "string", "format": "uri"}, - "account": { - "type": "object", - "properties": { - "name": {"type": "string"}, - "homePage": {"type": "string", "format": "uri"} - } - } - }, - "stateId": {"type": "string"}, - "registration": {"type": "string"} - }} - } - } -} diff --git a/profiles/cmi5.jsonld b/profiles/cmi5.jsonld deleted file mode 100644 index f04ac41..0000000 --- a/profiles/cmi5.jsonld +++ /dev/null @@ -1,599 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/cmi5", - "type": "Profile", - "conformsTo": "https://github.com/adlnet/xapi-profiles/", - "prefLabel": { - "en": "Experience API cmi5 Profile, Quartz release" - }, - "definition": { - "en": "This specification describes interoperable runtime communication between Learning Management Systems (LMS) and Assignable Units (AU).\n\nThe runtime communication and behavior of all parts of the system are carefully described in the full specification, which can be found at https://github.com/AICC/CMI-5_Spec_Current/blob/quartz/cmi5_spec.md . This is a structured representation of cmi5 concepts, statement structure, and statement communications patterns that the additional rules in the full specification build upon and provide the definitive interpretation of." - }, - "seeAlso": "https://github.com/AICC/CMI-5_Spec_Current/blob/quartz/cmi5_spec.md", - "versions": [ - { - "id": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "generatedAtTime": "2017-03-27T12:30:00-07:00" - } - ], - "author": { - "type": "Organization", - "name": "cmi5 Working Group" - }, - "concepts": [ - { - "@id": "https://w3id.org/xapi/adl/verbs/satisfied", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "@type": "Verb", - "definition": { - "en": "Indicates that the authority or activity provider determined the actor has fulfilled the criteria of the object or activity." - }, - "prefLabel": { - "en": "satisfied" - } - }, - { - "@id": "https://w3id.org/xapi/adl/verbs/waived", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "@type": "Verb", - "definition": { - "en": "Indicates that the learning activity requirements were met by means other than completing the activity. A waived statement is used to indicate that the activity may be skipped by the actor." - }, - "prefLabel": { - "en": "waived" - } - }, - { - "@id": "https://w3id.org/xapi/cmi5/activities/block", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "@type": "ActivityType", - "definition": { - "en": "A block represents a number of Assignable Units of which progress (completion/success) is rolled up to. In cmi5 it is every level above the AU and below the Course." - }, - "prefLabel": { - "en": "block" - } - }, - { - "@id": "https://w3id.org/xapi/cmi5/activities/course", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "@type": "ActivityType", - "definition": { - "en": "A course represents an amount of content that is published and registered for with the purpose of gaining completion. It is represented with a Course Structure Format in cmi5 as the highest level of content (above Block and AU)." - }, - "prefLabel": { - "en": "course" - } - }, - - { - "id": "https://w3id.org/xapi/cmi5/result/extensions/progress", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ResultExtension", - "prefLabel": { - "en": "Progress" - }, - "definition": { - "en": "An integer value between 0 and 100 (inclusive) indicating the completion of the AU as a percentage.\n\nThe AU may set this value in statements to indicate level of completion. The AU SHOULD NOT set a progress value in a Completed statement or if it has previously issued a Completed statement for the AU in the current registration." - }, - "inlineSchema": "{ \"type\": \"number\", \"maximum\": 100, \"minimum\": 0, \"multipleOf\": 1.0 }" - }, - { - "id": "https://w3id.org/xapi/cmi5/result/extensions/reason", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ResultExtension", - "prefLabel": { - "en": "Reason" - }, - "definition": { - "en": "Indicates the reason why an AU was 'waived' (marked complete by an alternative means)" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/sessionid", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Session ID" - }, - "definition": { - "en": "A unique identifier for a single AU launch session based on actor and course registration." - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/masteryscore", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Mastery Score" - }, - "definition": { - "en": "'masteryScore' as provided in the LMS Launch Data for the AU plus registration used to determine the pass/fail result based on score" - }, - "inlineSchema": "{ \"type\": \"number\", \"maximum\": 1, \"minimum\": 0 }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/launchmode", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Launch Mode" - }, - "definition": { - "en": "Indicates what launch mode an AU was launched with by the LMS" - }, - "inlineSchema": "{ \"enum\": [\"Normal\", \"Browse\", \"Review\"] }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/launchurl", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Launch URL" - }, - "definition": { - "en": "The URL used by the LMS to launch the AU" - }, - "inlineSchema": "{ \"type\": \"string\", \"format\": \"uri\" }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/launchparameters", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Launch Parameters" - }, - "definition": { - "en": "'launchParameters' as provided in the LMS Launch Data for the AU plus registration" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/cmi5/context/extensions/moveon", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "type": "ContextExtension", - "prefLabel": { - "en": "Move On" - }, - "definition": { - "en": "'moveOn' as provided in the LMS Launch Data for the AU plus registration" - }, - "inlineSchema": "{ \"enum\": [\"Passed\", \"Completed\", \"CompletedAndPassed\", \"CompletedOrPassed\", \"NotApplicable\"] }" - } - ], - "templates": [ - { - "id": "https://w3id.org/xapi/cmi5#generalrestrictions", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "prefLabel": { - "en": "Restrictions for all cmi5-defined Statements" - }, - "rules": [ - { - "location": "$.id", - "rule": "included" - }, - { - "location": "$.timestamp", - "rule": "included" - }, - { - "location": "$.context.contextActivities.grouping[*]", - "rule": "included", - "scopeNote": "An Activity object with an 'id' property whose value is the unaltered value of the AU's id attribute from the course structure (See Section 13.1.4 AU Metadata – id) MUST be included in the 'grouping' context activities." - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/sessionid']", - "rule": "included" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#launched", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/launched", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.context.contextActivities.category[*].id", - "none": "https://w3id.org/xapi/cmi5/context/categories/moveon" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/launchmode']", - "rule": "included", - "all": ["Normal", "Browse", "Review"] - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/launchurl']", - "rule": "included", - "scopeNote": "The LMS MUST put a fully qualified URL equivalent to the one that the LMS used to launch the AU without the name/value pairs included as defined in section 8.1 in the context extensions of the 'Launched' statement." - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/moveon']", - "rule": "included", - "all": ["Passed", "Completed", "CompletedAndPassed", "CompletedOrPassed", "NotApplicable"] - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/cmi5/context/extensions/launchparameters']", - "rule": "included" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#initialized", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/initialized", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.context.contextActivities.category[*].id", - "none": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#completed", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/completed", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "included", - "all": [true] - }, - { - "location": "$.result.duration", - "rule": "included", - "scopeNote": "The AU SHOULD calculate duration as the time spent by the learner to achieve completion status." - }, - { - "location": "$.context.contextActivities.category[*].id", - "rule": "included", - "any": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#passed", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/passed", - "rules": [ - { - "location": "$.result.score", - "rule": "recommended" - }, - { - "location": "$.result.success", - "rule": "included", - "all": [true] - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.result.duration", - "rule": "included", - "scopeNote": "The AU SHOULD calculate duration as the time spent by the learner to attempt and succeed in a judged activity of the AU." - }, - { - "location": "$.context.contextActivities.category[*].id", - "rule": "included", - "any": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#failed", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/failed", - "rules": [ - { - "location": "$.result.score", - "rule": "recommended" - }, - { - "location": "$.result.success", - "rule": "included", - "all": [false] - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.result.duration", - "rule": "included", - "scopeNote": "The AU SHOULD calculate duration as the time spent by the learner to attempt and fail in a judged activity of the AU." - }, - { - "location": "$.context.contextActivities.category[*].id", - "rule": "included", - "any": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#abandoned", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "https://w3id.org/xapi/adl/verbs/abandoned", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.result.duration", - "rule": "included", - "scopeNote": "The duration property MUST, at a minimum, be set as the total session time, calculated as the time between the 'Launched' statement and the last statement (of any kind) issued by the AU. The LMS SHOULD also use other (LMS specific) methods (if available) to determine if the total session time was longer." - }, - { - "location": "$.context.contextActivities.category[*].id", - "none": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#waived", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/waived", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "included", - "all": [true] - }, - { - "location": "$.result.completion", - "rule": "included", - "all": [true] - }, - { - "location": "$.result['https://w3id.org/xapi/cmi5/result/extensions/reason']", - "rule": "included" - }, - { - "location": "$.context.contextActivities.category[*].id", - "rule": "included", - "any": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#terminated", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/terminated", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.result.duration", - "rule": "included", - "scopeNote": "The AU SHOULD calculate duration for Terminated statements as the time difference between the 'Initialized' statement and the 'Terminated' statement. The AU may use other methods to calculate the duration based on criteria determined by the AU." - }, - { - "location": "$.context.contextActivities.category[*].id", - "none": "https://w3id.org/xapi/cmi5/context/categories/moveon" - } - ] - }, { - "id": "https://w3id.org/xapi/cmi5#satisfied", - "type": "StatementTemplate", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "verb": "http://adlnet.gov/expapi/verbs/satisfied", - "rules": [ - { - "location": "$.result.score", - "rule": "excluded" - }, - { - "location": "$.result.success", - "rule": "excluded" - }, - { - "location": "$.result.completion", - "rule": "excluded" - }, - { - "location": "$.context.contextActivities.category[*].id", - "none": "https://w3id.org/xapi/cmi5/context/categories/moveon" - }, - { - "location": "$.object.definition.type", - "rule": "included", - "any": [ - "https://w3id.org/xapi/cmi5/activitytype/block", - "https://w3id.org/xapi/cmi5/activitytype/course" - ] - } - ] - }], - "patterns": [ - { - "id": "https://w3id.org/xapi/cmi5#satisfieds", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "zeroOrMore": "https://w3id.org/xapi/cmi5#satisfied" - }, - { - "id": "https://w3id.org/xapi/cmi5#waivedsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#waived", "https://w3id.org/xapi/cmi5#satisfieds"] - }, - { - "id": "https://w3id.org/xapi/cmi5#noresultsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "completionnosuccesssession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#completed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "passedsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#passed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "https://w3id.org/xapi/cmi5#completionpassedsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#completedandpassed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "https://w3id.org/xapi/cmi5#failedsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#failed", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "https://w3id.org/xapi/cmi5#completionmaybefailedsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#launched", "https://w3id.org/xapi/cmi5#initialized", "https://w3id.org/xapi/cmi5#completedandmaybefailed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#terminatedorabandoned"] - }, - { - "id": "https://w3id.org/xapi/cmi5#terminatedorabandoned", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "alternates": ["https://w3id.org/xapi/cmi5#terminated", "https://w3id.org/xapi/cmi5#abandoned"] - }, - { - "id": "https://w3id.org/xapi/cmi5#completedandpassed", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "alternates": ["https://w3id.org/xapi/cmi5#completedthenpassed", "https://w3id.org/xapi/cmi5#passedthencompleted"] - }, - { - "id": "https://w3id.org/xapi/cmi5#completedthenpassed", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#completed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#passed"] - }, - { - "id": "https://w3id.org/xapi/cmi5#passedthencompleted", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#passed", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#completed"] - }, - { - "id": "https://w3id.org/xapi/cmi5#completedandmaybefailed", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "alternates": ["https://w3id.org/xapi/cmi5#maybecompletedthenfailed", "https://w3id.org/xapi/cmi5#failedthenmaybecompleted"] - }, - { - "id": "https://w3id.org/xapi/cmi5#maybecompletedthenfailed", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#maybecompleted", "https://w3id.org/xapi/cmi5#satisfieds", "https://w3id.org/xapi/cmi5#failed"] - }, - { - "id": "https://w3id.org/xapi/cmi5#failedthenmaybecompleted", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#failed", "https://w3id.org/xapi/cmi5#maybecompleted"] - }, - { - "id": "https://w3id.org/xapi/cmi5#maybecompleted", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "optional": "https://w3id.org/xapi/cmi5#completed" - }, - { - "id": "https://w3id.org/xapi/cmi5#typicalsession", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "alternates": [ - "https://w3id.org/xapi/cmi5#completionmaybefailedsession", - "https://w3id.org/xapi/cmi5#completionpassedsession", - "https://w3id.org/xapi/cmi5#failedsession", - "https://w3id.org/xapi/cmi5#noresultsession", - "https://w3id.org/xapi/cmi5#passedsession", - "https://w3id.org/xapi/cmi5#completionnosuccesssession", - "https://w3id.org/xapi/cmi5#waivedsession" - ] - }, - { - "id": "https://w3id.org/xapi/cmi5#typicalsessions", - "type": "Pattern", - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "zeroOrMore": "https://w3id.org/xapi/cmi5#typicalsession" - }, - { - "id": "https://w3id.org/xapi/cmi5#toplevel", - "type": "Pattern", - "primary": true, - "prefLabel": { - "en": "General Pattern" - }, - "definition": { - "en": "This pattern describes the sequence of statements sent over the an entire course registration" - }, - "inScheme": "https://w3id.org/xapi/cmi5/context/categories/cmi5", - "sequence": ["https://w3id.org/xapi/cmi5#satisfieds", "typicalsessions"] - } - - - ] -} diff --git a/profiles/scorm.jsonld b/profiles/scorm.jsonld deleted file mode 100644 index 9652dc4..0000000 --- a/profiles/scorm.jsonld +++ /dev/null @@ -1,321 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "Experience API SCORM Profile" - }, - "conformsTo": "https://github.com/adlnet/xapi-profiles/", - "seeAlso": "https://adl.gitbooks.io/scorm-profile-xapi/content/", - "versions": [ - { - "id": "https://w3id.org/xapi/scorm", - "generatedAtTime": "2017-06-29T10:45:00Z" - } - ], - "author": { - "type": "Organization", - "name": "ADL" - }, - "concepts": [ - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/initialized", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "initialized" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/terminated", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "terminated" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/suspended", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "suspended" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/resumed", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "resumed" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/passed", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "passed" - }, - "broader": ["http://adlnet.gov/expapi/verbs/completed"] - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/failed", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "failed" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/scored", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "scored" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/completed", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "completed" - } - }, - { - "type": "Verb", - "id": "http://adlnet.gov/expapi/verbs/responded", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "responded" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/course", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "course" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/module", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "module" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/lesson", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "SCO" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/assessment", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "assessment" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/interaction", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "interaction" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/objective", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "objective" - } - }, - { - "type": "ActivityType", - "id": "http://adlnet.gov/expapi/activities/attempt", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "attempt" - } - }, - { - "type": "StateResource", - "id": "https://w3id.org/xapi/scorm/attempt-state", - "inScheme": "https://w3id.org/xapi/scorm", - "prefLabel": { - "en": "SCORM Activity Attempt State" - }, - "contentType": "application/json", - "schema": "http://example.com/see/file/in/same/directory/attempt-state-schema.json", - "context": "http://example.org/see/file/in/same/directory/attempt-state-context.jsonld" - } - ], - "templates": [ - { - "id": "https://w3id.org/xapi/scorm#generalrestrictions", - "type": "StatementTemplate", - "prefLabel": { - "en": "general restrictions on statements" - }, - "rules": [ - { - "location": "context.contextActivities.grouping[*].definition.type", - "any": ["http://adlnet.gov/expapi/activities/attempt"] - }, - { - "location": "context.contextActivities.grouping[*].definition.type", - "any": ["http://adlnet.gov/expapi/activities/course"] - }, - { - "location": "timestamp", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/scorm#initialization", - "type": "StatementTemplate", - "prefLabel": { - "en": "initialization" - }, - "verb": "http://adlnet.gov/expapi/verbs/initialized", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#termination", - "type": "StatementTemplate", - "prefLabel": { - "en": "termination" - }, - "verb": "http://adlnet.gov/expapi/verbs/terminated", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#suspension", - "type": "StatementTemplate", - "prefLabel": { - "en": "suspension" - }, - "verb": "http://adlnet.gov/expapi/verbs/suspended", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#resumption", - "type": "StatementTemplate", - "prefLabel": { - "en": "resumption" - }, - "verb": "http://adlnet.gov/expapi/verbs/resumed", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#scoactivity", - "type": "StatementTemplate", - "prefLabel": { - "en": "SCO activity" - }, - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#commenting", - "type": "StatementTemplate", - "prefLabel": { - "en": "commenting" - }, - "verb": "http://adlnet.gov/expapi/verbs/commented", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - { - "location": "result.response", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/scorm#completing", - "type": "StatementTemplate", - "prefLabel": { - "en": "completing" - }, - "verb": "http://adlnet.gov/expapi/verbs/completed", - "objectActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#otheractivity", - "type": "StatementTemplate", - "prefLabel": { - "en": "other activity" - }, - "contextParentActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - }, - { - "id": "https://w3id.org/xapi/scorm#interactionactivity", - "type": "StatementTemplate", - "prefLabel": { - "en": "interaction activity" - }, - "verb": "http://adlnet.gov/expapi/verbs/responded", - "objectActivityType": "TODO look up interaction activity URI", - "contextParentActivityType": "http://adlnet.gov/expapi/activities/lesson", - "rules": [ - ] - } - ], - "patterns": [ - { - "id": "https://w3id.org/xapi/scorm#generalpattern", - "type": "Pattern", - "primary": true, - "prefLabel": { - "en": "General Pattern" - }, - "definition": { - "en": "This pattern describes the overall sequence of statements sent over the course of an attempt" - }, - "sequence": ["https://w3id.org/xapi/scorm#initialization", "https://w3id.org/xapi/scorm#middlestatements", "https://w3id.org/xapi/scorm#optionallycontinue", "https://w3id.org/xapi/scorm#termination"] - }, - { - "id": "https://w3id.org/xapi/scorm#activitystatements", - "type": "Pattern", - "alternates": ["https://w3id.org/xapi/scorm#scoactivity", "https://w3id.org/xapi/scorm#otheractivity", "https://w3id.org/xapi/scorm#commenting", "https://w3id.org/xapi/scorm#interactionactivity", "https://w3id.org/xapi/scorm#completing"] - }, - { - "id": "https://w3id.org/xapi/scorm#middlestatements", - "type": "Pattern", - "zeroOrMore": "https://w3id.org/xapi/scorm#activitystatements" - }, - { - "id": "https://w3id.org/xapi/scorm#suspendresume", - "type": "Pattern", - "sequence": ["https://w3id.org/xapi/scorm#suspension", "https://w3id.org/xapi/scorm#resumption", "https://w3id.org/xapi/scorm#middlestatements"] - }, - { - "id": "https://w3id.org/xapi/scorm#optionallycontinue", - "type": "Pattern", - "zeroOrMore": "https://w3id.org/xapi/scorm#suspendresume" - } - - ] -} diff --git a/profiles/seriousgames.jsonld b/profiles/seriousgames.jsonld deleted file mode 100644 index df63adb..0000000 --- a/profiles/seriousgames.jsonld +++ /dev/null @@ -1,275 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/seriousgames", - "type": "Profile", - "prefLabel": { - "en": "Serious Games Profile" - }, - "definition": { - "en": "The serous games profile of the xAPI was created to identify and standardize the common interactions that can be tracked in a serious game. This profile was designed as part of the RAGE project." -}, - "seeAlso": "https://github.com/e-ucm/xapi-seriousgames", - "author": { - "type": "Group", - "name": "The RAGE project" - }, - "versions": [ - { - "id": "https://w3id.org/xapi/seriousgames", - "generatedAtTime": "2017-07-14T10:00:00Z" - }], - "concepts": [ - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/area", - "type": "ActivityType", - "definition": { - "en": "An identified area inside the game world. In some games they can also be worlds. Represents an aggregation of zones." - }, - "prefLabel": { - "en": "area" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/controller", - "type": "ActivityType", - "definition": { - "en": "A game controller whose input affects the action in an activity. Game controllers are common in non-pc games. This activity represents this device." - }, - "prefLabel": { - "en": "controller" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/cutscene", - "type": "ActivityType", - "definition": { - "en": "A non-interactive scene that can be skipped. A cutscene is a non-interactive scene within the game (e.g., a video, a conversation, an automated sequence). The player can usually skip them pressing some button." - }, - "prefLabel": { - "en": "cutscene" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/dialog-tree", - "type": "ActivityType", - "definition": { - "en": "An alternative presented during a conversation with an non-playable character. Dialog trees are a common mechanic in video games, where players can answer questions to NPC. This activity represents that type of alternative." - }, - "prefLabel": { - "en": "dialog-tree" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/enemy", - "type": "ActivityType", - "definition": { - "en": "A game object that poses a threat inside the game world. Enemies are common elements in video games. Defeating them indicates a player accomplishment." - }, - "prefLabel": { - "en": "enemy" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/item", - "type": "ActivityType", - "definition": { - "en": "A collectable game object whose use or interaction results in an effect in a game. Items are common elements in video games. Players can collect/use/combine them." - }, - "prefLabel": { - "en": "item" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/keyboard", - "type": "ActivityType", - "definition": { - "en": "A keyboard whose keystrokes affects the action in an activity. Somes games can receive inputs from keyboards: physical keyboards in a PC, or virtual keyboards in a smartphone screen. This activity represent both." - }, - "prefLabel": { - "en": "keyboard" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/level", - "type": "ActivityType", - "exactMatch": { - "id": "http://curatr3.com/define/type/level" - }, - "definition": { - "en": "A level of a game or of a gamified learning platform. A level is logic partition of progression in any video game. Completing a level means advancing in the progression of the game." - }, - "prefLabel": { - "en": "level" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/menu", - "type": "ActivityType", - "definition": { - "en": "A menu with several buttons/options whose selection produces different effects. Represents a menu, integrated in the user interface (UI), with several a options." - }, - "prefLabel": { - "en": "menu" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/mouse", - "type": "ActivityType", - "definition": { - "en": "A mouse device whose clicks and movement affects the action in an activity. PC games are usually controlled by mouse interaction. This activity represents this device." - }, - "prefLabel": { - "en": "mouse" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/non-player-character", - "type": "ActivityType", - "definition": { - "en": "A character that can offer a conversation or other type of interaction inside a game. Players usually have conversations with non-player characters." - }, - "prefLabel": { - "en": "non-player-character" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/quest", - "type": "ActivityType", - "definition": { - "en": "A accomplishable challenge or mission presented inside a game. Completing quests marks the players' progress." - }, - "prefLabel": { - "en": "quest" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/screen", - "type": "ActivityType", - "definition": { - "en": "A game screen where a concrete game task is developed. Games are usually composed by a set of screens the player navigates. A screen has a concrete function within the game. A screen contains a menu, or the gameplay. To define virtual zones inside the game world, it is recommended to use area or zone." - }, - "prefLabel": { - "en": "screen" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/serious-game", - "type": "ActivityType", - "definition": { - "en": "A game designed for a primary purpose other than pure entertainment. For instance, an educational game or a game-like simulation. A serious game is the root container for the rest of game elements." - }, - "prefLabel": { - "en": "serious-game" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/touchscreen", - "type": "ActivityType", - "definition": { - "en": "A screen the player can touch or press." - }, - "prefLabel": { - "en": "touchscreen" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/activity-types/zone", - "type": "ActivityType", - "definition": { - "en": "An identified zone inside an area of the game world. A zone is inside an area, and defines a logic self-contained place." - }, - "prefLabel": { - "en": "zone" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/extensions/progress", - "type": "ResultExtension", - "definition": { - "en": "A decimal number (3 significant figures with 2 figures following the decimal point) between 0 and 1 (inclusive) to indicate the value of progress in a completable. Indicates the progress in a completable. This extension appears in the Statement's result." - }, - "prefLabel": { - "en": "progress" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/extensions/health", - "type": "ResultExtension", - "definition": { - "en": "A decimal number (3 significant figures with 2 figures following the decimal point) between 0 and 1 (inclusive) to indicate the remaining health or stamina within a game. Used to represent the remaining health of the player (e.g., number of hearts, energy bar). This extension appears in the Statement's result." - }, - "prefLabel": { - "en": "health" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/extensions/position", - "type": "ResultExtension", - "definition": { - "en": "An object with attributes x, y and z indicating the position of the player within a particular area in a game. Used to represent the current position of the player inside the game world. This position should be expressed in a coordinate system known by the data analysts. This extension appears in the Statement's result." - }, - "prefLabel": { - "en": "position" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/verbs/accessed", - "type": "Verb", - "exactMatch": { - "id": "http://activitystrea.ms/schema/1.0/access" - }, - "definition": { - "en": "Indicates that the actor has gained access to the object. Associated to the virtual places a player visits during a gameplay." - }, - "prefLabel": { - "en": "accessed" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/verbs/pressed", - "type": "Verb", - "exactMatch": { - "id": "http://future-learning.info/xAPI/verb/pressed" - }, - "definition": { - "en": "Indicates that the actor made physical contact with the object. Used when the player presses some button in an input device. Press the left button in a mouse, press the X button in a XBox controller, etc. " - }, - "prefLabel": { - "en": "pressed" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/verbs/released", - "type": "Verb", - "exactMatch": { - "id": "http://future-learning.info/xAPI/verb/released" - }, - "definition": { - "en": "Indicates that the actor released the object from one's grip from or a specific state. Used when the player releases a previously pressed button." - }, - "prefLabel": { - "en": "released" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/verbs/unlocked", - "type": "Verb", - "definition": { - "en": "Indicates the actor unlocked an option that was previously unavailable. Used when the player unlocks an option in an alternative." - }, - "prefLabel": { - "en": "unlocked" - } - }, - { - "id": "https://w3id.org/xapi/seriousgames/verbs/used", - "type": "Verb", - "definition": { - "en": "Indicates the actor used a virtual object. Used when player uses items they find during the gameplay, to obtain different benefits." - }, - "prefLabel": { - "en": "used" - } - } - ] -} diff --git a/profiles/video.jsonld b/profiles/video.jsonld deleted file mode 100644 index 67eb2c1..0000000 --- a/profiles/video.jsonld +++ /dev/null @@ -1,550 +0,0 @@ -{ - "@context": "https://w3id.org/xapi/profiles/context", - "id": "https://w3id.org/xapi/video", - "type": "Profile", - "conformsTo": "https://github.com/adlnet/xapi-profiles/", - "prefLabel": { - "en": "Video Profile" - }, - "definition": { - "en": "The video profile of the xAPI was created to identify and standardize the common types of interactions that can be tracked in any video player." - }, - "seeAlso": "https://www.gitbook.com/book/liveaspankaj/xapi-video-profile", - "author": { - "type": "Group", - "name": "xAPI Video Community of Practice" - }, - "versions": [ - { - "id": "https://w3id.org/xapi/video", - "generatedAtTime": "2017-06-29T10:45:00Z" - }], - "concepts": [ - { - "id": "https://w3id.org/xapi/video/verbs/paused", - "inScheme": "https://w3id.org/xapi/video", - "type": "Verb", - "exactMatch": [ { - "id": "http://id.tincanapi.com/verb/paused" - } ], - "definition": { - "en": "Indicates the actor paused the video being played at a specific point. Indicates that the actor temporary or permanently stopped experiencing the recorded media object. A paused statement must be sent before a terminated or abandoned statement if not already sent." - }, - "prefLabel": { - "en": "paused" - } - }, - { - "id": "https://w3id.org/xapi/video/verbs/played", - "inScheme": "https://w3id.org/xapi/video", - "type": "Verb", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/play" - } ], - "definition": { - "en": "Indicates that the actor started experiencing the recorded media object. Used when the actor generally played a video or clicked the play button." - }, - "prefLabel": { - "en": "played" - } - }, - { - "id": "https://w3id.org/xapi/video/verbs/seeked", - "inScheme": "https://w3id.org/xapi/video", - "type": "Verb", - "definition": { - "en": "Indicates the actor changed the progress towards a specific point. Used in combination with time-from and time-to extensions when the Actor moves the progress bar forward or backward to a specific time in the video." - }, - "prefLabel": { - "en": "seeked" - } - }, - { - "id": "https://w3id.org/xapi/video/activity-type/video", - "inScheme": "https://w3id.org/xapi/video", - "type": "ActivityType", - "exactMatch": [ { - "id": "http://activitystrea.ms/schema/1.0/video" - } ], - "definition": { - "en": "A recording of both the visual and audible components made available on a display screen." - }, - "prefLabel": { - "en": "video" - } - }, - { - "id": "https://w3id.org/xapi/video/extensions/cc-subtitle-enabled", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to expresses whether subtitle or closed captioning is enabled. Value is boolean as in true or false." - }, - "prefLabel": { - "en": "cc-subtitle-enabled" - }, - "inlineSchema": "{ \"type\": \"boolean\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/cc-subtitle-lang", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to express the language of subtitle or closed captioning. Used only when cc-subtitle-enabled is true. The lexical and value spaces of language are the set of language codes defined by RFC 1766." - }, - "prefLabel": { - "en": "cc-subtitle-lang" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/frame-rate", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to express the frame rate or frames per second of a video (or average rate of frames per second in the case of variable frame-rate). Represented as a ratio of time base over frame duration, such as 30000/1001 or as a decimal, such as 29.970." - }, - "prefLabel": { - "en": "frame-rate" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/full-screen", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to expresses that the video is played in full screen mode. Value is boolean true or false." - }, - "prefLabel": { - "en": "full-screen" - }, - "inlineSchema": "{ \"type\": \"boolean\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/quality", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to express the video resolution or quality. Integer Value (e.g., 360, 480, 720, 1080, etc.)." - }, - "prefLabel": { - "en": "quality" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/session-id", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to tell which session the statement is part of. A session starts with the initiated statement and ends with terminated or abandoned statement. Value of session id must match the UUID statement id of the initiated statement." - }, - "prefLabel": { - "en": "session-id" - }, - "inlineSchema": "{ \"type\": \"string\", \"pattern\": \"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[8-9a-bA-B][0-9a-fA-F]{3}-[0-9a-fA-F]{12}\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/screen-size", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to express the device playback screen size or the maximum available screensize for Video playback. Value WxH in pixels (e.g., 1080x960, 640x480, 800x600)." - }, - "prefLabel": { - "en": "screen-size" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/speed", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to express the play-back speed (e.g., 1x,2x,0,-1x,-2x). Float Value with an ‘x’ Negative = Rewind Positive = Fast Forward." - }, - "prefLabel": { - "en": "speed" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/track", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to identify the name of the audio track in a media object." - }, - "prefLabel": { - "en": "track" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/user-agent", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to identify the User Agent string of the browser, if the video is launched in browser." - }, - "prefLabel": { - "en": "user-agent" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/volume", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to identify the loudness of sound specified for a media object. Volume Level (0 to 1). Float Value. Minimum 0 = Mute. Maximum 1 = 100% Volume." - }, - "prefLabel": { - "en": "volume" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/video-playback-size", - "inScheme": "https://w3id.org/xapi/video", - "type": "ContextExtension", - "definition": { - "en": "Used to identify the size in Width x Height of the video as viewed by the user. Value WxH in pixels (e.g., 1080x960, 640x480, 800x600)." - }, - "prefLabel": { - "en": "video-playback-size" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/played-segments", - "inScheme": "https://w3id.org/xapi/video", - "type": "ResultExtension", - "definition": { - "en": "Played segments reveals potential heat map data for showing parts of the video the actor watched during current registration in chronological order (e.g., 0.000[.]12.000[,]14.000[.]21.000[,]18.000[.]30.000)." - }, - "prefLabel": { - "en": "played-segments" - }, - "inlineSchema": "{ \"type\": \"string\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/progress", - "inScheme": "https://w3id.org/xapi/video", - "type": "ResultExtension", - "definition": { - "en": "Used to expresses the percentage of media consumed by the actor. Value is a decimal between 0.0 and 1.0." - }, - "prefLabel": { - "en": "progress" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/time", - "inScheme": "https://w3id.org/xapi/video", - "type": "ResultExtension", - "definition": { - "en": "Used to express the time into the video. (e.g., “00000.000” in seconds and milliseconds). Float Value with maximum 3 decimals. Sent along with these verbs: Played, Paused, Terminated, Interacted, Completed (Required)." - }, - "prefLabel": { - "en": "time" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/time-from", - "inScheme": "https://w3id.org/xapi/video", - "type": "ResultExtension", - "definition": { - "en": "Used to identify the point in time the actor changed from in a media object (eg: “200.000” in seconds and milliseconds). Float Value with maximum 3 decimals. Required to be used exclusively with the verb seeked." - }, - "prefLabel": { - "en": "time-from" - }, - "inlineSchema": "{ \"type\": \"number\" }" - }, - { - "id": "https://w3id.org/xapi/video/extensions/time-to", - "inScheme": "https://w3id.org/xapi/video", - "type": "ResultExtension", - "definition": { - "en": "Used to identify the point in time the actor changed to in a media object (eg: “300.000” in seconds and milliseconds). Float Value with maximum 3 decimals. Required to be used exclusively with the verb seeked." - }, - "prefLabel": { - "en": "time-to" - }, - "inlineSchema": "{ \"type\": \"number\" }" - } - ], - "templates": [ - { - "id": "https://w3id.org/xapi/video/templates#generalrestrictions", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Restrictions for all Video Profile Statements" - }, - "rules": [ - { - "location": "$.id", - "rule": "included" - }, - { - "location": "$.timestamp", - "rule": "included" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/session-id']", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#initialized", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Initialized Statement Template for Video Profile." - }, - "verb": "http://adlnet.gov/expapi/verbs/initialized", - "rules": [ - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/volume']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/video-playback-size']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/user-agent']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/cc-enabled']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/cc-subtitle-lang']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/screen-size']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/speed']", - "rule": "recommended" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/full-screen']", - "rule": "recommended" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#played", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Played Statement Template for Video Profile." - }, - "verb": "https://w3id.org/xapi/video/verbs/played", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "included" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments']", - "rule": "recommended" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#paused", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Paused Statement Template for Video Profile." - }, - "verb": "https://w3id.org/xapi/video/verbs/paused", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "included" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/played-segments']", - "rule": "recommended" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/progress']", - "rule": "recommended" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#seeked", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Seeked Statement Template for Video Profile." - }, - "verb": "https://w3id.org/xapi/video/verbs/seeked", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time-to']", - "rule": "included" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time-from']", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#completed", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Completed Statement Template for Video Profile." - }, - "verb": "https://w3id.org/xapi/video/verbs/completed", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "included" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/progress']", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#volumechange", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Volume Change Statement Template for Video Profile." - }, - "verb": "http://adlnet.gov/expapi/verbs/interacted", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "included" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/volume']", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#screenchange", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Screen Change Statement Template for Video Profile." - }, - "verb": "http://adlnet.gov/expapi/verbs/interacted", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "included" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/full-screen']", - "rule": "included" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/screen-size']", - "rule": "included" - }, - { - "location": "$.context.extensions['https://w3id.org/xapi/video/extensions/video-playback-size']", - "rule": "included" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#terminated", - "inScheme": "https://w3id.org/xapi/video", - "prefLabel": { - "en": "Terminated Statement Template for Video Profile." - }, - "verb": "https://w3id.org/xapi/video/verbs/terminated", - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [ - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/time']", - "rule": "recommended" - }, - { - "location": "$.result.extensions['https://w3id.org/xapi/video/extensions/progress']", - "rule": "recommended" - } - ] - }, - { - "id": "https://w3id.org/xapi/video/templates#basic", - "name": { - "en": "Video Interactions" - }, - "objectActivityType": "https://w3id.org/xapi/video/activity-type/video", - "rules": [{ - "location": "verb.id", - "any": [ - "https://w3id.org/xapi/video/verbs/played", - "https://w3id.org/xapi/video/verbs/paused", - "https://w3id.org/xapi/video/verbs/seeked" - ] - }] - } - ], - "patterns": [ - { - "id": "_:generalpattern", - "primary": true, - "name": { - "en": "General Pattern" - }, - "definition": { - "en": "This pattern describes the overall sequence of statements sent over the course of an attempt" - }, - "sequence": ["https://w3id.org/xapi/video/templates#initialized", "_:optionalmiddlestatements", "https://w3id.org/xapi/video/templates#terminated"] - }, - { - "@id": "_:played-pattern", - "alternates": ["https://w3id.org/xapi/video/templates#generalrestrictions", "https://w3id.org/xapi/video/templates#played"] - }, - { - "@id": "_:played-completed-pattern", - "alternates": ["https://w3id.org/xapi/video/templates#generalrestrictions", "https://w3id.org/xapi/video/templates#played", "https://w3id.org/xapi/video/templates#completed"] - }, - { - "@id": "_:played-paused-completed-pattern", - "alternates": ["https://w3id.org/xapi/video/templates#generalrestrictions", "https://w3id.org/xapi/video/templates#played", "https://w3id.org/xapi/video/templates#paused", "https://w3id.org/xapi/video/templates#completed"] - }, - { - "@id": "_:played-paused-seeked-completed-pattern", - "alternates": ["_:generalrestrictions", "https://w3id.org/xapi/video/templates#played", "https://w3id.org/xapi/video/templates#paused", "https://w3id.org/xapi/video/templates#seeked", "https://w3id.org/xapi/video/templates#completed"] - }, - { - "@id": "_:played-paused-seeked-volumechange-completed-pattern", - "alternates": ["https://w3id.org/xapi/video/templates#generalrestrictions", "https://w3id.org/xapi/video/templates#played", "https://w3id.org/xapi/video/templates#paused", "https://w3id.org/xapi/video/templates#seeked", "https://w3id.org/xapi/video/templates#volumechange", "https://w3id.org/xapi/video/templates#completed"] - }, - { - "@id": "_:all-activities-pattern", - "alternates": ["https://w3id.org/xapi/video/templates#generalrestrictions", "https://w3id.org/xapi/video/templates#played", "https://w3id.org/xapi/video/templates#paused", "https://w3id.org/xapi/video/templates#seeked", "https://w3id.org/xapi/video/templates#volumechange", "https://w3id.org/xapi/video/templates#screenchange", "https://w3id.org/xapi/video/templates#completed"] - }, - { - "id": "_:optionalmiddlestatements", - "type": "Pattern", - "zeroOrMore": ["_:played-pattern", "_:played-completed-pattern", "_:played-paused-completed-pattern", "_:played-paused-seeked-completed-pattern", "_:played-paused-seeked-volumechange-completed-pattern", "_:all-activities-pattern"], - "oneOrMore" : ["https://w3id.org/xapi/video/templates#basic"] - } - - ] -}