5etools-utils 0.9.54 → 0.9.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/actions.json +4 -4
  3. package/schema/brew/backgrounds.json +15 -15
  4. package/schema/brew/bestiary/bestiary.json +9 -9
  5. package/schema/brew/bestiary/foundry.json +1 -1
  6. package/schema/brew/charcreationoptions.json +4 -4
  7. package/schema/brew/class/class.json +30 -30
  8. package/schema/brew/class/foundry.json +110 -26
  9. package/schema/brew/conditionsdiseases.json +4 -4
  10. package/schema/brew/cultsboons.json +8 -8
  11. package/schema/brew/deities.json +3 -3
  12. package/schema/brew/entry.json +1 -1
  13. package/schema/brew/feats.json +4 -4
  14. package/schema/brew/foundry-actions.json +1 -1
  15. package/schema/brew/foundry-backgrounds.json +24 -3
  16. package/schema/brew/foundry-feats.json +1 -1
  17. package/schema/brew/foundry-items.json +25 -4
  18. package/schema/brew/foundry-optionalfeatures.json +1 -1
  19. package/schema/brew/foundry-psionics.json +25 -4
  20. package/schema/brew/foundry-races.json +122 -17
  21. package/schema/brew/foundry-rewards.json +1 -1
  22. package/schema/brew/foundry-vehicles.json +1 -1
  23. package/schema/brew/items-base.json +12 -12
  24. package/schema/brew/items.json +12 -12
  25. package/schema/brew/languages.json +1 -1
  26. package/schema/brew/magicvariants.json +4 -4
  27. package/schema/brew/objects.json +2 -2
  28. package/schema/brew/optionalfeatures.json +4 -4
  29. package/schema/brew/psionics.json +4 -4
  30. package/schema/brew/races.json +24 -24
  31. package/schema/brew/recipes.json +3 -3
  32. package/schema/brew/rewards.json +4 -4
  33. package/schema/brew/spells/foundry.json +1 -1
  34. package/schema/brew/spells/spells.json +12 -12
  35. package/schema/brew/tables.json +1 -1
  36. package/schema/brew/trapshazards.json +6 -6
  37. package/schema/brew/util-foundry.json +284 -0
  38. package/schema/brew/util.json +55 -212
  39. package/schema/brew/variantrules.json +1 -1
  40. package/schema/brew/vehicles.json +12 -12
  41. package/schema/brew-fast/actions.json +4 -4
  42. package/schema/brew-fast/backgrounds.json +15 -15
  43. package/schema/brew-fast/bestiary/bestiary.json +9 -9
  44. package/schema/brew-fast/bestiary/foundry.json +1 -1
  45. package/schema/brew-fast/charcreationoptions.json +4 -4
  46. package/schema/brew-fast/class/class.json +30 -30
  47. package/schema/brew-fast/class/foundry.json +110 -26
  48. package/schema/brew-fast/conditionsdiseases.json +4 -4
  49. package/schema/brew-fast/cultsboons.json +8 -8
  50. package/schema/brew-fast/deities.json +3 -3
  51. package/schema/brew-fast/entry.json +1 -1
  52. package/schema/brew-fast/feats.json +4 -4
  53. package/schema/brew-fast/foundry-actions.json +1 -1
  54. package/schema/brew-fast/foundry-backgrounds.json +24 -3
  55. package/schema/brew-fast/foundry-feats.json +1 -1
  56. package/schema/brew-fast/foundry-items.json +25 -4
  57. package/schema/brew-fast/foundry-optionalfeatures.json +1 -1
  58. package/schema/brew-fast/foundry-psionics.json +25 -4
  59. package/schema/brew-fast/foundry-races.json +122 -17
  60. package/schema/brew-fast/foundry-rewards.json +1 -1
  61. package/schema/brew-fast/foundry-vehicles.json +1 -1
  62. package/schema/brew-fast/items-base.json +12 -12
  63. package/schema/brew-fast/items.json +12 -12
  64. package/schema/brew-fast/languages.json +1 -1
  65. package/schema/brew-fast/magicvariants.json +4 -4
  66. package/schema/brew-fast/objects.json +2 -2
  67. package/schema/brew-fast/optionalfeatures.json +4 -4
  68. package/schema/brew-fast/psionics.json +4 -4
  69. package/schema/brew-fast/races.json +24 -24
  70. package/schema/brew-fast/recipes.json +3 -3
  71. package/schema/brew-fast/rewards.json +4 -4
  72. package/schema/brew-fast/spells/foundry.json +1 -1
  73. package/schema/brew-fast/spells/spells.json +12 -12
  74. package/schema/brew-fast/tables.json +1 -1
  75. package/schema/brew-fast/trapshazards.json +6 -6
  76. package/schema/brew-fast/util-foundry.json +284 -0
  77. package/schema/brew-fast/util.json +55 -212
  78. package/schema/brew-fast/variantrules.json +1 -1
  79. package/schema/brew-fast/vehicles.json +12 -12
  80. package/schema/site/bestiary/bestiary.json +3 -3
  81. package/schema/site/bestiary/foundry.json +1 -1
  82. package/schema/site/class/foundry.json +110 -26
  83. package/schema/site/foundry-actions.json +1 -1
  84. package/schema/site/foundry-backgrounds.json +24 -3
  85. package/schema/site/foundry-feats.json +1 -1
  86. package/schema/site/foundry-items.json +25 -4
  87. package/schema/site/foundry-optionalfeatures.json +1 -1
  88. package/schema/site/foundry-psionics.json +25 -4
  89. package/schema/site/foundry-races.json +122 -17
  90. package/schema/site/foundry-rewards.json +1 -1
  91. package/schema/site/foundry-vehicles.json +1 -1
  92. package/schema/site/objects.json +1 -1
  93. package/schema/site/spells/foundry.json +1 -1
  94. package/schema/site/util-foundry.json +284 -0
  95. package/schema/site/util.json +55 -212
  96. package/schema/site-fast/bestiary/bestiary.json +3 -3
  97. package/schema/site-fast/bestiary/foundry.json +1 -1
  98. package/schema/site-fast/class/foundry.json +110 -26
  99. package/schema/site-fast/foundry-actions.json +1 -1
  100. package/schema/site-fast/foundry-backgrounds.json +24 -3
  101. package/schema/site-fast/foundry-feats.json +1 -1
  102. package/schema/site-fast/foundry-items.json +25 -4
  103. package/schema/site-fast/foundry-optionalfeatures.json +1 -1
  104. package/schema/site-fast/foundry-psionics.json +25 -4
  105. package/schema/site-fast/foundry-races.json +122 -17
  106. package/schema/site-fast/foundry-rewards.json +1 -1
  107. package/schema/site-fast/foundry-vehicles.json +1 -1
  108. package/schema/site-fast/objects.json +1 -1
  109. package/schema/site-fast/spells/foundry.json +1 -1
  110. package/schema/site-fast/util-foundry.json +284 -0
  111. package/schema/site-fast/util.json +55 -212
  112. package/schema/ua/bestiary/bestiary.json +3 -3
  113. package/schema/ua/bestiary/foundry.json +1 -1
  114. package/schema/ua/class/foundry.json +110 -26
  115. package/schema/ua/foundry-actions.json +1 -1
  116. package/schema/ua/foundry-backgrounds.json +24 -3
  117. package/schema/ua/foundry-feats.json +1 -1
  118. package/schema/ua/foundry-items.json +25 -4
  119. package/schema/ua/foundry-optionalfeatures.json +1 -1
  120. package/schema/ua/foundry-psionics.json +25 -4
  121. package/schema/ua/foundry-races.json +122 -17
  122. package/schema/ua/foundry-rewards.json +1 -1
  123. package/schema/ua/foundry-vehicles.json +1 -1
  124. package/schema/ua/objects.json +1 -1
  125. package/schema/ua/spells/foundry.json +1 -1
  126. package/schema/ua/util-foundry.json +284 -0
  127. package/schema/ua/util.json +55 -212
  128. package/schema/ua-fast/bestiary/bestiary.json +3 -3
  129. package/schema/ua-fast/bestiary/foundry.json +1 -1
  130. package/schema/ua-fast/class/foundry.json +110 -26
  131. package/schema/ua-fast/foundry-actions.json +1 -1
  132. package/schema/ua-fast/foundry-backgrounds.json +24 -3
  133. package/schema/ua-fast/foundry-feats.json +1 -1
  134. package/schema/ua-fast/foundry-items.json +25 -4
  135. package/schema/ua-fast/foundry-optionalfeatures.json +1 -1
  136. package/schema/ua-fast/foundry-psionics.json +25 -4
  137. package/schema/ua-fast/foundry-races.json +122 -17
  138. package/schema/ua-fast/foundry-rewards.json +1 -1
  139. package/schema/ua-fast/foundry-vehicles.json +1 -1
  140. package/schema/ua-fast/objects.json +1 -1
  141. package/schema/ua-fast/spells/foundry.json +1 -1
  142. package/schema/ua-fast/util-foundry.json +284 -0
  143. package/schema/ua-fast/util.json +55 -212
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
8
- "$ref": "util.json#/$defs/foundrySideDataGenericArray"
8
+ "$ref": "util-foundry.json#/$defs/foundrySideDataGenericArray"
9
9
  },
