5etools-utils 0.13.39 → 0.13.41

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 (139) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/actions.json +4 -1
  3. package/schema/brew/backgrounds.json +10 -1
  4. package/schema/brew/charcreationoptions.json +4 -1
  5. package/schema/brew/class/foundry.json +4 -92
  6. package/schema/brew/conditionsdiseases.json +7 -1
  7. package/schema/brew/cultsboons.json +7 -1
  8. package/schema/brew/entry.json +3 -1
  9. package/schema/brew/feats.json +10 -1
  10. package/schema/brew/foundry-backgrounds.json +1 -23
  11. package/schema/brew/foundry-items.json +1 -23
  12. package/schema/brew/foundry-psionics.json +1 -23
  13. package/schema/brew/foundry-races.json +5 -115
  14. package/schema/brew/homebrew.json +9 -3
  15. package/schema/brew/items-base.json +10 -1
  16. package/schema/brew/items.json +19 -1
  17. package/schema/brew/magicvariants.json +19 -1
  18. package/schema/brew/optionalfeatures.json +10 -1
  19. package/schema/brew/psionics.json +4 -1
  20. package/schema/brew/races.json +19 -1
  21. package/schema/brew/rewards.json +4 -1
  22. package/schema/brew/spells/spells.json +10 -1
  23. package/schema/brew/trapshazards.json +4 -1
  24. package/schema/brew/util-foundry.json +29 -69
  25. package/schema/brew-fast/actions.json +4 -1
  26. package/schema/brew-fast/backgrounds.json +10 -1
  27. package/schema/brew-fast/charcreationoptions.json +4 -1
  28. package/schema/brew-fast/class/foundry.json +4 -92
  29. package/schema/brew-fast/conditionsdiseases.json +7 -1
  30. package/schema/brew-fast/cultsboons.json +7 -1
  31. package/schema/brew-fast/entry.json +3 -1
  32. package/schema/brew-fast/feats.json +10 -1
  33. package/schema/brew-fast/foundry-backgrounds.json +1 -23
  34. package/schema/brew-fast/foundry-items.json +1 -23
  35. package/schema/brew-fast/foundry-psionics.json +1 -23
  36. package/schema/brew-fast/foundry-races.json +5 -115
  37. package/schema/brew-fast/homebrew.json +9 -3
  38. package/schema/brew-fast/items-base.json +10 -1
  39. package/schema/brew-fast/items.json +19 -1
  40. package/schema/brew-fast/magicvariants.json +19 -1
  41. package/schema/brew-fast/optionalfeatures.json +10 -1
  42. package/schema/brew-fast/psionics.json +4 -1
  43. package/schema/brew-fast/races.json +19 -1
  44. package/schema/brew-fast/rewards.json +4 -1
  45. package/schema/brew-fast/spells/spells.json +10 -1
  46. package/schema/brew-fast/trapshazards.json +4 -1
  47. package/schema/brew-fast/util-foundry.json +29 -69
  48. package/schema/site/actions.json +1 -1
  49. package/schema/site/backgrounds.json +1 -1
  50. package/schema/site/charcreationoptions.json +1 -1
  51. package/schema/site/class/foundry.json +4 -92
  52. package/schema/site/conditionsdiseases.json +1 -1
  53. package/schema/site/cultsboons.json +1 -1
  54. package/schema/site/entry.json +3 -1
  55. package/schema/site/feats.json +1 -1
  56. package/schema/site/foundry-backgrounds.json +1 -23
  57. package/schema/site/foundry-items.json +1 -23
  58. package/schema/site/foundry-psionics.json +1 -23
  59. package/schema/site/foundry-races.json +5 -115
  60. package/schema/site/homebrew.json +9 -3
  61. package/schema/site/items-base.json +1 -1
  62. package/schema/site/items.json +1 -1
  63. package/schema/site/magicvariants.json +1 -1
  64. package/schema/site/optionalfeatures.json +1 -1
  65. package/schema/site/psionics.json +1 -1
  66. package/schema/site/races.json +1 -1
  67. package/schema/site/rewards.json +1 -1
  68. package/schema/site/spells/spells.json +1 -1
  69. package/schema/site/trapshazards.json +1 -1
  70. package/schema/site/util-foundry.json +29 -69
  71. package/schema/site-fast/actions.json +1 -1
  72. package/schema/site-fast/backgrounds.json +1 -1
  73. package/schema/site-fast/charcreationoptions.json +1 -1
  74. package/schema/site-fast/class/foundry.json +4 -92
  75. package/schema/site-fast/conditionsdiseases.json +1 -1
  76. package/schema/site-fast/cultsboons.json +1 -1
  77. package/schema/site-fast/entry.json +3 -1
  78. package/schema/site-fast/feats.json +1 -1
  79. package/schema/site-fast/foundry-backgrounds.json +1 -23
  80. package/schema/site-fast/foundry-items.json +1 -23
  81. package/schema/site-fast/foundry-psionics.json +1 -23
  82. package/schema/site-fast/foundry-races.json +5 -115
  83. package/schema/site-fast/homebrew.json +9 -3
  84. package/schema/site-fast/items-base.json +1 -1
  85. package/schema/site-fast/items.json +1 -1
  86. package/schema/site-fast/magicvariants.json +1 -1
  87. package/schema/site-fast/optionalfeatures.json +1 -1
  88. package/schema/site-fast/psionics.json +1 -1
  89. package/schema/site-fast/races.json +1 -1
  90. package/schema/site-fast/rewards.json +1 -1
  91. package/schema/site-fast/spells/spells.json +1 -1
  92. package/schema/site-fast/trapshazards.json +1 -1
  93. package/schema/site-fast/util-foundry.json +29 -69
  94. package/schema/ua/actions.json +1 -1
  95. package/schema/ua/backgrounds.json +1 -1
  96. package/schema/ua/charcreationoptions.json +1 -1
  97. package/schema/ua/class/foundry.json +4 -92
  98. package/schema/ua/conditionsdiseases.json +1 -1
  99. package/schema/ua/cultsboons.json +1 -1
  100. package/schema/ua/entry.json +3 -1
  101. package/schema/ua/feats.json +1 -1
  102. package/schema/ua/foundry-backgrounds.json +1 -23
  103. package/schema/ua/foundry-items.json +1 -23
  104. package/schema/ua/foundry-psionics.json +1 -23
  105. package/schema/ua/foundry-races.json +5 -115
  106. package/schema/ua/homebrew.json +9 -3
  107. package/schema/ua/items-base.json +1 -1
  108. package/schema/ua/items.json +1 -1
  109. package/schema/ua/magicvariants.json +1 -1
  110. package/schema/ua/optionalfeatures.json +1 -1
  111. package/schema/ua/psionics.json +1 -1
  112. package/schema/ua/races.json +1 -1
  113. package/schema/ua/rewards.json +1 -1
  114. package/schema/ua/spells/spells.json +1 -1
  115. package/schema/ua/trapshazards.json +1 -1
  116. package/schema/ua/util-foundry.json +29 -69
  117. package/schema/ua-fast/actions.json +1 -1
  118. package/schema/ua-fast/backgrounds.json +1 -1
  119. package/schema/ua-fast/charcreationoptions.json +1 -1
  120. package/schema/ua-fast/class/foundry.json +4 -92
  121. package/schema/ua-fast/conditionsdiseases.json +1 -1
  122. package/schema/ua-fast/cultsboons.json +1 -1
  123. package/schema/ua-fast/entry.json +3 -1
  124. package/schema/ua-fast/feats.json +1 -1
  125. package/schema/ua-fast/foundry-backgrounds.json +1 -23
  126. package/schema/ua-fast/foundry-items.json +1 -23
  127. package/schema/ua-fast/foundry-psionics.json +1 -23
  128. package/schema/ua-fast/foundry-races.json +5 -115
  129. package/schema/ua-fast/homebrew.json +9 -3
  130. package/schema/ua-fast/items-base.json +1 -1
  131. package/schema/ua-fast/items.json +1 -1
  132. package/schema/ua-fast/magicvariants.json +1 -1
  133. package/schema/ua-fast/optionalfeatures.json +1 -1
  134. package/schema/ua-fast/psionics.json +1 -1
  135. package/schema/ua-fast/races.json +1 -1
  136. package/schema/ua-fast/rewards.json +1 -1
  137. package/schema/ua-fast/spells/spells.json +1 -1
  138. package/schema/ua-fast/trapshazards.json +1 -1
  139. package/schema/ua-fast/util-foundry.json +29 -69
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.13.39",
3
+ "version": "0.13.41",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "actions.json",
4
- "version": "1.2.6",
4
+ "version": "1.2.7",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "action": {
@@ -83,6 +83,9 @@
83
83
  },
84
84
  "foundryImg": {
85
85
  "$ref": "util-foundry.json#/$defs/foundryImg"
86
+ },
87
+ "_foundryMerge": {
88
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
86
89
  }
87
90
  },
88
91
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "backgrounds.json",
4
- "version": "1.3.11",
4
+ "version": "1.3.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "backgroundData": {
@@ -121,6 +121,9 @@
121
121
  },
122
122
  "foundryAdvancement": {
123
123
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
124
+ },
125
+ "_foundryMerge": {
126
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
124
127
  }
125
128
  },
126
129
  "additionalProperties": false
@@ -244,6 +247,9 @@
244
247
  },
245
248
  "foundryAdvancement": {
246
249
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
250
+ },
251
+ "_foundryMerge": {
252
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
247
253
  }
248
254
  },
249
255
  "additionalProperties": false,
@@ -371,6 +377,9 @@
371
377
  "foundryAdvancement": {
372
378
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
373
379
  },
380
+ "_foundryMerge": {
381
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
382
+ },
374
383
  "_copy": {
375
384
  "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
376
385
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "charcreationoptions.json",
4
- "version": "1.2.4",
4
+ "version": "1.2.5",
5
5
  "title": "Character Creation Options",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -73,6 +73,9 @@
73
73
  },
74
74
  "foundryImg": {
75
75
  "$ref": "util-foundry.json#/$defs/foundryImg"
76
+ },
77
+ "_foundryMerge": {
78
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
76
79
  }
77
80
  },
78
81
  "required": [
@@ -41,29 +41,7 @@
41
41
  "type": "integer"
42
42
  },
43
43
  "_merge": {
44
- "type": "object",
45
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
46
- "properties": {
47
- "system": {
48
- "const": true
49
- },
50
- "chooseSystem": {
51
- "const": true
52
- },
53
- "activities": {
54
- "const": true
55
- },
56
- "effects": {
57
- "const": true
58
- },
59
- "flags": {
60
- "const": true
61
- },
62
- "chooseFlags": {
63
- "const": true
64
- }
65
- },
66
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
44
+ "$ref": "../util-foundry.json#/$defs/foundryMergeObject"
67
45
  },
68
46
  "entries": {
69
47
  "type": "array",
@@ -157,29 +135,7 @@
157
135
  "type": "integer"
158
136
  },
159
137
  "_merge": {
160
- "type": "object",
161
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
162
- "properties": {
163
- "system": {
164
- "const": true
165
- },
166
- "chooseSystem": {
167
- "const": true
168
- },
169
- "activities": {
170
- "const": true
171
- },
172
- "effects": {
173
- "const": true
174
- },
175
- "flags": {
176
- "const": true
177
- },
178
- "chooseFlags": {
179
- "const": true
180
- }
181
- },
182
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
138
+ "$ref": "../util-foundry.json#/$defs/foundryMergeObject"
183
139
  },
184
140
  "shortName": {
185
141
  "type": "string"
@@ -278,29 +234,7 @@
278
234
  "type": "integer"
279
235
  },
280
236
  "_merge": {
281
- "type": "object",
282
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
283
- "properties": {
284
- "system": {
285
- "const": true
286
- },
287
- "chooseSystem": {
288
- "const": true
289
- },
290
- "activities": {
291
- "const": true
292
- },
293
- "effects": {
294
- "const": true
295
- },
296
- "flags": {
297
- "const": true
298
- },
299
- "chooseFlags": {
300
- "const": true
301
- }
302
- },
303
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
237
+ "$ref": "../util-foundry.json#/$defs/foundryMergeObject"
304
238
  },
305
239
  "className": {
306
240
  "type": "string"
@@ -398,29 +332,7 @@
398
332
  "type": "integer"
399
333
  },
400
334
  "_merge": {
401
- "type": "object",
402
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
403
- "properties": {
404
- "system": {
405
- "const": true
406
- },
407
- "chooseSystem": {
408
- "const": true
409
- },
410
- "activities": {
411
- "const": true
412
- },
413
- "effects": {
414
- "const": true
415
- },
416
- "flags": {
417
- "const": true
418
- },
419
- "chooseFlags": {
420
- "const": true
421
- }
422
- },
423
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
335
+ "$ref": "../util-foundry.json#/$defs/foundryMergeObject"
424
336
  },
425
337
  "className": {
426
338
  "type": "string"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "conditionsdiseases.json",
4
- "version": "1.2.9",
4
+ "version": "1.2.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "_conditionDiseaseBase": {
@@ -62,6 +62,9 @@
62
62
  },
63
63
  "foundryImg": {
64
64
  "$ref": "util-foundry.json#/$defs/foundryImg"
65
+ },
66
+ "_foundryMerge": {
67
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
65
68
  }
66
69
  },
67
70
  "required": [
@@ -136,6 +139,9 @@
136
139
  "foundryImg": {
137
140
  "$ref": "util-foundry.json#/$defs/foundryImg"
138
141
  },
142
+ "_foundryMerge": {
143
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
144
+ },
139
145
  "type": {
140
146
  "type": "string",
141
147
  "examples": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "cultsboons.json",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cult": {
@@ -90,6 +90,9 @@
90
90
  },
91
91
  "foundryImg": {
92
92
  "$ref": "util-foundry.json#/$defs/foundryImg"
93
+ },
94
+ "_foundryMerge": {
95
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
93
96
  }
94
97
  },
95
98
  "required": [
@@ -168,6 +171,9 @@
168
171
  },
169
172
  "foundryImg": {
170
173
  "$ref": "util-foundry.json#/$defs/foundryImg"
174
+ },
175
+ "_foundryMerge": {
176
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
171
177
  }
172
178
  },
173
179
  "required": [
@@ -1873,7 +1873,9 @@
1873
1873
  }
1874
1874
  },
1875
1875
  "additionalProperties": false
1876
- }
1876
+ },
1877
+ "minItems": 1,
1878
+ "uniqueItems": true
1877
1879
  },
1878
1880
  "mapParent": {
1879
1881
  "description": "Note that the order of transformations is: scale, then offset.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "feats.json",
4
- "version": "1.7.11",
4
+ "version": "1.7.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "featData": {
@@ -146,6 +146,9 @@
146
146
  },
147
147
  "foundryImg": {
148
148
  "$ref": "util-foundry.json#/$defs/foundryImg"
149
+ },
150
+ "_foundryMerge": {
151
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
149
152
  }
150
153
  },
151
154
  "additionalProperties": false
@@ -294,6 +297,9 @@
294
297
  },
295
298
  "foundryImg": {
296
299
  "$ref": "util-foundry.json#/$defs/foundryImg"
300
+ },
301
+ "_foundryMerge": {
302
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
297
303
  }
298
304
  },
299
305
  "additionalProperties": false,
@@ -446,6 +452,9 @@
446
452
  "foundryImg": {
447
453
  "$ref": "util-foundry.json#/$defs/foundryImg"
448
454
  },
455
+ "_foundryMerge": {
456
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
457
+ },
449
458
  "_copy": {
450
459
  "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
451
460
  }
@@ -49,29 +49,7 @@
49
49
  "type": "integer"
50
50
  },
51
51
  "_merge": {
52
- "type": "object",
53
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
54
- "properties": {
55
- "system": {
56
- "const": true
57
- },
58
- "chooseSystem": {
59
- "const": true
60
- },
61
- "activities": {
62
- "const": true
63
- },
64
- "effects": {
65
- "const": true
66
- },
67
- "flags": {
68
- "const": true
69
- },
70
- "chooseFlags": {
71
- "const": true
72
- }
73
- },
74
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
52
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
75
53
  },
76
54
  "backgroundName": {
77
55
  "type": "string"
@@ -46,29 +46,7 @@
46
46
  "type": "integer"
47
47
  },
48
48
  "_merge": {
49
- "type": "object",
50
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
51
- "properties": {
52
- "system": {
53
- "const": true
54
- },
55
- "chooseSystem": {
56
- "const": true
57
- },
58
- "activities": {
59
- "const": true
60
- },
61
- "effects": {
62
- "const": true
63
- },
64
- "flags": {
65
- "const": true
66
- },
67
- "chooseFlags": {
68
- "const": true
69
- }
70
- },
71
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
49
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
72
50
  },
73
51
  "type": {
74
52
  "type": "string",
@@ -52,29 +52,7 @@
52
52
  "type": "integer"
53
53
  },
54
54
  "_merge": {
55
- "type": "object",
56
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
57
- "properties": {
58
- "system": {
59
- "const": true
60
- },
61
- "chooseSystem": {
62
- "const": true
63
- },
64
- "activities": {
65
- "const": true
66
- },
67
- "effects": {
68
- "const": true
69
- },
70
- "flags": {
71
- "const": true
72
- },
73
- "chooseFlags": {
74
- "const": true
75
- }
76
- },
77
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
55
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
78
56
  },
79
57
  "psionicName": {
80
58
  "type": "string"
@@ -39,29 +39,7 @@
39
39
  "type": "integer"
40
40
  },
41
41
  "_merge": {
42
- "type": "object",
43
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
44
- "properties": {
45
- "system": {
46
- "const": true
47
- },
48
- "chooseSystem": {
49
- "const": true
50
- },
51
- "activities": {
52
- "const": true
53
- },
54
- "effects": {
55
- "const": true
56
- },
57
- "flags": {
58
- "const": true
59
- },
60
- "chooseFlags": {
61
- "const": true
62
- }
63
- },
64
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
42
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
65
43
  },
66
44
  "entryData": {
67
45
  "$ref": "util-foundry.json#/$defs/entryDataObject"
@@ -112,29 +90,7 @@
112
90
  "type": "integer"
113
91
  },
114
92
  "_merge": {
115
- "type": "object",
116
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
117
- "properties": {
118
- "system": {
119
- "const": true
120
- },
121
- "chooseSystem": {
122
- "const": true
123
- },
124
- "activities": {
125
- "const": true
126
- },
127
- "effects": {
128
- "const": true
129
- },
130
- "flags": {
131
- "const": true
132
- },
133
- "chooseFlags": {
134
- "const": true
135
- }
136
- },
137
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
93
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
138
94
  },
139
95
  "entryData": {
140
96
  "$ref": "util-foundry.json#/$defs/entryDataObject"
@@ -186,29 +142,7 @@
186
142
  "type": "integer"
187
143
  },
188
144
  "_merge": {
189
- "type": "object",
190
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
191
- "properties": {
192
- "system": {
193
- "const": true
194
- },
195
- "chooseSystem": {
196
- "const": true
197
- },
198
- "activities": {
199
- "const": true
200
- },
201
- "effects": {
202
- "const": true
203
- },
204
- "flags": {
205
- "const": true
206
- },
207
- "chooseFlags": {
208
- "const": true
209
- }
210
- },
211
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
145
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
212
146
  },
213
147
  "raceName": {
214
148
  "description": "The full name of the race, with subrace parts/etc. applied.",
@@ -263,29 +197,7 @@
263
197
  "type": "integer"
264
198
  },
265
199
  "_merge": {
266
- "type": "object",
267
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
268
- "properties": {
269
- "system": {
270
- "const": true
271
- },
272
- "chooseSystem": {
273
- "const": true
274
- },
275
- "activities": {
276
- "const": true
277
- },
278
- "effects": {
279
- "const": true
280
- },
281
- "flags": {
282
- "const": true
283
- },
284
- "chooseFlags": {
285
- "const": true
286
- }
287
- },
288
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
200
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
289
201
  },
290
202
  "raceName": {
291
203
  "description": "The full name of the race, with subrace parts/etc. applied.",
@@ -340,29 +252,7 @@
340
252
  "type": "integer"
341
253
  },
342
254
  "_merge": {
343
- "type": "object",
344
- "description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
345
- "properties": {
346
- "system": {
347
- "const": true
348
- },
349
- "chooseSystem": {
350
- "const": true
351
- },
352
- "activities": {
353
- "const": true
354
- },
355
- "effects": {
356
- "const": true
357
- },
358
- "flags": {
359
- "const": true
360
- },
361
- "chooseFlags": {
362
- "const": true
363
- }
364
- },
365
- "markdownDescription": "If our "X" (e.g. "system") should be merged with any base "X", rather than overwriting."
255
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
366
256
  },
367
257
  "raceName": {
368
258
  "description": "The full name of the race, with subrace parts/etc. applied.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -140,9 +140,9 @@
140
140
  },
141
141
  "color": {
142
142
  "type": "string",
143
- "description": "HTML hex color code this source should use when displayed in lists, e.g. 'ff00ff'",
143
+ "description": "HTML hex color code this school should use when displayed in lists, e.g. 'ff00ff'",
144
144
  "pattern": "^([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$",
145
- "markdownDescription": "HTML hex color code this source should use when displayed in lists, e.g. 'ff00ff'"
145
+ "markdownDescription": "HTML hex color code this school should use when displayed in lists, e.g. 'ff00ff'"
146
146
  }
147
147
  },
148
148
  "required": [
@@ -207,6 +207,12 @@
207
207
  "short": {
208
208
  "type": "string"
209
209
  },
210
+ "color": {
211
+ "type": "string",
212
+ "description": "HTML hex color code this type should use when displayed in lists, e.g. 'ff00ff'",
213
+ "pattern": "^([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$",
214
+ "markdownDescription": "HTML hex color code this type should use when displayed in lists, e.g. 'ff00ff'"
215
+ },
210
216
  "hasOrder": {
211
217
  "description": "If this type has a psionic order.",
212
218
  "type": "boolean",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.6.14",
4
+ "version": "1.6.15",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -467,6 +467,9 @@
467
467
  "foundryImg": {
468
468
  "$ref": "util-foundry.json#/$defs/foundryImg"
469
469
  },
470
+ "_foundryMerge": {
471
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
472
+ },
470
473
  "fluff": {
471
474
  "$ref": "items-shared.json#/$defs/fluff"
472
475
  }
@@ -845,6 +848,9 @@
845
848
  "foundryImg": {
846
849
  "$ref": "util-foundry.json#/$defs/foundryImg"
847
850
  },
851
+ "_foundryMerge": {
852
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
853
+ },
848
854
  "fluff": {
849
855
  "$ref": "items-shared.json#/$defs/fluff"
850
856
  }
@@ -1227,6 +1233,9 @@
1227
1233
  "foundryImg": {
1228
1234
  "$ref": "util-foundry.json#/$defs/foundryImg"
1229
1235
  },
1236
+ "_foundryMerge": {
1237
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1238
+ },
1230
1239
  "fluff": {
1231
1240
  "$ref": "items-shared.json#/$defs/fluff"
1232
1241
  },