Red-DiscordBot/schema/red_cog_repo.schema.json
Fixator10 8c89993cd5
JSON schemas for cogs and repos (#4375)
* 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>
2020-08-30 20:20:48 +02:00

28 lines
928 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$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"
}
}
}