Browse Source

18.OP-1 - fixes

singulart 3 years ago
parent
commit
2b6d0de703
1 changed files with 30 additions and 30 deletions
  1. 30 30
      operations/kpi_schema.json

+ 30 - 30
operations/kpi_schema.json

@@ -6,25 +6,25 @@
     "overviewSection": {
     "overviewSection": {
       "type": "object",
       "type": "object",
       "properties": {
       "properties": {
-        "title": "string",
-        "kpisNumber": "string",
-        "councilElectedInRound": "number",
-        "councilMembers": "number",
+        "title": {"type": {"type": "string"}},
+        "kpisNumber": {"type": {"type": "string"}},
+        "councilElectedInRound": {"type": {"type": "number"}},
+        "councilMembers": {"type": {"type": "number"}},
         "termLength": {
         "termLength": {
           "type": "object",
           "type": "object",
           "properties": {
           "properties": {
-            "termLength": "string",
-            "startBlock": "number",
-            "endBlock": "number",
-            "startDate": "date",
-            "endDate": "date"
+            "termLength": {"type": {"type": "string"}},
+            "startBlock": {"type": {"type": "number"}},
+            "endBlock": {"type": {"type": "number"}},
+            "startDate": {"type": {"type": "string"}, "format": "date"},
+            "endDate": {"type": {"type": "string"}, "format": "date"}
           },
           },
-          "termSummariesForumThread": "string",
+          "termSummariesForumThread": {"type": {"type": "string"}},
           "deadlineToSubmitSummary": {
           "deadlineToSubmitSummary": {
             "type": "object",
             "type": "object",
             "properties": {
             "properties": {
-              "block": "number",
-              "date": "date"
+              "block": {"type": {"type": "number"}},
+              "deadlineDate": {"type": {"type": "string"}, "format": "date"}
             }
             }
           }
           }
         }
         }
@@ -35,51 +35,51 @@
       "items": {
       "items": {
         "type": "object",
         "type": "object",
         "properties": {
         "properties": {
-          "sectionTitle": "string",
-          "sectionDescription": "string",
+          "sectionTitle": {"type": {"type": "string"}},
+          "sectionDescription": {"type": {"type": "string"}},
           "kpis": {
           "kpis": {
             "type": "array",
             "type": "array",
             "items": {
             "items": {
               "type": "object",
               "type": "object",
               "properties": {
               "properties": {
-                "kpiTitle": "string",
+                "kpiTitle": {"type": {"type": "string"}},
                 "reward": {
                 "reward": {
                   "type": "object",
                   "type": "object",
                   "properties": {
                   "properties": {
-                    "rewardLine": "string",
-                    "rewardDescription": "string"
+                    "rewardLine": {"type": {"type": "string"}},
+                    "rewardDescription": {"type": {"type": "string"}}
                   }
                   }
                 },
                 },
-                "rewardStructure": "string",
-                "gradingProcess": "string",
+                "rewardStructure": {"type": {"type": "string"}},
+                "gradingProcess": {"type": {"type": "string"}},
                 "active": {
                 "active": {
                   "type": "object",
                   "type": "object",
                   "properties": {
                   "properties": {
-                    "active": "string",
-                    "block": "number",
-                    "date": "date"
+                    "active": {"type": {"type": "string"}},
+                    "block": {"type": {"type": "number"}},
+                    "activeDate": {"type": {"type": "string"}, "format": "date"}
                   }
                   }
                 },
                 },
-                "purpose": "string",
+                "purpose": {"type": {"type": "string"}},
                 "scopeOfWork": {
                 "scopeOfWork": {
                   "type": "array",
                   "type": "array",
                   "items": {
                   "items": {
                     "type": "object",
                     "type": "object",
                     "properties": {
                     "properties": {
-                      "task": "string"
+                      "task": {"type": {"type": "string"}}
                     }
                     }
                   }
                   }
                 },
                 },
-                "rewardDistribution": "string",
-                "note": "string",
-                "grading": "string",
-                "reporting": "string",
+                "rewardDistribution": {"type": {"type": "string"}},
+                "note": {"type": {"type": "string"}},
+                "grading": {"type": {"type": "string"}},
+                "reporting": {"type": {"type": "string"}},
                 "weighting": {
                 "weighting": {
                   "type": "array",
                   "type": "array",
                   "items": {
                   "items": {
                     "type": "object",
                     "type": "object",
                     "properties": {
                     "properties": {
-                      "weight": "string"
+                      "weight": {"type": {"type": "string"}}
                     }
                     }
                   }
                   }
                 }
                 }
@@ -90,4 +90,4 @@
       }
       }
     }
     }
   }
   }
-}
+}