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