2023-02-06 23:21:17 +01:00
|
|
|
{
|
2023-02-07 22:01:29 +01:00
|
|
|
"$schema": "http://json-schema.org/schema",
|
|
|
|
"$id": "https://raw.githubusercontent.com/Chatterino/chatterino2/master/docs/plugin-info.schema.json",
|
|
|
|
"title": "Plugin info",
|
|
|
|
"description": "Describes a Chatterino2 plugin (draft)",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Plugin name shown to the user."
|
2023-02-06 23:21:17 +01:00
|
|
|
},
|
2023-02-07 22:01:29 +01:00
|
|
|
"description": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Plugin description shown to the user."
|
|
|
|
},
|
|
|
|
"authors": {
|
2023-02-13 23:43:25 +01:00
|
|
|
"type": "array",
|
|
|
|
"description": "An array of authors of this Plugin.",
|
|
|
|
"items": {
|
2023-02-14 20:41:23 +01:00
|
|
|
"type": "string"
|
2023-02-13 23:43:25 +01:00
|
|
|
}
|
2023-02-07 22:01:29 +01:00
|
|
|
},
|
|
|
|
"homepage": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Optional URL to your Plugin's homepage. This could be your GitHub repo for example."
|
|
|
|
},
|
|
|
|
"tags": {
|
|
|
|
"description": "Something that could in the future be used to find your plugin.",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"examples": ["moderation", "utility", "commands"]
|
|
|
|
},
|
|
|
|
"uniqueItems": true
|
|
|
|
},
|
|
|
|
"version": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "Semver version string, for more info see https://semver.org.",
|
|
|
|
"examples": ["0.0.1", "1.0.0-rc.1"]
|
|
|
|
},
|
|
|
|
"license": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "A small description of your license.",
|
|
|
|
"examples": ["MIT", "GPL-2.0-or-later"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "description", "authors", "version", "license"]
|
2023-02-06 23:21:17 +01:00
|
|
|
}
|