plugins-evert/gamedig/schema.json

40 lines
1013 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://squeebot.lunasqu.ee/pkg/plugins-evert/gamedig.schema.json",
"title": "gamedig",
"description": "gamedig plugin configuration",
"type": "object",
"properties": {
"games": {
"type": "array",
"description": "List of games",
"items": {
"type": "object",
"properties": {
"game": {
"type": "string",
"description": "gamedig game name"
},
"host": {
"type": "string",
"description": "Game server host"
},
"port": {
"type": "integer",
"description": "Game server port"
},
"rooms": {
"type": "array",
"description": "Rooms to register command in",
"items": {
"type": "string"
}
}
},
"required": ["game", "host", "rooms"]
}
}
},
"required": ["games"]
}