-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
66 lines (66 loc) · 2.71 KB
/
Copy pathschema.json
File metadata and controls
66 lines (66 loc) · 2.71 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "xfetch Theme Registry",
"description": "Schema for the xfetch theme registry index file",
"type": "object",
"required": ["registry", "themes"],
"properties": {
"registry": {
"type": "string",
"format": "uri",
"description": "Base URL for theme file downloads"
},
"themes": {
"type": "array",
"description": "List of available themes",
"items": {
"type": "object",
"required": ["name", "author", "version", "description", "source"],
"properties": {
"name": {
"type": "string",
"description": "Theme identifier used in xfetch config (theme: name)"
},
"author": {
"type": "string",
"description": "Theme author username or handle"
},
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"description": "Semantic version of the theme"
},
"description": {
"type": "string",
"description": "Short description of the theme style and colors"
},
"layout": {
"type": "string",
"description": "Default layout for this theme",
"enum": ["default", "section", "pacman", "side-block", "tree", "box", "line", "dots", "bottom_line", "compact", "minimal", "horizontal", "bottom"]
},
"palette_style": {
"type": "string",
"description": "Default palette display style",
"enum": ["squares", "circles", "triangles", "lines", "dots"]
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Searchable tags for theme discovery"
},
"source": {
"type": "string",
"format": "uri",
"description": "URL to download the theme JSONC file"
},
"screenshot": {
"type": "string",
"format": "uri",
"description": "URL to a screenshot preview of the theme"
}
}
}
}
}
}