Files
autobeerpong/src/schema/lobby/join.json
T

21 lines
460 B
JSON

{
"$id": "http://localhost/lobby/join.json",
"type": "object",
"properties": {
"messageType": {
"const": "join"
},
"messageContent": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
}