10
10
  "item": {
11
11
  "type": "array",
@@ -22,20 +22,41 @@
22
22
  "$ref": "util.json#/$defs/source"
23
23
  },
24
24
  "system": {
25
- "$ref": "util.json#/$defs/foundrySystemObject"
25
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
26
26
  },
27
27
  "effects": {
28
28
  "type": "array",
29
29
  "items": {
30
- "$ref": "util.json#/$defs/foundryEffectObject"
30
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
31
31
  }
32
32
  },
33
33
  "flags": {
34
- "$ref": "util.json#/$defs/foundryFlagsObject"
34
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
35
35
  },
36
36
  "img": {
37
37
  "type": "string"
38
38
  },
39
+ "_merge": {
40
+ "type": "object",
41
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
42
+ "properties": {
43
+ "system": {
44
+ "const": true
45
+ },
46
+ "chooseSystem": {
47
+ "const": true
48
+ },
49
+ "effects": {
50
+ "const": true
51
+ },
52
+ "flags": {
53
+ "const": true
54
+ },
55
+ "chooseFlags": {
56
+ "const": true
57
+ }
58
+ }
59
+ },
39
60
  "type": {
40
61
  "type": "string",
41
62
  "enum": [
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "optionalfeature": {
8
- "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
8
+ "$ref": "util-foundry.json#/$defs/foundrySideDataGenericFeatureArray"
9
9
  }
10
10
  },
11
11
  "required": [
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "psionicDisciplineFocus": {
8
- "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
8
+ "$ref": "util-foundry.json#/$defs/foundrySideDataGenericFeatureArray"
9
9
  },
10
10
  "psionicDisciplineActive": {
11
11
  "type": "array",
@@ -28,20 +28,41 @@
28
28
  "$ref": "util.json#/$defs/source"
29
29
  },
30
30
  "system": {
31
- "$ref": "util.json#/$defs/foundrySystemObject"
31
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
32
32
  },
33
33
  "effects": {
34
34
  "type": "array",
35
35
  "items": {
36
- "$ref": "util.json#/$defs/foundryEffectObject"
36
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
37
37
  }
38
38
  },
39
39
  "flags": {
40
- "$ref": "util.json#/$defs/foundryFlagsObject"
40
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
41
41
  },
42
42
  "img": {
43
43
  "type": "string"
44
44
  },
45
+ "_merge": {
46
+ "type": "object",
47
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
48
+ "properties": {
49
+ "system": {
50
+ "const": true
51
+ },
52
+ "chooseSystem": {
53
+ "const": true
54
+ },
55
+ "effects": {
56
+ "const": true
57
+ },
58
+ "flags": {
59
+ "const": true
60
+ },
61
+ "chooseFlags": {
62
+ "const": true
63
+ }
64
+ }
65
+ },
45
66
  "psionicName": {
46
67
  "type": "string"
47
68
  },
@@ -15,22 +15,43 @@
15
15
  "$ref": "util.json#/$defs/source"
16
16
  },
17
17
  "system": {
18
- "$ref": "util.json#/$defs/foundrySystemObject"
18
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
19
19
  },
20
20
  "effects": {
21
21
  "type": "array",
22
22
  "items": {
23
- "$ref": "util.json#/$defs/foundryEffectObject"
23
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
24
24
  }
25
25
  },
26
26
  "flags": {
27
- "$ref": "util.json#/$defs/foundryFlagsObject"
27
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
28
28
  },
29
29
  "img": {
30
30
  "type": "string"
31
31
  },
32
+ "_merge": {
33
+ "type": "object",
34
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
35
+ "properties": {
36
+ "system": {
37
+ "const": true
38
+ },
39
+ "chooseSystem": {
40
+ "const": true
41
+ },
42
+ "effects": {
43
+ "const": true
44
+ },
45
+ "flags": {
46
+ "const": true
47
+ },
48
+ "chooseFlags": {
49
+ "const": true
50
+ }
51
+ }
52
+ },
32
53
  "entryData": {
33
- "$ref": "foundry-shared.json#/$defs/entryDataObject"
54
+ "$ref": "util-foundry.json#/$defs/entryDataObject"
34
55
  }
35
56
  },
