-
Notifications
You must be signed in to change notification settings - Fork 0
/
acs-split.schema.json
149 lines (130 loc) · 4.85 KB
/
acs-split.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
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
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "ACS (Split)",
"description": "Monika After Story Mod split ACS JSON schema",
"type": "object",
"additionalProperties": false,
"if": {
"anyOf": [
{ "properties": { "rec_layer": { "const": 8 } } },
{ "properties": { "rec_layer": { "const": 9 } } }
]
},
"then": {
"required": [
"version",
"type",
"name",
"img_sit",
"pose_map",
"arm_split"
]
},
"else": {
"required": [
"version",
"type",
"name",
"img_sit",
"pose_map"
]
},
"properties": {
"__author": { "$ref": "#/$defs/any" },
"version": { "const": 3 },
"type": { "const": 0 },
"name": { "type": "string" },
"img_sit": { "$ref": "#/$defs/filename" },
"pose_map": {
"type": "object",
"additionalProperties": false,
"properties": {
"mpm_type": { "type": "integer" },
"default": { "$ref": "#/$defs/pose" },
"l_default": { "$ref": "#/$defs/pose" },
"use_reg_for_l": { "type": "boolean", "default": false }
},
"patternProperties": {
"p[0-7]": { "$ref": "#/$defs/pose" }
}
},
"arm_split": {
"type": "object",
"additionalProperties": false,
"properties": {
"mpm_type": { "type": "integer" },
"default": { "$ref": "#/$defs/acs_split_pose" },
"l_default": { "$ref": "#/$defs/acs_split_pose" },
"use_reg_for_l": { "type": "boolean", "default": false }
},
"patternProperties": {
"p[0-7]": { "$ref": "#/$defs/acs_split_pose" }
}
},
"stay_on_start": { "type": "boolean", "default": false },
"ex_props": {
"type": "object",
"default": { },
"properties": {
"drink": { "$ref": "#/$defs/flag" },
"excluded-hair-props": { "$ref": "#/$defs/string_list" },
"food": { "$ref": "#/$defs/flag" },
"left-desk-acs": { "$ref": "#/$defs/flag" },
"required-hair-prop": { "type": "string" },
"ribbon-like": { "$ref": "#/$defs/flag" },
"twin-ribbon": { "$ref": "#/$defs/flag" }
}
},
"select_info": {
"type": "object",
"additionalProperties": false,
"properties": {
"display_name": { "type": "string" },
"thumb": { "$ref": "#/$defs/filename" },
"group": { "type": "string" },
"visible_when_locked": { "type": "boolean", "default": true },
"select_dlg": { "$ref": "#/$defs/string_list" },
"hover_dlg": { "$ref": "#/$defs/string_list" }
}
},
"highlight": {
"type": "object",
"additionalProperties": false,
"properties": {
"default": { "$ref": "#/$defs/filter" },
"mapping": {
"type": "object",
"additionalProperties": false,
"patternProperties": { "^.*$": { "$ref": "#/$defs/filter" } }
}
}
},
"dryrun": { "$ref": "#/$defs/flag" },
"rec_layer": { "enum": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ], "default": 2 },
"priority": { "type": "integer", "default": 10 },
"acs_type": { "type": "string", "default": null },
"mux_type": { "$ref": "#/$defs/string_list" },
"giftname": { "$ref": "#/$defs/filename" },
"dlg_desc": { "type": "string" },
"dlg_plural": { "type": "boolean" },
"keep_on_desk": { "type": "boolean", "default": false }
},
"$defs": {
"pose": { "type": "string", "default": null },
"acs_split_pose": {
"type": "string", "pattern": "^(?:|\\*|(?:(?:0|1|5|10))(?:\\^(?:0|1|5|10))*)$", "default": null
},
"flag": { },
"string_list": { "type": "array","items": { "type": "string" }, "default": null },
"filter": {
"type": "object",
"properties": {
"default": { "type": "string" },
"day": { "type": "string" },
"night": { "type": "string" }
}
},
"filename": { "type": "string", "pattern": "^[^./\\\\]*$" },
"any": { "type": [ "number", "string", "boolean", "object", "array", "null" ] }
}
}