From fb98afcf87632fc2ddcd5a4c13598cb7ebecc915 Mon Sep 17 00:00:00 2001
From: HongKee Moon <moon@mpi-cbg.de>
Date: Wed, 9 Feb 2022 16:50:02 +0100
Subject: [PATCH] Made the enumeration items lower case

---
 .../content-types/update-item/schema.json     | 33 +++++++++----------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/cms/src/api/update-item/content-types/update-item/schema.json b/cms/src/api/update-item/content-types/update-item/schema.json
index dabbf92..c152a16 100644
--- a/cms/src/api/update-item/content-types/update-item/schema.json
+++ b/cms/src/api/update-item/content-types/update-item/schema.json
@@ -15,9 +15,9 @@
     "Entity": {
       "type": "enumeration",
       "enum": [
-        "Protein",
-        "Condensate",
-        "Condensate_Protein"
+        "protein",
+        "condensate",
+        "condensate_protein"
       ]
     },
     "EntityId": {
@@ -32,9 +32,9 @@
     "ChangeOperation": {
       "type": "enumeration",
       "enum": [
-        "Add",
-        "Remove",
-        "Update"
+        "add",
+        "remove",
+        "update"
       ],
       "required": true
     },
@@ -51,17 +51,6 @@
     "UpdateReviewTimestamp": {
       "type": "datetime"
     },
-    "Status": {
-      "type": "enumeration",
-      "enum": [
-        "Requested",
-        "Accepted",
-        "Rejected",
-        "Synced"
-      ],
-      "default": "Requested",
-      "required": true
-    },
     "reviewedBy": {
       "type": "relation",
       "relation": "manyToOne",
@@ -88,6 +77,16 @@
     },
     "Value": {
       "type": "text"
+    },
+    "Status": {
+      "type": "enumeration",
+      "enum": [
+        "requested",
+        "accepted",
+        "rejected",
+        "synced"
+      ],
+      "required": true
     }
   }
 }
-- 
GitLab