36
57
  "required": [
@@ -54,22 +75,43 @@
54
75
  "$ref": "util.json#/$defs/source"
55
76
  },
56
77
  "system": {
57
- "$ref": "util.json#/$defs/foundrySystemObject"
78
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
58
79
  },
59
80
  "effects": {
60
81
  "type": "array",
61
82
  "items": {
62
- "$ref": "util.json#/$defs/foundryEffectObject"
83
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
63
84
  }
64
85
  },
65
86
  "flags": {
66
- "$ref": "util.json#/$defs/foundryFlagsObject"
87
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
67
88
  },
68
89
  "img": {
69
90
  "type": "string"
70
91
  },
92
+ "_merge": {
93
+ "type": "object",
94
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
95
+ "properties": {
96
+ "system": {
97
+ "const": true
98
+ },
99
+ "chooseSystem": {
100
+ "const": true
101
+ },
102
+ "effects": {
103
+ "const": true
104
+ },
105
+ "flags": {
106
+ "const": true
107
+ },
108
+ "chooseFlags": {
109
+ "const": true
110
+ }
111
+ }
112
+ },
71
113
  "entryData": {
72
- "$ref": "foundry-shared.json#/$defs/entryDataObject"
114
+ "$ref": "util-foundry.json#/$defs/entryDataObject"
73
115
  },
