-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.schema.json
89 lines (89 loc) · 2.83 KB
/
theme.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/pekdon/pekwm-theme-registry/theme.schema.json",
"title": "pekwm theme",
"description": "A pekwm theme in the pekwm theme registry",
"type": "object",
"properties": {
"registry-version": {
"description": "Registry format version",
"type": "integer",
"const": 1
},
"author": {
"description": "Theme author",
"type": "string"
},
"original-theme-author": {
"description": "Author of the original version of the theme, set if it is a theme port",
"type": "string"
},
"original-theme-homepage": {
"description": "Homepage of the original version of the theme (or of the original theme author), set if it is a theme port",
"type": "string",
"format": "uri"
},
"original-theme-wm": {
"description": "Window Manager / OS of the original theme",
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
},
"name": {
"description": "Theme name",
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
},
"title": {
"description": "Theme title, used in theme listing",
"type": "string",
"maxLength": 79
},
"description": {
"description": "Theme description",
"type": "string"
},
"homepage": {
"description": "Theme homepage",
"type": "string",
"format": "uri"
},
"source": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["git", "http"]
},
"git": {
"type": "object",
"properties": {
"remote": {
"type": "string",
"format": "uri"
},
"branch": {
"type": "string"
}
},
"required": ["remote", "branch"]
},
"http": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": ["url"]
}
},
"required": ["type"]
}
},
"required": ["registry-version",
"author",
"name",
"title",
"source"]
}