-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
96 lines (96 loc) · 2.98 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"theme_list": {
"type": "array",
"items": {
"type": "object",
"title": "The theme list",
"description": "The theme list",
"required": [
"name",
"intro",
"download_url",
"author",
"author_url",
"license",
"last_tested_on_bbg_version",
"compatible_with_newer_bbg_version",
"compatible_with_older_bbg_version",
"is_example_theme",
"last_update_date"
],
"default": {
"name": "",
"intro": "",
"download_url": "",
"author": "",
"author_url": "",
"license": "",
"last_tested_on_bbg_version": 0,
"compatible_with_newer_bbg_version": true,
"compatible_with_older_bbg_version": true,
"is_example_theme": true,
"last_update_date": 0
},
"properties": {
"name": {
"type": "string",
"title": "Theme Name",
"description": "The name of the theme"
},
"intro": {
"type": "string",
"title": "Theme Introduction",
"description": "The introduction to the theme"
},
"download_url": {
"type": "string",
"title": "Theme Download URL",
"description": "The download URL for the theme"
},
"author": {
"type": "string",
"title": "Your Name",
"description": "The author of the theme, only accept one"
},
"author_url": {
"type": "string",
"title": "Your Link",
"description": "Your website or social media account link"
},
"license": {
"type": "string",
"title": "License",
"description": "The license of the theme"
},
"last_tested_on_bbg_version": {
"type": "number",
"description": "The version you last tested your theme"
},
"compatible_with_newer_bbg_version": {
"type": "boolean",
"title": "Compatiblity of New BBG Versions",
"description": "Whether compatible with new version"
},
"compatible_with_older_bbg_version": {
"type": "boolean",
"title": "Compatiblity of Old BBG Versions",
"description": "Whether compatible with old version"
},
"is_example_theme": {
"type": "boolean",
"title": "Example Theme Mark",
"description": "If you set true, your theme may not be shown in the final theme store because it means you just test."
},
"last_update_date": {
"type": "number",
"title": "Last Update Date",
"description": "The theme's last update date"
}
}
}
}
}
}