1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/config/schemas/lobbyProtocol/activateGameRoom.json

28 lines
659 B
JSON
Raw Normal View History

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