-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
51 lines (51 loc) · 1.42 KB
/
schema.json
File metadata and controls
51 lines (51 loc) · 1.42 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
{
"title": "Configs",
"description": "Set of linux dotfiles",
"type": "object",
"properties": {
"configs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"app_name": {
"description": "Name of the program and future name of the folder",
"type": "string"
},
"source_path": {
"description": "Path to restore/copy",
"type": "string"
},
"is_folder": {
"description": "Defines if it is a folder or a single file",
"type": "boolean",
"default": true
},
"laptop_desktop_split": {
"description": "Defines whether a config should be split in 2 versions",
"type": "object",
"properties": {
"split_files": {
"description": "Array of files to split between laptop and desktop versions",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"required": ["split_files"],
"additionalProperties": false
}
},
"required": ["app_name", "source_path", "is_folder"],
"additionalProperties": false
}
},
"$schema": {
"type": "string"
}
},
"required": ["configs"],
"additionalProperties": false
}