From e5150b60cef3d3e36eb2413fb572cf2f9aaa03dc Mon Sep 17 00:00:00 2001 From: snoweuph Date: Wed, 5 Feb 2025 01:40:29 +0000 Subject: [PATCH] =?UTF-8?q?schemas/ws/client/chat.json=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/ws/client/chat.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 schemas/ws/client/chat.json diff --git a/schemas/ws/client/chat.json b/schemas/ws/client/chat.json new file mode 100644 index 0000000..28ab87a --- /dev/null +++ b/schemas/ws/client/chat.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://json-schema.org/draft/2019-09/schema", + "$id": "http://example.com/example.json", + "type": "object", + "default": {}, + "title": "Root Schema", + "required": ["msg"], + "properties": { + "msg": { + "type": "string", + "default": "", + "title": "The message sent", + "examples": ["Hello World!", "GG"], + "maxLength": 256, + "minLength": 1 + } + }, + "examples": [ + { + "msg": "Hello World!" + }, + { + "msg": "GG" + } + ] +} \ No newline at end of file