-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.schema.json
More file actions
172 lines (172 loc) · 3.44 KB
/
Copy pathconfig.schema.json
File metadata and controls
172 lines (172 loc) · 3.44 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"categories"
],
"properties": {
"$schema": {
"type": "string"
},
"baseUrl": {
"description": "The domain name this will be hosted on, without a trailing slash",
"type": "string"
},
"outPath": {
"description": "Output directory for generated images (default: out/)",
"type": "string"
},
"optimizeLevel": {
"description": "oxipng optimization preset 0-6 (default: 2)",
"type": "integer",
"minimum": 0,
"maximum": 6
},
"generateWebp": {
"description": "Also produce lossless WebP alongside PNG (default: true)",
"type": "boolean"
},
"renderPasses": {
"description": "Control dmm-tools render pass selection",
"type": "object",
"properties": {
"include": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"categories": {
"type": "array",
"items": {
"$ref": "#/definitions/MapCategory"
}
}
},
"definitions": {
"MapCategory": {
"type": "object",
"required": [
"name",
"gamePath",
"mapFilesPath"
],
"properties": {
"name": {
"description": "Directory name for this category in the output",
"type": "string"
},
"friendlyName": {
"description": "Display name for this category",
"type": "string"
},
"logo": {
"description": "Icon filename in the logos folder",
"type": "string"
},
"gamePath": {
"description": "Absolute path to the root of the SS13 codebase",
"type": "string"
},
"mapFilesPath": {
"description": "Path to map files relative to gamePath",
"type": "string"
},
"envFile": {
"description": "DME environment filename relative to gamePath (default: tgstation.dme)",
"type": "string"
},
"maps": {
"type": "array",
"items": {
"$ref": "#/definitions/MapInfo"
}
},
"subcategories": {
"type": "array",
"items": {
"$ref": "#/definitions/MapSubCategory"
}
},
"supportsPipes": {
"type": "boolean"
},
"renderOnce": {
"type": "boolean"
},
"doFTL": {
"type": "boolean"
}
}
},
"MapSubCategory": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Directory name for this subcategory in the output",
"type": "string"
},
"friendlyName": {
"description": "Display name for this subcategory",
"type": "string"
},
"maps": {
"type": "array",
"items": {
"$ref": "#/definitions/MapInfo"
}
},
"supportsPipes": {
"type": "boolean"
},
"renderOnce": {
"type": "boolean"
},
"doFTL": {
"type": "boolean"
}
}
},
"MapInfo": {
"type": "object",
"required": [
"name",
"dmmPath"
],
"properties": {
"name": {
"description": "Identifier for this map, used in output filenames and directory name",
"type": "string"
},
"dmmPath": {
"description": "Path to the .dmm file relative to the category's mapFilesPath",
"type": "string"
},
"friendlyName": {
"description": "Display name for this map",
"type": "string"
},
"supportsPipes": {
"type": "boolean"
},
"renderOnce": {
"type": "boolean"
},
"doFTL": {
"type": "boolean"
}
}
}
}
}