1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/config/schemas/lobbyProtocol/inviteReceived.json

27 lines
638 B
JSON

{
"type" : "object",
"$schema" : "http://json-schema.org/draft-06/schema",
"title" : "Lobby protocol: inviteReceived",
"description" : "Sent by server when player receives an invite from another player to join the game room",
"required" : [ "type", "accountID", "gameRoomID" ],
"additionalProperties" : false,
"properties" : {
"type" :
{
"type" : "string",
"const" : "inviteReceived"
},
"accountID" :
{
"type" : "string",
"description" : "ID of account that sent an invite"
},
"gameRoomID" :
{
"type" : "string",
"description" : "ID of game room that this player is now allowed to join"
}
}
}