Created
September 30, 2021 22:03
-
-
Save anden3/ef3c3be4a5ad6d35fff1bfb40252e621 to your computer and use it in GitHub Desktop.
JSON Schema for HoloBot Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema", | |
| "title": "HoloBot Configuration Schema", | |
| "description": "Schema for the configuration of https://github.com/anden3/holo-bot.", | |
| "x-taplo-info": { | |
| "authors": ["anden3 (https://github.com/anden3)"], | |
| "version": "0.1.0", | |
| "patterns": [".*holobot.toml$"] | |
| }, | |
| "type": "object", | |
| "properties": { | |
| "main": { | |
| "$ref": "#/definitions/Main" | |
| } | |
| }, | |
| "definitions": { | |
| "Main": { | |
| "title": "Main", | |
| "description": "Main configuration settings.", | |
| "type": "object", | |
| "required": ["discord_token", "database"], | |
| "properties": { | |
| "discord_token": { | |
| "description": "The bot token used to connect to Discord.", | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment