6
0
Fork 0
Dokumentation/schemas/ws/client/chat.json

26 lines
No EOL
494 B
JSON

{
"$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"
}
]
}