74
116
  "_copy": {
75
117
  "$ref": "util.json#/$defs/copyBlock_copy_generic"
@@ -94,20 +136,41 @@
94
136
  "$ref": "util.json#/$defs/source"
95
137
  },
96
138
  "system": {
97
- "$ref": "util.json#/$defs/foundrySystemObject"
139
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
98
140
  },
99
141
  "effects": {
100
142
  "type": "array",
101
143
  "items": {
102
- "$ref": "util.json#/$defs/foundryEffectObject"
144
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
103
145
  }
104
146
  },
105
147
  "flags": {
106
- "$ref": "util.json#/$defs/foundryFlagsObject"
148
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
107
149
  },
108
150
  "img": {
109
151
  "type": "string"
110
152
  },
153
+ "_merge": {
154
+ "type": "object",
155
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
156
+ "properties": {
157
+ "system": {
158
+ "const": true
159
+ },
160
+ "chooseSystem": {
161
+ "const": true
162
+ },
163
+ "effects": {
164
+ "const": true
165
+ },
166
+ "flags": {
167
+ "const": true
168
+ },
169
+ "chooseFlags": {
170
+ "const": true
171
+ }
172
+ }
173
+ },
111
174
  "raceName": {
112
175
  "description": "The full name of the race, with subrace parts/etc. applied.",
113
176
  "type": "string"
@@ -135,20 +198,41 @@
135
198
  "$ref": "util.json#/$defs/source"
136
199
  },
