mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-05 18:58:53 -05:00
* JSON schemas for cogs and repos * newline at the end * capitalization * Remove *.json from .gitignore * Remove empty line * resolve requested changes * resolve requested changes, again Co-authored-by: Fixator10 <fixator10@users.noreply.github.com>
28 lines
928 B
JSON
28 lines
928 B
JSON
{
|
||
"$id": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/V3/develop/schema/red_cog_repo.schema.json",
|
||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
"title": "Red-DiscordBot Сog Repo metadata file",
|
||
"type": "object",
|
||
"properties": {
|
||
"author": {
|
||
"type": "array",
|
||
"description": "List of names of authors of the cog",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"description": {
|
||
"type": "string",
|
||
"description": "A long description of the cog or repo. For cogs, this is displayed when a user executes [p]cog info."
|
||
},
|
||
"install_msg": {
|
||
"type": "string",
|
||
"description": "The message that gets displayed when a cog is installed or a repo is added"
|
||
},
|
||
"short": {
|
||
"type": "string",
|
||
"description": "A short description of the cog or repo. For cogs, this info is displayed when a user executes [p]cog list"
|
||
}
|
||
}
|
||
}
|