activateGameRoom.json 817 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: activateGameRoom",
  5. "description" : "Sent by client when player wants to activate a game room",
  6. "required" : [ "type", "hostAccountID", "roomType" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "activateGameRoom"
  13. },
  14. "hostAccountID" :
  15. {
  16. "type" : "string",
  17. "description" : "Account ID that hosts match server that player wants to activate"
  18. },
  19. "roomType" :
  20. {
  21. "type" : "string",
  22. "enum" : [ "public", "private" ],
  23. "description" : "Room type to use for activation"
  24. },
  25. "playerLimit" :
  26. {
  27. "type" : "number",
  28. "minimum" : 1,
  29. "maximum" : 8,
  30. "description" : "Maximum number of players that can enter this room"
  31. },
  32. }
  33. }