1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +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"
}
}
}