137
200
  "system": {
138
- "$ref": "util.json#/$defs/foundrySystemObject"
201
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
139
202
  },
140
203
  "effects": {
141
204
  "type": "array",
142
205
  "items": {
143
- "$ref": "util.json#/$defs/foundryEffectObject"
206
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
144
207
  }
145
208
  },
146
209
  "flags": {
147
- "$ref": "util.json#/$defs/foundryFlagsObject"
210
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
148
211
  },
149
212
  "img": {
150
213
  "type": "string"
151
214
  },
215
+ "_merge": {
216
+ "type": "object",
217
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
218
+ "properties": {
219
+ "system": {
220
+ "const": true
221
+ },
222
+ "chooseSystem": {
223
+ "const": true
224
+ },
225
+ "effects": {
226
+ "const": true
227
+ },
228
+ "flags": {
229
+ "const": true
230
+ },
231
+ "chooseFlags": {
232
+ "const": true
233
+ }
234
+ }
235
+ },
152
236
  "raceName": {
153
237
  "description": "The full name of the race, with subrace parts/etc. applied.",
154
238
  "type": "string"
@@ -176,20 +260,41 @@
176
260
  "$ref": "util.json#/$defs/source"
177
261
  },
178
262
  "system": {
179
- "$ref": "util.json#/$defs/foundrySystemObject"
263
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
180
264
  },
181
265
  "effects": {
182
266
  "type": "array",
183
267
  "items": {
184
- "$ref": "util.json#/$defs/foundryEffectObject"
268
+ "$ref": "util-foundry.json#/$defs/foundryEffectObject"
185
269
  }
186
270
  },
187
271
  "flags": {
188
- "$ref": "util.json#/$defs/foundryFlagsObject"
272
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
189
273
  },
190
274
  "img": {
191
275
  "type": "string"
192
276
  },
277
+ "_merge": {
278
+ "type": "object",
279
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
280
+ "properties": {
281
+ "system": {
282
+ "const": true
283
+ },
284
+ "chooseSystem": {
285
+ "const": true
286
+ },
287
+ "effects": {
288
+ "const": true
289
+ },
290
+ "flags": {
291
+ "const": true
292
+ },
293
+ "chooseFlags": {
294
+ "const": true
295
+ }
296
+ }
297
+ },
193
298
  "raceName": {
194
299
  "description": "The full name of the race, with subrace parts/etc. applied.",
195
300
  "type": "string"
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "reward": {
8
- "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
8
+ "$ref": "util-foundry.json#/$defs/foundrySideDataGenericFeatureArray"
9
9
  }
10
10
  },
11
11
  "required": [
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "vehicleUpgrade": {
8
- "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
8
+ "$ref": "util-foundry.json#/$defs/foundrySideDataGenericFeatureArray"
9
9
  }
10
10
  },
11
11
  "required": [
@@ -132,7 +132,7 @@
132
132
  "type": "string"
133
133
  },
134
134
  "foundryTokenScale": {
135
- "$ref": "foundry-shared.json#/$defs/foundryTokenScale"
135
+ "$ref": "util-foundry.json#/$defs/foundryTokenScale"
136
136
  },
137
137
  "srd": {
138
138
  "$ref": "util.json#/$defs/srd"
@@ -5,7 +5,7 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "spell": {
8
- "$ref": "../util.json#/$defs/foundrySideDataGenericArray"
8
+ "$ref": "../util-foundry.json#/$defs/foundrySideDataGenericArray"
9
9
  }
10
10
  },
