schemas/ws/client/chat.json hinzugefügt
This commit is contained in:
parent
9214667795
commit
e5150b60ce
1 changed files with 26 additions and 0 deletions
26
schemas/ws/client/chat.json
Normal file
26
schemas/ws/client/chat.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue