schema.json 11.24 KiB
  "$id": "questionset-schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "QuestionSet",
  "type": "object",
  "required": [
    "name",
    "code",
    "mimeType",
    "primaryCategory"
  "properties": {
    "name": {
      "type": "string",
      "minLength": 5
    "code": {
      "type": "string"
    "description": {
      "type": "string"
    "mimeType": {
      "type": "string",
      "enum": [
        "application/vnd.sunbird.questionset"
    "primaryCategory": {
      "type": "string"
    "additionalCategories": {
      "type": "array",
      "items": {
        "type": "string"
    "visibility": {
      "type": "string",
      "default": "Default",
      "enum": [
        "Default",
        "Parent",
        "Private",
        "Protected"
    "copyright": {
      "type": "string"
    "license": {
      "type": "string",
      "default": "CC BY 4.0"
    "lockKey": {
      "type": "string"
    "assets": {
      "type": "array"
    "audience": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Student",
          "Teacher",
          "Administrator",
          "Parent"
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
"default": "Student" } }, "posterImage": { "type": "string", "format": "url" }, "author": { "type": "string" }, "owner": { "type": "string" }, "attributions": { "type": "array" }, "consumerId": { "type": "string" }, "contentEncoding": { "type": "string", "enum": [ "gzip", "identity" ], "default": "gzip" }, "contentDisposition": { "type": "string", "enum": [ "inline", "online", "attachment", "online-only" ], "default": "inline" }, "appIcon": { "type": "string", "format": "url" }, "publishChecklist": { "type": "array" }, "publishComment": { "type": "string" }, "compatibilityLevel": { "type": "number", "default": 5 }, "childNodes": { "type": "array" }, "depth": { "type": "number" }, "index": { "type": "number" }, "parent": { "type": "string" }, "downloadUrl": { "type": "string", "format": "url" }, "previewUrl": { "type": "string", "format": "url"
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
}, "pdfUrl": { "type": "string", "format": "url" }, "variants": { "type": "object" }, "size": { "type": "number" }, "checksum": { "type": "string" }, "status": { "type": "string", "enum": [ "Draft", "Review", "Live", "Retired" ], "default": "Draft" }, "prevState": { "type": "string" }, "prevStatus": { "type": "string" }, "lastStatusChangedOn": { "type": "string" }, "keywords": { "type": "array", "items": { "type": "string" } }, "pkgVersion": { "type": "number" }, "version": { "type": "number", "default": 1 }, "versionKey": { "type": "string" }, "language": { "type": "array", "items": { "type": "string", "enum": [ "English", "Hindi", "Assamese", "Bengali", "Gujarati", "Kannada", "Malayalam", "Marathi", "Nepali", "Odia", "Punjabi", "Tamil", "Telugu", "Urdu", "Sanskrit", "Maithili",
211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
"Other" ] }, "default": ["English"] }, "languageCode": { "type": "array" }, "channel": { "type": "string" }, "framework": { "type": "string" }, "subject" : { "type": "array" }, "medium" : { "type": "array" }, "board" : { "type": "string" }, "gradeLevel" : { "type": "array" }, "topic" : { "type": "array" }, "boardIds": { "type": "array", "items": { "type": "string" } }, "gradeLevelIds": { "type": "array", "items": { "type": "string" } }, "subjectIds": { "type": "array", "items": { "type": "string" } }, "mediumIds": { "type": "array", "items": { "type": "string" } }, "topicsIds": { "type": "array", "items": { "type": "string" } }, "targetFWIds": { "type": "array", "items": { "type": "string" } }, "targetBoardIds": { "type": "array", "items": { "type": "string" }
281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
}, "targetGradeLevelIds": { "type": "array", "items": { "type": "string" } }, "targetSubjectIds": { "type": "array", "items": { "type": "string" } }, "targetMediumIds": { "type": "array", "items": { "type": "string" } }, "targetTopicIds": { "type": "array", "items": { "type": "string" } }, "se_FWIds": { "type": "array", "items": { "type": "string" } }, "se_boardIds": { "type": "array", "items": { "type": "string" } }, "se_subjectIds": { "type": "array", "items": { "type": "string" } }, "se_mediumIds": { "type": "array", "items": { "type": "string" } }, "se_topicIds": { "type": "array", "items": { "type": "string" } }, "se_gradeLevelIds": { "type": "array", "items": { "type": "string" } }, "se_boards": { "type": "array", "items": { "type": "string" } }, "se_subjects": { "type": "array", "items": {
351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
"type": "string" } }, "se_mediums": { "type": "array", "items": { "type": "string" } }, "se_topics": { "type": "array", "items": { "type": "string" } }, "se_gradeLevels": { "type": "array", "items": { "type": "string" } }, "createdOn": { "type": "string" }, "createdFor": { "type": "array" }, "createdBy": { "type": "string" }, "lastUpdatedOn": { "type": "string" }, "lastUpdatedBy": { "type": "string" }, "lastSubmittedOn": { "type": "string" }, "lastSubmittedBy": { "type": "string" }, "publisher": { "type": "string" }, "lastPublishedOn": { "type": "string" }, "lastPublishedBy": { "type": "string" }, "publishError": { "type": "string" }, "reviewError": { "type": "string" }, "dailySummaryReportEnabled": { "type": "string", "enum": [ "Yes", "No" ] }, "allowAnonymousAccess": { "type": "string", "enum": [ "Yes", "No" ],
421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
"default": "Yes" }, "termsAndConditions": { "type": "string" }, "expectedDuration": { "type": "number" }, "completionCriteria": { "type": "object" }, "collaborators": { "type": "array" }, "semanticVersion": { "type": "string" }, "schemaVersion": { "type": "string" }, "maxScore": { "type": "number" }, "setType": { "type": "string", "enum": [ "materialised", "dynamic" ], "default": "materialised" }, "setCriteria": { "type": "object" }, "feedback": { "type": "object" }, "scoringMode": { "type": "string", "enum": [ "system", "none" ] }, "qumlVersion": { "type": "number" }, "timeLimits": { "type": "object" }, "showTimer": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "showHints": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "showFeedback": { "type": "string", "enum": [ "Yes",
491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
"No" ], "default": "No" }, "showSolutions": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "bloomsLevel" : { "description": "Cognitive processes involved to answer the question set.", "type": "string", "enum": [ "remember", "understand", "apply", "analyse", "evaluate", "create" ] }, "navigationMode": { "type": "string", "enum": [ "linear", "non-linear" ], "default": "non-linear" }, "allowSkip": { "type": "string", "enum": [ "Yes", "No" ], "default": "Yes" }, "outcomeProcessing": { "type": "object" }, "requiresSubmit": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "summaryType": { "type": "string", "enum": [ "Complete", "Score", "Duration", "Score & Duration" ] }, "shuffle": { "type": "boolean", "default": true }, "totalQuestions": { "type": "number" }, "maxQuestions": { "type": "number" },
561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
"containsUserData": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "maxAttempts": { "type": "number" }, "instructions": { "type": "object", "description": "External Property" }, "requestChanges": { "type": "string" }, "generateDIALCodes": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "rejectComment": { "type": "string" }, "allowBranching": { "type": "string", "enum": [ "Yes", "No" ], "default": "No" }, "branchingLogic": { "type": "object", "description": "Store rules for dependent question" }, "entityType": { "type": "string" }, "secondaryLanguage": { "type": "array" }, "allowScoring": { "type": "string", "enum": [ "Yes", "No" ] }, "allowMultipleInstances": { "type": "string", "enum": [ "Yes", "No" ] }, "instances": { "type": "object" }, "startDate": { "type": "string" }, "endDate": { "type": "string" },
631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
"ecm": { "type": "array" }, "recordedBy": { "type": "string", "enum": [ "Self", "External" ] }, "renderingSequence": { "type": "object" }, "accessibility": { "type": "array", "items": { "type": "object" } }, "outcomeDeclaration": { "type": "object", "description": "External Property" }, "origin": { "type": "string" }, "originData": { "type": "object" } }, "additionalProperties": false }