joinGameRoom.json 455 B

123456789101112131415161718192021
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: joinGameRoom",
  5. "description" : "Sent by client when player attempts to join a game room",
  6. "required" : [ "type", "gameRoomID" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "joinGameRoom"
  13. },
  14. "gameRoomID" :
  15. {
  16. "type" : "string",
  17. "description" : "ID of game room to join"
  18. }
  19. }
  20. }