6
0
Fork 0

schemas/ws/client/chat.json hinzugefügt

This commit is contained in:
Snoweuph 2025-02-05 01:40:29 +00:00 committed by Euph Forge
parent 9214667795
commit e5150b60ce
Signed by: Euph Forge
GPG key ID: 85A06461FB6BDBB7

View file

@ -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"
}
]
}