11
11
  "required": [
@@ -0,0 +1,284 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "util-foundry.json",
4
+ "title": "Util: Foundry",
5
+ "version": "1.0.0",
6
+ "$defs": {
7
+ "entryDataObject": {
8
+ "description": "Additional \"5etools-type\" data to be stored on the entry.",
9
+ "type": "object",
10
+ "properties": {
11
+ "languageProficiencies": {
12
+ "$ref": "util.json#/$defs/languageProficiencies"
13
+ },
14
+ "skillProficiencies": {
15
+ "$ref": "util.json#/$defs/skillProficiencies"
16
+ },
17
+ "weaponProficiencies": {
18
+ "$ref": "util.json#/$defs/weaponProficiencies"
19
+ },
20
+ "armorProficiencies": {
21
+ "$ref": "util.json#/$defs/armorProficiencies"
22
+ },
23
+ "toolProficiencies": {
24
+ "$ref": "util.json#/$defs/toolProficiencies"
25
+ },
26
+ "savingThrowProficiencies": {
27
+ "$ref": "util.json#/$defs/savingThrowProficiencies"
28
+ },
29
+ "expertise": {
30
+ "$ref": "util.json#/$defs/expertise"
31
+ },
32
+ "resist": {
33
+ "$ref": "util.json#/$defs/damageResistArrayPlayer"
34
+ },
35
+ "immune": {
36
+ "$ref": "util.json#/$defs/damageImmunityArrayPlayer"
37
+ },
38
+ "vulnerable": {
39
+ "$ref": "util.json#/$defs/damageVulnerabilityArrayPlayer"
40
+ },
41
+ "conditionImmune": {
42
+ "$ref": "util.json#/$defs/conditionImmunityArrayPlayer"
43
+ },
44
+ "resources": {
45
+ "$ref": "util.json#/$defs/resourcesArray"
46
+ },
47
+ "senses": {
48
+ "$ref": "util.json#/$defs/sensesArray"
49
+ }
50
+ },
51
+ "additionalProperties": false
52
+ },
53
+ "foundryTokenScale": {
54
+ "type": "number",
55
+ "minimum": 0.2,
56
+ "maximum": 3,
57
+ "multipleOf": 0.1
58
+ },
59
+ "foundrySystemObject": {
60
+ "type": "object"
61
+ },
62
+ "foundryFlagsObject": {
63
+ "type": "object"
64
+ },
65
+ "foundryAdvancementObject": {
66
+ "type": "object"
67
+ },
68
+ "foundryAdvancementsArray": {
69
+ "type": "array",
70
+ "minItems": 1,
71
+ "items": {
72
+ "$ref": "#/$defs/foundryAdvancementObject"
73
+ },
74
+ "uniqueItems": true
75
+ },
76
+ "foundryImg": {
77
+ "type": "string"
78
+ },
79
+ "foundrySubEntitiesObject": {
80
+ "description": "A 5etools-data-like object of additional entities to import.",
81
+ "type": "object"
82
+ },
83
+ "foundryEffectObject": {
84
+ "type": "object",
85
+ "properties": {
86
+ "name": {
87
+ "type": "string"
88
+ },
89
+ "img": {
90
+ "type": "string"
91
+ },
92
+ "changes": {
93
+ "type": "array",
94
+ "items": {
95
+ "type": "object",
96
+ "properties": {
97
+ "key": {
98
+ "type": "string"
99
+ },
100
+ "mode": {
101
+ "type": [
102
+ "string",
103
+ "integer"
104
+ ]
105
+ },
106
+ "value": true,
107
+ "priority": {
108
+ "type": [
109
+ "string",
110
+ "integer"
111
+ ]
112
+ }
113
+ },
114
+ "required": [
115
+ "key",
116
+ "mode",
117
+ "value"
118
+ ],
119
+ "additionalProperties": false
120
+ }
121
+ },
122
+ "flags": {
123
+ "type": "object"
124
+ },
125
+ "duration": {
126
+ "type": "object"
127
+ },
128
+ "disabled": {
129
+ "const": true
130
+ },
131
+ "transfer": {
132
+ "const": true
133
+ }
134
+ },
135
+ "required": [
136
+ "changes"
137
+ ],
138
+ "additionalProperties": false
139
+ },
140
+ "foundryEffectsArray": {
141
+ "type": "array",
142
+ "items": {
143
+ "$ref": "#/$defs/foundryEffectObject"
144
+ },
145
+ "minItems": 1,
146
+ "uniqueItems": true
147
+ },
148
+ "foundrySideDataGenericObject": {
149
+ "type": "object",
150
+ "properties": {
151
+ "name": {
152
+ "type": "string"
153
+ },
154
+ "source": {
155
+ "$ref": "util.json#/$defs/source"
156
+ },
157
+ "system": {
158
+ "$ref": "#/$defs/foundrySystemObject"
159
+ },
160
+ "effects": {
161
+ "type": "array",
162
+ "items": {
163
+ "$ref": "#/$defs/foundryEffectObject"
164
+ }
165
+ },
166
+ "flags": {
167
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
168
+ },
169
+ "img": {
170
+ "type": "string"
171
+ },
172
+ "_merge": {
173
+ "type": "object",
174
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
175
+ "properties": {
176
+ "system": {
177
+ "const": true
178
+ },
179
+ "chooseSystem": {
180
+ "const": true
181
+ },
182
+ "effects": {
183
+ "const": true
184
+ },
185
+ "flags": {
186
+ "const": true
187
+ },
188
+ "chooseFlags": {
189
+ "const": true
190
+ }
191
+ }
192
+ }
193
+ },
194
+ "required": [
195
+ "name",
196
+ "source"
197
+ ],
198
+ "additionalProperties": false
199
+ },
200
+ "foundrySideDataGenericArray": {
201
+ "type": "array",
202
+ "minItems": 1,
203
+ "uniqueItems": true,
204
+ "items": {
205
+ "$ref": "#/$defs/foundrySideDataGenericObject"
206
+ }
207
+ },
208
+ "foundrySideDataGenericFeatureObject": {
209
+ "type": "object",
210
+ "properties": {
211
+ "name": {
212
+ "type": "string"
213
+ },
214
+ "source": {
215
+ "$ref": "util.json#/$defs/source"
216
+ },
217
+ "system": {
218
+ "$ref": "#/$defs/foundrySystemObject"
219
+ },
220
+ "effects": {
221
+ "type": "array",
222
+ "items": {
223
+ "$ref": "#/$defs/foundryEffectObject"
224
+ }
225
+ },
226
+ "flags": {
227
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
228
+ },
229
+ "img": {
230
+ "type": "string"
231
+ },
232
+ "_merge": {
233
+ "type": "object",
234
+ "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
235
+ "properties": {
236
+ "system": {
237
+ "const": true
238
+ },
239
+ "chooseSystem": {
240
+ "const": true
241
+ },
242
+ "effects": {
243
+ "const": true
244
+ },
245
+ "flags": {
246
+ "const": true
247
+ },
248
+ "chooseFlags": {
249
+ "const": true
250
+ }
251
+ }
252
+ },
253
+ "entries": {
254
+ "type": "array",
255
+ "items": {
256
+ "$ref": "entry.json"
257
+ }
258
+ },
259
+ "isIgnored": {
260
+ "const": true
261
+ },
262
+ "ignoreSrdEffects": {
263
+ "const": true
264
+ },
265
+ "actorDataMod": {
266
+ "type": "object"
267
+ }
268
+ },
269
+ "required": [
270
+ "name",
271
+ "source"
272
+ ],
273
+ "additionalProperties": false
274
+ },
275
+ "foundrySideDataGenericFeatureArray": {
276
+ "type": "array",
277
+ "minItems": 1,
278
+ "uniqueItems": true,
279
+ "items": {
280
+ "$ref": "#/$defs/foundrySideDataGenericFeatureObject"
281
+ }
282
+ }
283
+ }
284
+ }