forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bungee-plugin.json
51 lines (51 loc) · 1.24 KB
/
bungee-plugin.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/bungee-plugin",
"additionalProperties": true,
"definitions": {
"plugin-name": {
"type": "string",
"pattern": "^[A-Za-z0-9_\\.-]+$"
}
},
"properties": {
"name": {
"$ref": "#/definitions/plugin-name",
"description": "The name of the plugin."
},
"main": {
"description": "Plugin main class.",
"type": "string",
"pattern": "^([a-zA-Z_$][a-zA-Z\\d_$]*\\.)*[a-zA-Z_$][a-zA-Z\\d_$]*$"
},
"version": {
"description": "Plugin version.",
"type": "string"
},
"author": {
"description": "Plugin author.",
"type": "string"
},
"depends": {
"description": "Plugin hard dependencies.",
"type": "array",
"items": {
"$ref": "#/definitions/plugin-name"
}
},
"softDepends": {
"description": "Plugin soft dependencies.",
"type": "array",
"items": {
"$ref": "#/definitions/plugin-name"
}
},
"description": {
"description": "Optional description.",
"type": "string"
}
},
"required": ["name", "main"],
"title": "JSON schema for BungeeCord Plugin YAML",
"type": "object"
}