1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/config/schemas/lobbyProtocol/activateGameRoom.json
2024-03-27 13:10:55 +02:00

35 lines
817 B
JSON

{
"type" : "object",
"$schema" : "http://json-schema.org/draft-06/schema",
"title" : "Lobby protocol: activateGameRoom",
"description" : "Sent by client when player wants to activate a game room",
"required" : [ "type", "hostAccountID", "roomType" ],
"additionalProperties" : false,
"properties" : {
"type" :
{
"type" : "string",
"const" : "activateGameRoom"
},
"hostAccountID" :
{
"type" : "string",
"description" : "Account ID that hosts match server that player wants to activate"
},
"roomType" :
{
"type" : "string",
"enum" : [ "public", "private" ],
"description" : "Room type to use for activation"
},
"playerLimit" :
{
"type" : "number",
"minimum" : 1,
"maximum" : 8,
"description" : "Maximum number of players that can enter this room"
},
}
}