forked from CytonicMC/Cytosis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin-schema.json
More file actions
53 lines (53 loc) · 1.14 KB
/
plugin-schema.json
File metadata and controls
53 lines (53 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Cytosis Plugin Schema",
"type": "object",
"required": [
"id",
"name",
"version",
"description",
"authors",
"dependencies",
"main"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-_]{0,63}$",
"description": "The id of the plugin"
},
"name": {
"type": "string",
"description": "The name of the plugin"
},
"version": {
"type": "string",
"description": "The version of the plugin"
},
"description": {
"type": "string",
"description": "A short description of the plugin"
},
"authors": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "The list of authors"
},
"dependencies": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9-_]{0,63}$"
},
"description": "List of plugin IDs this plugin depends on"
},
"main": {
"type": "string",
"description": "The main class of the plugin"
}
}
}