From 97d043c462db3f7c2ab05789a3785a5250d420e0 Mon Sep 17 00:00:00 2001
From: shishirsuman <Shishir.suman@tarento.com>
Date: Mon, 30 Jan 2023 12:54:16 +0530
Subject: [PATCH] adding changes for new category for FRACCL

---
 schemas/questionset/1.0/config.json |  9 ++++++---
 schemas/questionset/1.0/schema.json | 27 +++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/schemas/questionset/1.0/config.json b/schemas/questionset/1.0/config.json
index f8764d715..170a50e16 100644
--- a/schemas/questionset/1.0/config.json
+++ b/schemas/questionset/1.0/config.json
@@ -27,14 +27,16 @@
     "medium",
     "subject",
     "gradeLevel",
-    "topic"
+    "topic",
+    "difficultyLevel"
   ],
   "orgFrameworkTerms": [
     "boardIds",
     "gradeLevelIds",
     "subjectIds",
     "mediumIds",
-    "topicsIds"
+    "topicsIds",
+    "difficultyLevelIds"
   ],
   "targetFrameworkTerms": [
     "targetFWIds",
@@ -42,7 +44,8 @@
     "targetGradeLevelIds",
     "targetSubjectIds",
     "targetMediumIds",
-    "targetTopicIds"
+    "targetTopicIds",
+    "difficultyLevelIds"
   ],
   "cacheEnabled": false,
   "schema_restrict_api": true,
diff --git a/schemas/questionset/1.0/schema.json b/schemas/questionset/1.0/schema.json
index 96da2520d..22dc3be9c 100644
--- a/schemas/questionset/1.0/schema.json
+++ b/schemas/questionset/1.0/schema.json
@@ -234,6 +234,9 @@
     "gradeLevel" : {
       "type": "array"
     },
+    "difficultyLevel" : {
+      "type": "array"
+    },
     "topic" : {
       "type": "array"
     },
@@ -267,6 +270,12 @@
         "type": "string"
       }
     },
+    "difficultyLevelIds": {
+      "type": "array",
+      "items": {
+        "type": "string"
+      }
+    },
     "targetFWIds": {
       "type": "array",
       "items": {
@@ -303,6 +312,12 @@
         "type": "string"
       }
     },
+    "targetDifficultyLevelIds": {
+      "type": "array",
+      "items": {
+        "type": "string"
+      }
+    },
     "se_FWIds": {
       "type": "array",
       "items": {
@@ -333,6 +348,12 @@
         "type": "string"
       }
     },
+    "se_difficultyLevelIds": {
+      "type": "array",
+      "items": {
+        "type": "string"
+      }
+    },
     "se_gradeLevelIds": {
       "type": "array",
       "items": {
@@ -369,6 +390,12 @@
         "type": "string"
       }
     },
+    "se_difficultyLevels": {
+      "type": "array",
+      "items": {
+        "type": "string"
+      }
+    },
     "createdOn": {
       "type": "string"
     },
-- 
GitLab