{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-rooms-response-schema.json",
  "title": "RoomsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-netplay-api-openapi.yml#/components/schemas/RoomsResponse",
  "properties": {
    "room_name": {
      "type": "string",
      "title": "Room Name"
    },
    "current": {
      "type": "integer",
      "title": "Current"
    },
    "max": {
      "type": "integer",
      "title": "Max"
    },
    "player_name": {
      "type": "string",
      "title": "Player Name"
    },
    "hasPassword": {
      "type": "boolean",
      "title": "Haspassword"
    }
  },
  "type": "object",
  "required": [
    "room_name",
    "current",
    "max",
    "player_name",
    "hasPassword"
  ]
}