-
Notifications
You must be signed in to change notification settings - Fork 157
/
schema.json
77 lines (77 loc) · 2.36 KB
/
schema.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"$id": "https://blockbench.net/plugins.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"propertyNames": {
"pattern": "^[a-z0-9._-]+$"
},
"additionalProperties": {
"type": "object",
"required": ["title", "author", "icon", "description"],
"properties": {
"title": {
"type": "string"
},
"icon": {
"type": "string",
"description": "The plugin icon. Icons can be either PNG files with a resolution of 48x48, or they can be SVG files."
},
"author": {
"type": "string",
"description": "Name of the author or authors"
},
"description": {
"type": "string",
"description": "Short plugin description"
},
"about": {
"type": "string",
"description": "Plugin about text. Markdown is supported. For longer about pages, a separate about.md file is recommended."
},
"tags": {
"type": "array",
"description": "Plugin tags. Up to 3 tags are allowed",
"items": {
"type": "string"
}
},
"version": {
"type": "string",
"description": "Plugin version"
},
"variant": {
"type": "string",
"description": "Supported Blockbench variant",
"enum": ["desktop", "web", "both"]
},
"min_version": {
"type": "string",
"description": "Minimum required Blockbench version. Versions 4.7.x and below use the legacy repository structure, where the plugin file is directly stored in the plugins directory."
},
"deprecation_note": {
"type": "string",
"description": "Reason for plugin deprecation. Used alongside the 'Deprecated' tag"
},
"website": {
"type": "string",
"description": "URL to website of the plugin, if applicable"
},
"repository": {
"type": "string",
"description": "URL to Git repository of the plugin, if applicable"
},
"bug_tracker": {
"type": "string",
"description": "URL to the bug tracker of the plugin, if applicable. If unspecified, links to this repository."
},
"await_loading": {
"type": "boolean",
"description": "When set to true, Blockbench waits for this plugin to finish loading before opening double-clicked files etc. This is useful for plugins that add their own file formats that need to be considered when opening files."
},
"creation_date": {
"type": "string",
"description": "Date of the original release of the plugin, as YYYY/MM/DD"
}
}
}
}