Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ This specification is based on [IMS QTI Specification 2.2](http://www.imsglobal.
- [**Appendix**](https://github.com/sunbird-specs/inQuiry/blob/master/v1/appendix.md): Additional information and references.
- [**Samples**](https://github.com/sunbird-specs/inQuiry/tree/master/v1/samples): This folder has sample questions and question sets represented using QuML.

## Implementation(s)

The Sunbird [**knowledge-platform**](http://github.com/project-sunbird/knowledge-platform) using QuML Specification to enable Question and Quesion Set objects sourcing and consumption. Below is the current version of the schema defined to enable this.

- [**Question Schema**](v1/schemas/question/1.0/schema.json)
- [**Question Set Schema**](v1/schemas/questionset/1.0/schema.json)
57 changes: 57 additions & 0 deletions v1/schemas/question/1.0/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"objectType": "Question",
"relations": {
"questionSet": {
"type": "hasSequenceMember",
"direction": "in",
"objects": ["QuestionSet", "QuestionSetImage"]
}
},
"restrictProps": {
"create" : [
],
"update" : [
"visibility", "code", "status", "mimeType"
]
},
"version": "enable",
"versionCheckMode": "ON",
"frameworkCategories": ["board","medium","subject","gradeLevel","topic"],
"orgFrameworkTerms": ["boardIds", "gradeLevelIds", "subjectIds", "mediumIds", "topicsIds"],
"targetFrameworkTerms": ["targetFWIds", "targetBoardIds", "targetGradeLevelIds", "targetSubjectIds", "targetMediumIds", "targetTopicIds"],
"cacheEnabled": false,
"schema_restrict_api": true,
"external": {
"tableName": "question_data",
"properties": {
"body": {
"type": "blob"
},
"editorState": {
"type": "string"
},
"answer": {
"type": "blob"
},
"solutions": {
"type": "string"
},
"instructions": {
"type": "string"
},
"hints": {
"type": "string"
},
"media": {
"type": "string"
},
"responseDeclaration": {
"type": "string"
},
"interactions": {
"type": "string"
}
},
"primaryKey": ["identifier"]
}
}
Loading