5etools-utils 0.8.37 → 0.9.1

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 (187) hide show
  1. package/README.md +1 -0
  2. package/bin/test-json-ua.js +5 -0
  3. package/lib/BrewTester.js +3 -3
  4. package/lib/TestJson.js +22 -7
  5. package/package.json +2 -1
  6. package/schema/brew/backgrounds.json +13 -13
  7. package/schema/brew/class/class.json +1 -1
  8. package/schema/brew/items-shared.json +1 -1
  9. package/schema/brew/races.json +1 -1
  10. package/schema/brew/spells/spells.json +61 -61
  11. package/schema/brew/util.json +47 -1
  12. package/schema/brew-fast/backgrounds.json +13 -13
  13. package/schema/brew-fast/class/class.json +1 -1
  14. package/schema/brew-fast/items-shared.json +1 -1
  15. package/schema/brew-fast/races.json +1 -1
  16. package/schema/brew-fast/spells/spells.json +61 -61
  17. package/schema/brew-fast/util.json +47 -1
  18. package/schema/site/backgrounds.json +1 -1
  19. package/schema/site/class/class.json +1 -1
  20. package/schema/site/items-shared.json +1 -1
  21. package/schema/site/races.json +1 -1
  22. package/schema/site/spells/spells.json +1 -1
  23. package/schema/site/util.json +48 -2
  24. package/schema/site-fast/backgrounds.json +1 -1
  25. package/schema/site-fast/class/class.json +1 -1
  26. package/schema/site-fast/items-shared.json +1 -1
  27. package/schema/site-fast/races.json +1 -1
  28. package/schema/site-fast/spells/spells.json +1 -1
  29. package/schema/site-fast/util.json +48 -2
  30. package/schema/ua/actions.json +97 -0
  31. package/schema/ua/adventure/adventure.json +12 -0
  32. package/schema/ua/adventures.json +214 -0
  33. package/schema/ua/backgrounds.json +326 -0
  34. package/schema/ua/bestiary/bestiary.json +3735 -0
  35. package/schema/ua/bestiary/fluff-bestiary.json +15 -0
  36. package/schema/ua/bestiary/fluff-index.json +11 -0
  37. package/schema/ua/bestiary/foundry.json +15 -0
  38. package/schema/ua/bestiary/index.json +11 -0
  39. package/schema/ua/bestiary/legendarygroups.json +202 -0
  40. package/schema/ua/bestiary/template.json +275 -0
  41. package/schema/ua/book/book.json +12 -0
  42. package/schema/ua/books.json +141 -0
  43. package/schema/ua/changelog.json +35 -0
  44. package/schema/ua/charcreationoptions.json +80 -0
  45. package/schema/ua/class/class.json +1881 -0
  46. package/schema/ua/class/foundry.json +397 -0
  47. package/schema/ua/class/index.json +11 -0
  48. package/schema/ua/conditionsdiseases.json +82 -0
  49. package/schema/ua/cultsboons.json +175 -0
  50. package/schema/ua/decks.json +504 -0
  51. package/schema/ua/deities.json +473 -0
  52. package/schema/ua/encounters.json +105 -0
  53. package/schema/ua/entry.json +3748 -0
  54. package/schema/ua/feats.json +117 -0
  55. package/schema/ua/fluff-backgrounds.json +15 -0
  56. package/schema/ua/fluff-charcreationoptions.json +43 -0
  57. package/schema/ua/fluff-conditionsdiseases.json +43 -0
  58. package/schema/ua/fluff-feats.json +15 -0
  59. package/schema/ua/fluff-items.json +15 -0
  60. package/schema/ua/fluff-languages.json +42 -0
  61. package/schema/ua/fluff-objects.json +15 -0
  62. package/schema/ua/fluff-races.json +214 -0
  63. package/schema/ua/fluff-recipes.json +42 -0
  64. package/schema/ua/fluff-vehicles.json +63 -0
  65. package/schema/ua/foundry-actions.json +15 -0
  66. package/schema/ua/foundry-backgrounds.json +53 -0
  67. package/schema/ua/foundry-feats.json +15 -0
  68. package/schema/ua/foundry-items.json +63 -0
  69. package/schema/ua/foundry-optionalfeatures.json +15 -0
  70. package/schema/ua/foundry-psionics.json +56 -0
  71. package/schema/ua/foundry-races.json +58 -0
  72. package/schema/ua/foundry-rewards.json +15 -0
  73. package/schema/ua/foundry-vehicles.json +15 -0
  74. package/schema/ua/generated/bookref-quick.json +72 -0
  75. package/schema/ua/generated/gendata-spell-source-lookup.json +230 -0
  76. package/schema/ua/homebrew.json +633 -0
  77. package/schema/ua/items-base.json +959 -0
  78. package/schema/ua/items-shared.json +267 -0
  79. package/schema/ua/items.json +1770 -0
  80. package/schema/ua/languages.json +123 -0
  81. package/schema/ua/life.json +17 -0
  82. package/schema/ua/loot.json +510 -0
  83. package/schema/ua/magicvariants.json +361 -0
  84. package/schema/ua/makebrew-creature.json +66 -0
  85. package/schema/ua/makecards.json +43 -0
  86. package/schema/ua/monsterfeatures.json +53 -0
  87. package/schema/ua/msbcr.json +60 -0
  88. package/schema/ua/names.json +94 -0
  89. package/schema/ua/objects.json +165 -0
  90. package/schema/ua/optionalfeatures.json +130 -0
  91. package/schema/ua/psionics.json +173 -0
  92. package/schema/ua/races.json +1668 -0
  93. package/schema/ua/recipes.json +185 -0
  94. package/schema/ua/renderdemo.json +16 -0
  95. package/schema/ua/rewards.json +93 -0
  96. package/schema/ua/senses.json +54 -0
  97. package/schema/ua/skills.json +54 -0
  98. package/schema/ua/spells/fluff-index.json +11 -0
  99. package/schema/ua/spells/fluff-spells.json +15 -0
  100. package/schema/ua/spells/foundry.json +15 -0
  101. package/schema/ua/spells/index.json +11 -0
  102. package/schema/ua/spells/roll20.json +112 -0
  103. package/schema/ua/spells/spells.json +1250 -0
  104. package/schema/ua/tables.json +220 -0
  105. package/schema/ua/trapshazards.json +236 -0
  106. package/schema/ua/util.json +4466 -0
  107. package/schema/ua/variantrules.json +74 -0
  108. package/schema/ua/vehicles.json +820 -0
  109. package/schema/ua-fast/actions.json +97 -0
  110. package/schema/ua-fast/adventure/adventure.json +12 -0
  111. package/schema/ua-fast/adventures.json +214 -0
  112. package/schema/ua-fast/backgrounds.json +326 -0
  113. package/schema/ua-fast/bestiary/bestiary.json +3735 -0
  114. package/schema/ua-fast/bestiary/fluff-bestiary.json +15 -0
  115. package/schema/ua-fast/bestiary/fluff-index.json +11 -0
  116. package/schema/ua-fast/bestiary/foundry.json +15 -0
  117. package/schema/ua-fast/bestiary/index.json +11 -0
  118. package/schema/ua-fast/bestiary/legendarygroups.json +202 -0
  119. package/schema/ua-fast/bestiary/template.json +275 -0
  120. package/schema/ua-fast/book/book.json +12 -0
  121. package/schema/ua-fast/books.json +141 -0
  122. package/schema/ua-fast/changelog.json +35 -0
  123. package/schema/ua-fast/charcreationoptions.json +80 -0
  124. package/schema/ua-fast/class/class.json +1881 -0
  125. package/schema/ua-fast/class/foundry.json +397 -0
  126. package/schema/ua-fast/class/index.json +11 -0
  127. package/schema/ua-fast/conditionsdiseases.json +82 -0
  128. package/schema/ua-fast/cultsboons.json +175 -0
  129. package/schema/ua-fast/decks.json +504 -0
  130. package/schema/ua-fast/deities.json +473 -0
  131. package/schema/ua-fast/encounters.json +105 -0
  132. package/schema/ua-fast/entry.json +3748 -0
  133. package/schema/ua-fast/feats.json +117 -0
  134. package/schema/ua-fast/fluff-backgrounds.json +15 -0
  135. package/schema/ua-fast/fluff-charcreationoptions.json +43 -0
  136. package/schema/ua-fast/fluff-conditionsdiseases.json +43 -0
  137. package/schema/ua-fast/fluff-feats.json +15 -0
  138. package/schema/ua-fast/fluff-items.json +15 -0
  139. package/schema/ua-fast/fluff-languages.json +42 -0
  140. package/schema/ua-fast/fluff-objects.json +15 -0
  141. package/schema/ua-fast/fluff-races.json +214 -0
  142. package/schema/ua-fast/fluff-recipes.json +42 -0
  143. package/schema/ua-fast/fluff-vehicles.json +63 -0
  144. package/schema/ua-fast/foundry-actions.json +15 -0
  145. package/schema/ua-fast/foundry-backgrounds.json +53 -0
  146. package/schema/ua-fast/foundry-feats.json +15 -0
  147. package/schema/ua-fast/foundry-items.json +63 -0
  148. package/schema/ua-fast/foundry-optionalfeatures.json +15 -0
  149. package/schema/ua-fast/foundry-psionics.json +56 -0
  150. package/schema/ua-fast/foundry-races.json +58 -0
  151. package/schema/ua-fast/foundry-rewards.json +15 -0
  152. package/schema/ua-fast/foundry-vehicles.json +15 -0
  153. package/schema/ua-fast/generated/bookref-quick.json +72 -0
  154. package/schema/ua-fast/generated/gendata-spell-source-lookup.json +230 -0
  155. package/schema/ua-fast/homebrew.json +631 -0
  156. package/schema/ua-fast/items-base.json +959 -0
  157. package/schema/ua-fast/items-shared.json +267 -0
  158. package/schema/ua-fast/items.json +1770 -0
  159. package/schema/ua-fast/languages.json +123 -0
  160. package/schema/ua-fast/life.json +17 -0
  161. package/schema/ua-fast/loot.json +510 -0
  162. package/schema/ua-fast/magicvariants.json +361 -0
  163. package/schema/ua-fast/makebrew-creature.json +66 -0
  164. package/schema/ua-fast/makecards.json +43 -0
  165. package/schema/ua-fast/monsterfeatures.json +53 -0
  166. package/schema/ua-fast/msbcr.json +60 -0
  167. package/schema/ua-fast/names.json +94 -0
  168. package/schema/ua-fast/objects.json +165 -0
  169. package/schema/ua-fast/optionalfeatures.json +130 -0
  170. package/schema/ua-fast/psionics.json +173 -0
  171. package/schema/ua-fast/races.json +1668 -0
  172. package/schema/ua-fast/recipes.json +185 -0
  173. package/schema/ua-fast/renderdemo.json +16 -0
  174. package/schema/ua-fast/rewards.json +93 -0
  175. package/schema/ua-fast/senses.json +54 -0
  176. package/schema/ua-fast/skills.json +54 -0
  177. package/schema/ua-fast/spells/fluff-index.json +11 -0
  178. package/schema/ua-fast/spells/fluff-spells.json +15 -0
  179. package/schema/ua-fast/spells/foundry.json +15 -0
  180. package/schema/ua-fast/spells/index.json +11 -0
  181. package/schema/ua-fast/spells/roll20.json +112 -0
  182. package/schema/ua-fast/spells/spells.json +1250 -0
  183. package/schema/ua-fast/tables.json +220 -0
  184. package/schema/ua-fast/trapshazards.json +236 -0
  185. package/schema/ua-fast/util.json +4466 -0
  186. package/schema/ua-fast/variantrules.json +74 -0
  187. package/schema/ua-fast/vehicles.json +820 -0
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "languages.json",
4
+ "version": "1.1.10",
5
+ "type": "object",
6
+ "$defs": {
7
+ "language": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "entries": {
14
+ "type": "array",
15
+ "items": {
16
+ "$ref": "entry.json"
17
+ }
18
+ },
19
+ "source": {
20
+ "$ref": "util.json#/$defs/source"
21
+ },
22
+ "page": {
23
+ "$ref": "util.json#/$defs/page"
24
+ },
25
+ "srd": {
26
+ "type": "boolean"
27
+ },
28
+ "basicRules": {
29
+ "$ref": "util.json#/$defs/basicRules"
30
+ },
31
+ "legacy": {
32
+ "$ref": "util.json#/$defs/legacy"
33
+ },
34
+ "otherSources": {
35
+ "$ref": "util.json#/$defs/otherSources"
36
+ },
37
+ "typicalSpeakers": {
38
+ "type": "array",
39
+ "items": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "script": {
44
+ "type": "string"
45
+ },
46
+ "type": {
47
+ "type": "string",
48
+ "enum": [
49
+ "standard",
50
+ "rare",
51
+ "exotic",
52
+ "secret"
53
+ ]
54
+ },
55
+ "additionalSources": {
56
+ "$ref": "util.json#/$defs/additionalSources"
57
+ },
58
+ "dialects": {
59
+ "type": "array",
60
+ "items": {
61
+ "type": "string"
62
+ }
63
+ },
64
+ "fonts": {
65
+ "description": "A list of direct URLs to font files.",
66
+ "type": "array",
67
+ "items": {
68
+ "type": "string"
69
+ }
70
+ },
71
+ "hasFluff": {
72
+ "type": "boolean"
73
+ },
74
+ "hasFluffImages": {
75
+ "type": "boolean"
76
+ }
77
+ },
78
+ "required": [
79
+ "name",
80
+ "source"
81
+ ],
82
+ "additionalProperties": false
83
+ }
84
+ },
85
+ "properties": {
86
+ "language": {
87
+ "type": "array",
88
+ "uniqueItems": true,
89
+ "minItems": 1,
90
+ "items": {
91
+ "$ref": "#/$defs/language"
92
+ }
93
+ },
94
+ "languageScript": {
95
+ "type": "array",
96
+ "uniqueItems": true,
97
+ "minItems": 1,
98
+ "items": {
99
+ "type": "object",
100
+ "properties": {
101
+ "name": {
102
+ "type": "string"
103
+ },
104
+ "fonts": {
105
+ "type": "array",
106
+ "items": {
107
+ "type": "string"
108
+ }
109
+ }
110
+ },
111
+ "required": [
112
+ "name",
113
+ "fonts"
114
+ ],
115
+ "additionalProperties": false
116
+ }
117
+ }
118
+ },
119
+ "required": [
120
+ "language"
121
+ ],
122
+ "additionalProperties": false
123
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "life.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "lifeClass": true,
8
+ "lifeBackground": true,
9
+ "lifeTrinket": true
10
+ },
11
+ "required": [
12
+ "lifeClass",
13
+ "lifeBackground",
14
+ "lifeTrinket"
15
+ ],
16
+ "additionalProperties": false
17
+ }
@@ -0,0 +1,510 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "loot.json",
4
+ "version": "1.4.1",
5
+ "$defs": {
6
+ "cr": {
7
+ "type": "integer",
8
+ "minimum": 0,
9
+ "maximum": 30
10
+ },
11
+ "d100": {
12
+ "type": "integer",
13
+ "minimum": 1,
14
+ "maximum": 100
15
+ },
16
+ "coin": {
17
+ "type": "object",
18
+ "properties": {
19
+ "cp": {
20
+ "type": "string"
21
+ },
22
+ "sp": {
23
+ "type": "string"
24
+ },
25
+ "ep": {
26
+ "type": "string"
27
+ },
28
+ "gp": {
29
+ "type": "string"
30
+ },
31
+ "pp": {
32
+ "type": "string"
33
+ }
34
+ },
35
+ "additionalProperties": false
36
+ },
37
+ "lootTypeAmount": {
38
+ "oneOf": [
39
+ {
40
+ "type": "object",
41
+ "properties": {
42
+ "type": {
43
+ "type": "integer"
44
+ },
45
+ "amount": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ "required": [
50
+ "type",
51
+ "amount"
52
+ ],
53
+ "additionalProperties": false
54
+ },
55
+ {
56
+ "type": "object",
57
+ "properties": {
58
+ "typeTable": {
59
+ "type": "array",
60
+ "items": {
61
+ "type": "object",
62
+ "properties": {
63
+ "min": {
64
+ "type": "integer"
65
+ },
66
+ "max": {
67
+ "type": "integer"
68
+ },
69
+ "type": {
70
+ "type": "integer"
71
+ }
72
+ },
73
+ "required": [
74
+ "min",
75
+ "max",
76
+ "type"
77
+ ],
78
+ "additionalProperties": false
79
+ }
80
+ },
81
+ "amount": {
82
+ "type": "string"
83
+ }
84
+ },
85
+ "required": [
86
+ "typeTable",
87
+ "amount"
88
+ ],
89
+ "additionalProperties": false
90
+ }
91
+ ]
92
+ },
93
+ "lootTypeAmountMagicItems": {
94
+ "type": "array",
95
+ "items": {
96
+ "oneOf": [
97
+ {
98
+ "type": "object",
99
+ "properties": {
100
+ "type": {
101
+ "type": "string"
102
+ },
103
+ "amount": {
104
+ "type": "string"
105
+ }
106
+ },
107
+ "required": [
108
+ "type",
109
+ "amount"
110
+ ],
111
+ "additionalProperties": false
112
+ },
113
+ {
114
+ "type": "object",
115
+ "properties": {
116
+ "typeTable": {
117
+ "type": "array",
118
+ "items": {
119
+ "type": "object",
120
+ "properties": {
121
+ "min": {
122
+ "type": "integer"
123
+ },
124
+ "max": {
125
+ "type": "integer"
126
+ },
127
+ "type": {
128
+ "type": "string"
129
+ },
130
+ "typeAltChoose": {
131
+ "type": "object",
132
+ "properties": {
133
+ "rarity": {
134
+ "type": "string"
135
+ },
136
+ "tier": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "required": [
141
+ "rarity",
142
+ "tier"
143
+ ],
144
+ "additionalProperties": false
145
+ }
146
+ },
147
+ "required": [
148
+ "min",
149
+ "max",
150
+ "type",
151
+ "typeAltChoose"
152
+ ],
153
+ "additionalProperties": false
154
+ }
155
+ },
156
+ "amount": {
157
+ "type": "string"
158
+ }
159
+ },
160
+ "required": [
161
+ "typeTable",
162
+ "amount"
163
+ ],
164
+ "additionalProperties": false
165
+ }
166
+ ]
167
+ },
168
+ "minItems": 1
169
+ },
170
+ "gemsOrArt": {
171
+ "type": "array",
172
+ "uniqueItems": true,
173
+ "items": {
174
+ "type": "object",
175
+ "properties": {
176
+ "name": {
177
+ "type": "string"
178
+ },
179
+ "source": {
180
+ "$ref": "util.json#/$defs/source"
181
+ },
182
+ "page": {
183
+ "$ref": "util.json#/$defs/page"
184
+ },
185
+ "type": {
186
+ "type": "integer"
187
+ },
188
+ "table": {
189
+ "type": "array",
190
+ "uniqueItems": true,
191
+ "items": {
192
+ "type": "string"
193
+ }
194
+ }
195
+ },
196
+ "required": [
197
+ "name",
198
+ "source",
199
+ "page",
200
+ "type",
201
+ "table"
202
+ ],
203
+ "additionalProperties": false
204
+ }
205
+ },
206
+ "table": {
207
+ "type": "array",
208
+ "uniqueItems": true,
209
+ "items": {
210
+ "type": "object",
211
+ "properties": {
212
+ "min": {
213
+ "$ref": "#/$defs/d100"
214
+ },
215
+ "max": {
216
+ "$ref": "#/$defs/d100"
217
+ },
218
+ "item": {
219
+ "type": "string"
220
+ },
221
+ "spellLevel": {
222
+ "type": "integer"
223
+ },
224
+ "table": {
225
+ "$ref": "#/$defs/table"
226
+ },
227
+ "choose": {
228
+ "oneOf": [
229
+ {
230
+ "type": "object",
231
+ "properties": {
232
+ "fromGroup": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "string"
236
+ }
237
+ }
238
+ },
239
+ "required": [
240
+ "fromGroup"
241
+ ],
242
+ "additionalProperties": false
243
+ },
244
+ {
245
+ "type": "object",
246
+ "properties": {
247
+ "fromGeneric": {
248
+ "type": "array",
249
+ "items": {
250
+ "type": "string"
251
+ }
252
+ }
253
+ },
254
+ "required": [
255
+ "fromGeneric"
256
+ ],
257
+ "additionalProperties": false
258
+ },
259
+ {
260
+ "type": "object",
261
+ "properties": {
262
+ "fromItems": {
263
+ "type": "array",
264
+ "items": {
265
+ "type": "string"
266
+ }
267
+ }
268
+ },
269
+ "required": [
270
+ "fromItems"
271
+ ],
272
+ "additionalProperties": false
273
+ }
274
+ ]
275
+ }
276
+ },
277
+ "additionalProperties": false
278
+ }
279
+ }
280
+ },
281
+ "type": "object",
282
+ "properties": {
283
+ "individual": {
284
+ "type": "array",
285
+ "uniqueItems": true,
286
+ "items": {
287
+ "type": "object",
288
+ "properties": {
289
+ "name": {
290
+ "type": "string"
291
+ },
292
+ "source": {
293
+ "$ref": "util.json#/$defs/source"
294
+ },
295
+ "page": {
296
+ "$ref": "util.json#/$defs/page"
297
+ },
298
+ "crMin": {
299
+ "$ref": "#/$defs/cr"
300
+ },
301
+ "crMax": {
302
+ "$ref": "#/$defs/cr"
303
+ },
304
+ "table": {
305
+ "type": "array",
306
+ "uniqueItems": true,
307
+ "items": {
308
+ "type": "object",
309
+ "properties": {
310
+ "min": {
311
+ "$ref": "#/$defs/d100"
312
+ },
313
+ "max": {
314
+ "$ref": "#/$defs/d100"
315
+ },
316
+ "coins": {
317
+ "$ref": "#/$defs/coin"
318
+ }
319
+ },
320
+ "required": [
321
+ "min",
322
+ "max",
323
+ "coins"
324
+ ],
325
+ "additionalProperties": false
326
+ }
327
+ }
328
+ },
329
+ "required": [
330
+ "name",
331
+ "source",
332
+ "page",
333
+ "crMin",
334
+ "crMax",
335
+ "table"
336
+ ],
337
+ "additionalProperties": false
338
+ }
339
+ },
340
+ "hoard": {
341
+ "type": "array",
342
+ "uniqueItems": true,
343
+ "items": {
344
+ "type": "object",
345
+ "properties": {
346
+ "name": {
347
+ "type": "string"
348
+ },
349
+ "source": {
350
+ "$ref": "util.json#/$defs/source"
351
+ },
352
+ "page": {
353
+ "$ref": "util.json#/$defs/page"
354
+ },
355
+ "crMin": {
356
+ "$ref": "#/$defs/cr"
357
+ },
358
+ "crMax": {
359
+ "$ref": "#/$defs/cr"
360
+ },
361
+ "coins": {
362
+ "$ref": "#/$defs/coin"
363
+ },
364
+ "table": {
365
+ "type": "array",
366
+ "uniqueItems": true,
367
+ "items": {
368
+ "type": "object",
369
+ "properties": {
370
+ "min": {
371
+ "$ref": "#/$defs/d100"
372
+ },
373
+ "max": {
374
+ "$ref": "#/$defs/d100"
375
+ },
376
+ "gems": {
377
+ "$ref": "#/$defs/lootTypeAmount"
378
+ },
379
+ "artObjects": {
380
+ "$ref": "#/$defs/lootTypeAmount"
381
+ },
382
+ "magicItems": {
383
+ "$ref": "#/$defs/lootTypeAmountMagicItems"
384
+ }
385
+ },
386
+ "required": [
387
+ "min",
388
+ "max"
389
+ ],
390
+ "additionalProperties": false
391
+ }
392
+ }
393
+ },
394
+ "required": [
395
+ "name",
396
+ "source",
397
+ "page",
398
+ "crMin",
399
+ "crMax",
400
+ "coins",
401
+ "table"
402
+ ],
403
+ "additionalProperties": false
404
+ }
405
+ },
406
+ "gems": {
407
+ "$ref": "#/$defs/gemsOrArt"
408
+ },
409
+ "artObjects": {
410
+ "$ref": "#/$defs/gemsOrArt"
411
+ },
412
+ "magicItems": {
413
+ "type": "array",
414
+ "uniqueItems": true,
415
+ "items": {
416
+ "type": "object",
417
+ "properties": {
418
+ "name": {
419
+ "type": "string"
420
+ },
421
+ "source": {
422
+ "$ref": "util.json#/$defs/source"
423
+ },
424
+ "page": {
425
+ "$ref": "util.json#/$defs/page"
426
+ },
427
+ "type": {
428
+ "type": "string"
429
+ },
430
+ "table": {
431
+ "$ref": "#/$defs/table"
432
+ }
433
+ },
434
+ "required": [
435
+ "name",
436
+ "source",
437
+ "page",
438
+ "type",
439
+ "table"
440
+ ],
441
+ "additionalProperties": false
442
+ }
443
+ },
444
+ "dragonMundaneItems": {
445
+ "$ref": "#/$defs/table"
446
+ },
447
+ "dragon": {
448
+ "type": "array",
449
+ "uniqueItems": true,
450
+ "items": {
451
+ "type": "object",
452
+ "properties": {
453
+ "name": {
454
+ "type": "string"
455
+ },
456
+ "source": {
457
+ "$ref": "util.json#/$defs/source"
458
+ },
459
+ "page": {
460
+ "$ref": "util.json#/$defs/page"
461
+ },
462
+ "coins": {
463
+ "$ref": "#/$defs/coin"
464
+ },
465
+ "gems": {
466
+ "$ref": "#/$defs/lootTypeAmount"
467
+ },
468
+ "artObjects": {
469
+ "$ref": "#/$defs/lootTypeAmount"
470
+ },
471
+ "magicItems": {
472
+ "$ref": "#/$defs/lootTypeAmountMagicItems"
473
+ },
474
+ "dragonMundaneItems": {
475
+ "type": "object",
476
+ "properties": {
477
+ "amount": {
478
+ "type": "string"
479
+ }
480
+ },
481
+ "required": [
482
+ "amount"
483
+ ],
484
+ "additionalProperties": false
485
+ }
486
+ },
487
+ "required": [
488
+ "name",
489
+ "source",
490
+ "page",
491
+ "coins",
492
+ "gems",
493
+ "artObjects",
494
+ "magicItems",
495
+ "dragonMundaneItems"
496
+ ],
497
+ "additionalProperties": false
498
+ }
499
+ }
500
+ },
501
+ "required": [
502
+ "individual",
503
+ "hoard",
504
+ "gems",
505
+ "artObjects",
506
+ "magicItems",
507
+ "dragonMundaneItems"
508
+ ],
509
+ "additionalProperties": false
510
+ }