diff --git a/data/messages/records.json b/data/messages/records.json index b7c0e39..95b6fed 100644 --- a/data/messages/records.json +++ b/data/messages/records.json @@ -7,7 +7,6 @@ "email": "Purple @Purple.com", "message": "Go_purple", "name": "Purple lover", - "rating": "", "customProperties": {} }, { @@ -18,7 +17,6 @@ "email": "greatchattha@gmail.com", "message": "Hello sir i came across one of your projects named as \"medical records directory\" but i cannot used it without sql file can you send me the sql file of that project", "name": "hamza", - "rating": "", "customProperties": {} }, { @@ -29,7 +27,6 @@ "email": "jack", "message": "Hello. Oo", "name": "Hi", - "rating": "", "customProperties": {} }, { @@ -40,7 +37,6 @@ "email": "", "message": "Love the fact that the website loads so quickly. Great work bro, GREAT WORK.", "name": "Not_Spongebob", - "rating": "", "customProperties": {} }, { @@ -51,7 +47,6 @@ "email": "tanmoy.srm.backup@gmail.com", "message": "testing123", "name": "test", - "rating": "", "customProperties": {} }, { @@ -62,9 +57,9 @@ "email": "", "message": "Does it get erased after submitting?", "name": "", - "rating": "3", + "rating": 3, "customProperties": { - "userExperienceRating": "5" + "userExperienceRating": 5 } }, { @@ -75,9 +70,9 @@ "email": "", "message": "test", "name": "", - "rating": "5", + "rating": 5, "customProperties": { - "userExperienceRating": "5" + "userExperienceRating": 5 } }, { @@ -88,9 +83,9 @@ "email": "", "message": "", "name": "", - "rating": "5", + "rating": 5, "customProperties": { - "userExperienceRating": "5" + "userExperienceRating": 5 } }, { @@ -101,9 +96,9 @@ "email": "", "message": "Great work.", "name": "", - "rating": "5", + "rating": 5, "customProperties": { - "userExperienceRating": "5" + "userExperienceRating": 5 } }, { @@ -114,9 +109,9 @@ "email": "", "message": "", "name": "", - "rating": "4", + "rating": 4, "customProperties": { - "userExperienceRating": "5" + "userExperienceRating": 5 } } ] \ No newline at end of file diff --git a/schema/databases/tsg-on-web_v0_beta_1/collections/messages/messages.schema.json b/schema/databases/tsg-on-web_v0_beta_1/collections/messages/messages.schema.json index 214563f..8d01b25 100644 --- a/schema/databases/tsg-on-web_v0_beta_1/collections/messages/messages.schema.json +++ b/schema/databases/tsg-on-web_v0_beta_1/collections/messages/messages.schema.json @@ -2,7 +2,7 @@ "type": "object", "properties": { "timestamp": { - "type": "string" + "type": "number" }, "isMessage": { "type": "boolean" @@ -23,7 +23,7 @@ "type": "string" }, "rating": { - "type": "string" + "type": "integer" }, "customProperties": { "type": "object",