From ca55e5791d24c3343a497f78b4c0534513e1b9ad Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 23 Sep 2021 10:42:34 +0200 Subject: [PATCH] remove schemas from current repo --- .../schema/classes/GameScore.schema.json | 22 --------- .../schema/classes/phraseProduced.schema.json | 47 ------------------- .../classes/sessionTimestamp.schema.json | 33 ------------- 3 files changed, 102 deletions(-) delete mode 100644 src/parse/schema/classes/GameScore.schema.json delete mode 100644 src/parse/schema/classes/phraseProduced.schema.json delete mode 100644 src/parse/schema/classes/sessionTimestamp.schema.json diff --git a/src/parse/schema/classes/GameScore.schema.json b/src/parse/schema/classes/GameScore.schema.json deleted file mode 100644 index af3d2da..0000000 --- a/src/parse/schema/classes/GameScore.schema.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Game Score", - "description": "A score obtained by a player and whether the player used the cheat mode", - "type": "object", - "properties": { - "score": { - "type": "number", - "description": "The score obtained by the player" - }, - "playerName": { - "type": "string", - "description": "The name of the player" - }, - "cheatMode": { - "type": "boolean", - "description": "Whether the player used the cheat mode" - } - }, - "required": ["score", "playerName"], - "additionalProperties": false -} diff --git a/src/parse/schema/classes/phraseProduced.schema.json b/src/parse/schema/classes/phraseProduced.schema.json deleted file mode 100644 index 57dee08..0000000 --- a/src/parse/schema/classes/phraseProduced.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "http://connectproject.github.io/schemas/phraseProduced.schema.json", - "title": "Phrase Produced", - "description": "A phrase produced as a combination of images", - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Unique Connect identifier of the app originating the event" - }, - "userId": { - "type": "string", - "description": "Unique Connect identifier of the user originating the event" - }, - "sessionId": { - "type": "string", - "description": "Unique Connect identifier of the session originating the event" - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "Timestamp for the production of the phrase" - }, - "phrase": { - "type": "array", - "minItems": 1, - "description": "Array of images used in the phrase, in the order they were used", - "items": { - "type": "object", - "properties": { - "imageURL": { - "type": "string", - "format": "url" - }, - "wordPronounced": { - "type": "string" - } - }, - "required": ["imageURL"], - "additionalProperties": false - } - } - }, - "required": ["appId", "userId", "timestamp", "phrase"], - "additionalProperties": false -} diff --git a/src/parse/schema/classes/sessionTimestamp.schema.json b/src/parse/schema/classes/sessionTimestamp.schema.json deleted file mode 100644 index b25439d..0000000 --- a/src/parse/schema/classes/sessionTimestamp.schema.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "http://connectproject.github.io/schemas/sessionTimestamp.schema.json", - "title": "Session Timestamp", - "description": "A timestamp for the beginning and end of an app session", - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Unique Connect identifier of the app originating the event" - }, - "userId": { - "type": "string", - "description": "Unique Connect identifier of the user originating the event" - }, - "sessionId": { - "type": "string", - "description": "Unique Connect identifier of the session originating the event" - }, - "sessionBegin": { - "type": "string", - "format": "date-time", - "description": "Timestamp for the beginning of the session" - }, - "sessionEnd": { - "type": "string", - "format": "date-time", - "description": "Timestamp for the end of the session" - } - }, - "required": ["appId", "userId", "sessionBegin"], - "additionalProperties": false -}