generated from LiteLoaderQQNT/Plugin-Template
-
Notifications
You must be signed in to change notification settings - Fork 16
/
userstyles_schema.json
46 lines (46 loc) · 1.77 KB
/
userstyles_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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name",
"pattern": "^.+$",
"description": "The name of the style, preferably using only alphanumeric characters, hyphens and spaces and consistent with the style's `@name` metadata"
},
"author": {
"type": "string",
"title": "Author",
"pattern": "^[a-zA-Z0-9\\-_]+$",
"description": "The author's GitHub username"
},
"description": {
"type": "string",
"title": "Description",
"pattern": "^.+$",
"description": "A brief description of the style, preferably consistent with the style's `@description` metadata"
},
"preprocessor": {
"type": "string",
"title": "Preprocessor",
"enum": ["none", "transitio", "stylus"],
"description": "The preprocessor used for the style"
},
"link": {
"type": "string",
"title": "Homepage Link",
"format": "uri",
"description": "A link to the style's homepage or repository, preferably consistent with the style's `@homepageURL` metadata"
},
"download": {
"type": "string",
"title": "Download Link",
"format": "uri",
"description": "The download link for the style"
}
},
"required": ["name", "author", "description", "preprocessor", "link", "download"]
}
}