From e287b0f7116376dd864fc2235fd915cb60ed4e26 Mon Sep 17 00:00:00 2001 From: nivetha Date: Sat, 9 Apr 2022 12:07:16 +0530 Subject: [PATCH] Schema configuration --- schemas/asset/1.0/schema.json | 12 +++++++ schemas/collection/1.0/schema.json | 12 +++++++ schemas/content/1.0/schema.json | 15 ++++++++- schemas/question/1.0/schema.json | 16 +++++++++- schemas/questionset/1.0/schema.json | 49 +++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+), 2 deletions(-) diff --git a/schemas/asset/1.0/schema.json b/schemas/asset/1.0/schema.json index 8aa9ad085..5a4dc078b 100644 --- a/schemas/asset/1.0/schema.json +++ b/schemas/asset/1.0/schema.json @@ -1249,6 +1249,18 @@ "items": { "type": "string" } + }, + "taxonomyPaths_v2": { + "type": "array", + "items": { + "type": "object" + } + }, + "competencies_v3": { + "type": "array", + "items": { + "type": "object" + } } } } \ No newline at end of file diff --git a/schemas/collection/1.0/schema.json b/schemas/collection/1.0/schema.json index 112e93841..473c36e7a 100644 --- a/schemas/collection/1.0/schema.json +++ b/schemas/collection/1.0/schema.json @@ -1286,6 +1286,18 @@ "items": { "type": "object" } + }, + "taxonomyPaths_v2": { + "type": "array", + "items": { + "type": "object" + } + }, + "competencies_v3": { + "type": "array", + "items": { + "type": "object" + } } } } diff --git a/schemas/content/1.0/schema.json b/schemas/content/1.0/schema.json index 73181a850..9a0728d6b 100644 --- a/schemas/content/1.0/schema.json +++ b/schemas/content/1.0/schema.json @@ -87,7 +87,8 @@ "audio/webm", "audio/x-wav", "audio/wav", - "application/json" + "application/json", + "application/quiz" ] }, "osId": { @@ -1395,6 +1396,18 @@ "items": { "type": "object" } + }, + "taxonomyPaths_v2": { + "type": "array", + "items": { + "type": "object" + } + }, + "competencies_v3": { + "type": "array", + "items": { + "type": "object" + } } } } diff --git a/schemas/question/1.0/schema.json b/schemas/question/1.0/schema.json index 6054a39e3..ae0c3e9d3 100644 --- a/schemas/question/1.0/schema.json +++ b/schemas/question/1.0/schema.json @@ -425,7 +425,10 @@ "enum": [ "MCQ", "FTB", - "SA" + "SA", + "MCQ-MCA", + "MCQ-SCA", + "MTF" ] }, "scoringMode": { @@ -580,6 +583,17 @@ }, "originData": { "type": "object" + }, + "choices": { + "type": "object", + "description": "Choices which needs to be used in MCQ / MTF type question" + }, + "rhsChoices": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Choices which needs to be used in RHS of MTF type question" } }, "additionalProperties": false diff --git a/schemas/questionset/1.0/schema.json b/schemas/questionset/1.0/schema.json index fcc691a25..bc1d34254 100644 --- a/schemas/questionset/1.0/schema.json +++ b/schemas/questionset/1.0/schema.json @@ -656,6 +656,55 @@ }, "originData": { "type": "object" + }, + "trackable": { + "type": "object", + "properties": { + "enabled": { + "type": "string", + "enum": ["Yes","No"], + "default": "No" + }, + "autoBatch": { + "type": "string", + "enum": ["Yes","No"], + "default": "No" + } + }, + "default": { + "enabled": "No", + "autoBatch": "No" + }, + "additionalProperties": false + }, + "purpose": { + "type": "string" + }, + "scoreCutoffType": { + "type": "string", + "enum": [ + "AssessmentLevel", + "SectionLevel" + ], + "default": "AssessmentLevel" + }, + "subTitle": { + "type": "string" + }, + "minimumPassPercentage": { + "type": "number" + }, + "additionalKeywords": { + "type": "array", + "items": { + "type": "string" + } + }, + "additionalInstructions": { + "type": "string" + }, + "reviewStatus": { + "type": "string" } }, "additionalProperties": false