diff options
Diffstat (limited to 'schemas/profile.json')
| -rw-r--r-- | schemas/profile.json | 11 |
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"] +} |