summaryrefslogtreecommitdiff
path: root/schemas/profile.json
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-04-18 16:25:48 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-04-18 16:25:48 +0400
commit0ad35b9b50dfaa1083f3f5acc633ec769bc10e37 (patch)
tree4acfde7b0b09fb258002055a8d0e2d5e1a9c5c3e /schemas/profile.json
Initial commit
Diffstat (limited to 'schemas/profile.json')
-rw-r--r--schemas/profile.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/schemas/profile.json b/schemas/profile.json
new file mode 100644
index 0000000..ff7b087
--- /dev/null
+++ b/schemas/profile.json
@@ -0,0 +1,11 @@
+{
+ "type": "object",
+ "properties": {
+ "tg_id": { "type": "integer" },
+ "fullname": { "type": "string" },
+ "username": { "type": "string" },
+ "is_admin": { "type": "boolean" },
+ "is_hidden": { "type": "boolean" }
+ },
+ "required": ["tg_id", "fullname", "username", "is_admin", "is_hidden"]
+}