5etools-utils 0.12.50 → 0.12.52

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 (122) hide show
  1. package/lib/UtilClean.js +1 -0
  2. package/package.json +1 -1
  3. package/schema/brew/bastions.json +445 -0
  4. package/schema/brew/bestiary/bestiary.json +16 -7
  5. package/schema/brew/conditionsdiseases.json +91 -5
  6. package/schema/brew/deities.json +22 -4
  7. package/schema/brew/entry.json +88 -34
  8. package/schema/brew/fluff-bastions.json +15 -0
  9. package/schema/brew/homebrew.json +7 -1
  10. package/schema/brew/items-base.json +46 -1
  11. package/schema/brew/items-shared.json +89 -5
  12. package/schema/brew/items.json +184 -469
  13. package/schema/brew/magicvariants.json +100 -1
  14. package/schema/brew/makebrew-creature.json +7 -4
  15. package/schema/brew/objects.json +5 -3
  16. package/schema/brew/spells/spells.json +4 -77
  17. package/schema/brew/tables.json +10 -15
  18. package/schema/brew/trapshazards.json +77 -27
  19. package/schema/brew/util-copy.json +5 -13
  20. package/schema/brew/util-time.json +72 -0
  21. package/schema/brew/util.json +48 -2
  22. package/schema/brew/vehicles.json +13 -1
  23. package/schema/brew-fast/bastions.json +445 -0
  24. package/schema/brew-fast/bestiary/bestiary.json +16 -7
  25. package/schema/brew-fast/conditionsdiseases.json +91 -5
  26. package/schema/brew-fast/deities.json +22 -4
  27. package/schema/brew-fast/entry.json +88 -34
  28. package/schema/brew-fast/fluff-bastions.json +15 -0
  29. package/schema/brew-fast/homebrew.json +7 -1
  30. package/schema/brew-fast/items-base.json +46 -1
  31. package/schema/brew-fast/items-shared.json +89 -5
  32. package/schema/brew-fast/items.json +184 -469
  33. package/schema/brew-fast/magicvariants.json +100 -1
  34. package/schema/brew-fast/makebrew-creature.json +7 -4
  35. package/schema/brew-fast/objects.json +5 -3
  36. package/schema/brew-fast/spells/spells.json +4 -77
  37. package/schema/brew-fast/tables.json +10 -15
  38. package/schema/brew-fast/trapshazards.json +77 -27
  39. package/schema/brew-fast/util-copy.json +5 -13
  40. package/schema/brew-fast/util-time.json +72 -0
  41. package/schema/brew-fast/util.json +48 -2
  42. package/schema/brew-fast/vehicles.json +13 -1
  43. package/schema/site/bastions.json +434 -0
  44. package/schema/site/bestiary/bestiary.json +16 -7
  45. package/schema/site/conditionsdiseases.json +71 -5
  46. package/schema/site/deities.json +19 -1
  47. package/schema/site/entry.json +88 -34
  48. package/schema/site/fluff-bastions.json +15 -0
  49. package/schema/site/homebrew.json +7 -1
  50. package/schema/site/items-base.json +46 -1
  51. package/schema/site/items-shared.json +89 -5
  52. package/schema/site/items.json +184 -469
  53. package/schema/site/magicvariants.json +100 -1
  54. package/schema/site/makebrew-creature.json +7 -4
  55. package/schema/site/objects.json +5 -3
  56. package/schema/site/spells/spells.json +4 -77
  57. package/schema/site/tables.json +10 -15
  58. package/schema/site/trapshazards.json +77 -27
  59. package/schema/site/util-copy.json +5 -13
  60. package/schema/site/util-time.json +72 -0
  61. package/schema/site/util.json +48 -2
  62. package/schema/site/vehicles.json +13 -1
  63. package/schema/site-fast/bastions.json +434 -0
  64. package/schema/site-fast/bestiary/bestiary.json +16 -7
  65. package/schema/site-fast/conditionsdiseases.json +71 -5
  66. package/schema/site-fast/deities.json +19 -1
  67. package/schema/site-fast/entry.json +88 -34
  68. package/schema/site-fast/fluff-bastions.json +15 -0
  69. package/schema/site-fast/homebrew.json +7 -1
  70. package/schema/site-fast/items-base.json +46 -1
  71. package/schema/site-fast/items-shared.json +89 -5
  72. package/schema/site-fast/items.json +184 -469
  73. package/schema/site-fast/magicvariants.json +100 -1
  74. package/schema/site-fast/makebrew-creature.json +7 -4
  75. package/schema/site-fast/objects.json +5 -3
  76. package/schema/site-fast/spells/spells.json +4 -77
  77. package/schema/site-fast/tables.json +10 -15
  78. package/schema/site-fast/trapshazards.json +77 -27
  79. package/schema/site-fast/util-copy.json +5 -13
  80. package/schema/site-fast/util-time.json +72 -0
  81. package/schema/site-fast/util.json +48 -2
  82. package/schema/site-fast/vehicles.json +13 -1
  83. package/schema/ua/bastions.json +433 -0
  84. package/schema/ua/bestiary/bestiary.json +16 -7
  85. package/schema/ua/conditionsdiseases.json +70 -5
  86. package/schema/ua/deities.json +19 -1
  87. package/schema/ua/entry.json +88 -34
  88. package/schema/ua/fluff-bastions.json +15 -0
  89. package/schema/ua/homebrew.json +7 -1
  90. package/schema/ua/items-base.json +46 -1
  91. package/schema/ua/items-shared.json +89 -5
  92. package/schema/ua/items.json +184 -469
  93. package/schema/ua/magicvariants.json +100 -1
  94. package/schema/ua/makebrew-creature.json +7 -4
  95. package/schema/ua/objects.json +5 -3
  96. package/schema/ua/spells/spells.json +4 -77
  97. package/schema/ua/tables.json +10 -15
  98. package/schema/ua/trapshazards.json +77 -27
  99. package/schema/ua/util-copy.json +5 -13
  100. package/schema/ua/util-time.json +72 -0
  101. package/schema/ua/util.json +48 -2
  102. package/schema/ua/vehicles.json +13 -1
  103. package/schema/ua-fast/bastions.json +433 -0
  104. package/schema/ua-fast/bestiary/bestiary.json +16 -7
  105. package/schema/ua-fast/conditionsdiseases.json +70 -5
  106. package/schema/ua-fast/deities.json +19 -1
  107. package/schema/ua-fast/entry.json +88 -34
  108. package/schema/ua-fast/fluff-bastions.json +15 -0
  109. package/schema/ua-fast/homebrew.json +7 -1
  110. package/schema/ua-fast/items-base.json +46 -1
  111. package/schema/ua-fast/items-shared.json +89 -5
  112. package/schema/ua-fast/items.json +184 -469
  113. package/schema/ua-fast/magicvariants.json +100 -1
  114. package/schema/ua-fast/makebrew-creature.json +7 -4
  115. package/schema/ua-fast/objects.json +5 -3
  116. package/schema/ua-fast/spells/spells.json +4 -77
  117. package/schema/ua-fast/tables.json +10 -15
  118. package/schema/ua-fast/trapshazards.json +77 -27
  119. package/schema/ua-fast/util-copy.json +5 -13
  120. package/schema/ua-fast/util-time.json +72 -0
  121. package/schema/ua-fast/util.json +48 -2
  122. package/schema/ua-fast/vehicles.json +13 -1
package/lib/UtilClean.js CHANGED
@@ -4,6 +4,7 @@ const _CLEAN_JSON_REPLACEMENTS = {
4
4
  "‑": "\\u2011",
5
5
  "−": "\\u2212",
6
6
  " ": "\\u00A0",
7
+ " ": "\\u2007", // figure space
7
8
 
8
9
  "’": "'",
9
10
  "‘": "'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.12.50",
3
+ "version": "0.12.52",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -0,0 +1,445 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "bastions.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "$defs": {
7
+ "_space": {
8
+ "type": "string",
9
+ "examples": [
10
+ "cramped",
11
+ "roomy",
12
+ "vast"
13
+ ]
14
+ },
15
+ "facilityData": {
16
+ "type": "object",
17
+ "properties": {
18
+ "name": {
19
+ "type": "string"
20
+ },
21
+ "alias": {
22
+ "$ref": "util.json#/$defs/alias"
23
+ },
24
+ "source": {
25
+ "$ref": "util.json#/$defs/source"
26
+ },
27
+ "otherSources": {
28
+ "$ref": "util.json#/$defs/otherSources"
29
+ },
30
+ "page": {
31
+ "$ref": "util.json#/$defs/page"
32
+ },
33
+ "srd": {
34
+ "$ref": "util.json#/$defs/srd"
35
+ },
36
+ "srd52": {
37
+ "$ref": "util.json#/$defs/srd"
38
+ },
39
+ "basicRules": {
40
+ "$ref": "util.json#/$defs/basicRules"
41
+ },
42
+ "freeRules2024": {
43
+ "$ref": "util.json#/$defs/basicRules"
44
+ },
45
+ "reprintedAs": {
46
+ "$ref": "util.json#/$defs/reprintedAs"
47
+ },
48
+ "facilityType": {
49
+ "type": "string",
50
+ "examples": [
51
+ "basic",
52
+ "special"
53
+ ]
54
+ },
55
+ "level": {
56
+ "type": "integer"
57
+ },
58
+ "prerequisite": {
59
+ "$ref": "util.json#/$defs/prerequisite"
60
+ },
61
+ "space": {
62
+ "type": "array",
63
+ "items": {
64
+ "$ref": "#/$defs/_space"
65
+ },
66
+ "minItems": 1,
67
+ "uniqueItems": true
68
+ },
69
+ "hirelings": {
70
+ "type": "array",
71
+ "items": {
72
+ "anyOf": [
73
+ {
74
+ "type": "object",
75
+ "properties": {
76
+ "exact": {
77
+ "type": "integer"
78
+ },
79
+ "space": {
80
+ "$ref": "#/$defs/_space"
81
+ }
82
+ },
83
+ "required": [
84
+ "exact"
85
+ ],
86
+ "additionalProperties": false
87
+ },
88
+ {
89
+ "type": "object",
90
+ "properties": {
91
+ "min": {
92
+ "type": "integer"
93
+ },
94
+ "max": {
95
+ "type": "integer"
96
+ },
97
+ "space": {
98
+ "$ref": "#/$defs/_space"
99
+ }
100
+ },
101
+ "required": [
102
+ "min"
103
+ ],
104
+ "additionalProperties": false
105
+ }
106
+ ]
107
+ },
108
+ "minItems": 1,
109
+ "uniqueItems": true
110
+ },
111
+ "orders": {
112
+ "type": "array",
113
+ "items": {
114
+ "type": "string",
115
+ "examples": [
116
+ "craft",
117
+ "empower",
118
+ "harvest",
119
+ "maintain",
120
+ "recruit",
121
+ "research",
122
+ "trade"
123
+ ]
124
+ },
125
+ "minItems": 1,
126
+ "uniqueItems": true
127
+ },
128
+ "entries": {
129
+ "type": "array",
130
+ "items": {
131
+ "$ref": "entry.json"
132
+ }
133
+ },
134
+ "hasFluff": {
135
+ "type": "boolean"
136
+ },
137
+ "hasFluffImages": {
138
+ "type": "boolean"
139
+ },
140
+ "fluff": {
141
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
142
+ "$ref": "util.json#/$defs/fluffObject"
143
+ }
144
+ },
145
+ "additionalProperties": false
146
+ },
147
+ "facility": {
148
+ "anyOf": [
149
+ {
150
+ "type": "object",
151
+ "properties": {
152
+ "name": {
153
+ "type": "string"
154
+ },
155
+ "alias": {
156
+ "$ref": "util.json#/$defs/alias"
157
+ },
158
+ "source": {
159
+ "$ref": "util.json#/$defs/source"
160
+ },
161
+ "otherSources": {
162
+ "$ref": "util.json#/$defs/otherSources"
163
+ },
164
+ "page": {
165
+ "$ref": "util.json#/$defs/page"
166
+ },
167
+ "srd": {
168
+ "$ref": "util.json#/$defs/srd"
169
+ },
170
+ "srd52": {
171
+ "$ref": "util.json#/$defs/srd"
172
+ },
173
+ "basicRules": {
174
+ "$ref": "util.json#/$defs/basicRules"
175
+ },
176
+ "freeRules2024": {
177
+ "$ref": "util.json#/$defs/basicRules"
178
+ },
179
+ "reprintedAs": {
180
+ "$ref": "util.json#/$defs/reprintedAs"
181
+ },
182
+ "facilityType": {
183
+ "type": "string",
184
+ "examples": [
185
+ "basic",
186
+ "special"
187
+ ]
188
+ },
189
+ "level": {
190
+ "type": "integer"
191
+ },
192
+ "prerequisite": {
193
+ "$ref": "util.json#/$defs/prerequisite"
194
+ },
195
+ "space": {
196
+ "type": "array",
197
+ "items": {
198
+ "$ref": "#/$defs/_space"
199
+ },
200
+ "minItems": 1,
201
+ "uniqueItems": true
202
+ },
203
+ "hirelings": {
204
+ "type": "array",
205
+ "items": {
206
+ "anyOf": [
207
+ {
208
+ "type": "object",
209
+ "properties": {
210
+ "exact": {
211
+ "type": "integer"
212
+ },
213
+ "space": {
214
+ "$ref": "#/$defs/_space"
215
+ }
216
+ },
217
+ "required": [
218
+ "exact"
219
+ ],
220
+ "additionalProperties": false
221
+ },
222
+ {
223
+ "type": "object",
224
+ "properties": {
225
+ "min": {
226
+ "type": "integer"
227
+ },
228
+ "max": {
229
+ "type": "integer"
230
+ },
231
+ "space": {
232
+ "$ref": "#/$defs/_space"
233
+ }
234
+ },
235
+ "required": [
236
+ "min"
237
+ ],
238
+ "additionalProperties": false
239
+ }
240
+ ]
241
+ },
242
+ "minItems": 1,
243
+ "uniqueItems": true
244
+ },
245
+ "orders": {
246
+ "type": "array",
247
+ "items": {
248
+ "type": "string",
249
+ "examples": [
250
+ "craft",
251
+ "empower",
252
+ "harvest",
253
+ "maintain",
254
+ "recruit",
255
+ "research",
256
+ "trade"
257
+ ]
258
+ },
259
+ "minItems": 1,
260
+ "uniqueItems": true
261
+ },
262
+ "entries": {
263
+ "type": "array",
264
+ "items": {
265
+ "$ref": "entry.json"
266
+ }
267
+ },
268
+ "hasFluff": {
269
+ "type": "boolean"
270
+ },
271
+ "hasFluffImages": {
272
+ "type": "boolean"
273
+ },
274
+ "fluff": {
275
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
276
+ "$ref": "util.json#/$defs/fluffObject"
277
+ }
278
+ },
279
+ "additionalProperties": false,
280
+ "required": [
281
+ "name",
282
+ "entries",
283
+ "source",
284
+ "facilityType"
285
+ ]
286
+ },
287
+ {
288
+ "type": "object",
289
+ "properties": {
290
+ "name": {
291
+ "type": "string"
292
+ },
293
+ "alias": {
294
+ "$ref": "util.json#/$defs/alias"
295
+ },
296
+ "source": {
297
+ "$ref": "util.json#/$defs/source"
298
+ },
299
+ "otherSources": {
300
+ "$ref": "util.json#/$defs/otherSources"
301
+ },
302
+ "page": {
303
+ "$ref": "util.json#/$defs/page"
304
+ },
305
+ "srd": {
306
+ "$ref": "util.json#/$defs/srd"
307
+ },
308
+ "srd52": {
309
+ "$ref": "util.json#/$defs/srd"
310
+ },
311
+ "basicRules": {
312
+ "$ref": "util.json#/$defs/basicRules"
313
+ },
314
+ "freeRules2024": {
315
+ "$ref": "util.json#/$defs/basicRules"
316
+ },
317
+ "reprintedAs": {
318
+ "$ref": "util.json#/$defs/reprintedAs"
319
+ },
320
+ "facilityType": {
321
+ "type": "string",
322
+ "examples": [
323
+ "basic",
324
+ "special"
325
+ ]
326
+ },
327
+ "level": {
328
+ "type": "integer"
329
+ },
330
+ "prerequisite": {
331
+ "$ref": "util.json#/$defs/prerequisite"
332
+ },
333
+ "space": {
334
+ "type": "array",
335
+ "items": {
336
+ "$ref": "#/$defs/_space"
337
+ },
338
+ "minItems": 1,
339
+ "uniqueItems": true
340
+ },
341
+ "hirelings": {
342
+ "type": "array",
343
+ "items": {
344
+ "anyOf": [
345
+ {
346
+ "type": "object",
347
+ "properties": {
348
+ "exact": {
349
+ "type": "integer"
350
+ },
351
+ "space": {
352
+ "$ref": "#/$defs/_space"
353
+ }
354
+ },
355
+ "required": [
356
+ "exact"
357
+ ],
358
+ "additionalProperties": false
359
+ },
360
+ {
361
+ "type": "object",
362
+ "properties": {
363
+ "min": {
364
+ "type": "integer"
365
+ },
366
+ "max": {
367
+ "type": "integer"
368
+ },
369
+ "space": {
370
+ "$ref": "#/$defs/_space"
371
+ }
372
+ },
373
+ "required": [
374
+ "min"
375
+ ],
376
+ "additionalProperties": false
377
+ }
378
+ ]
379
+ },
380
+ "minItems": 1,
381
+ "uniqueItems": true
382
+ },
383
+ "orders": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "string",
387
+ "examples": [
388
+ "craft",
389
+ "empower",
390
+ "harvest",
391
+ "maintain",
392
+ "recruit",
393
+ "research",
394
+ "trade"
395
+ ]
396
+ },
397
+ "minItems": 1,
398
+ "uniqueItems": true
399
+ },
400
+ "entries": {
401
+ "type": "array",
402
+ "items": {
403
+ "$ref": "entry.json"
404
+ }
405
+ },
406
+ "hasFluff": {
407
+ "type": "boolean"
408
+ },
409
+ "hasFluffImages": {
410
+ "type": "boolean"
411
+ },
412
+ "fluff": {
413
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
414
+ "$ref": "util.json#/$defs/fluffObject"
415
+ },
416
+ "_copy": {
417
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
418
+ }
419
+ },
420
+ "additionalProperties": false,
421
+ "required": [
422
+ "_copy"
423
+ ]
424
+ }
425
+ ]
426
+ }
427
+ },
428
+ "properties": {
429
+ "_meta": {
430
+ "$ref": "util.json#/$defs/metaBlock"
431
+ },
432
+ "facility": {
433
+ "type": "array",
434
+ "items": {
435
+ "$ref": "#/$defs/facility"
436
+ },
437
+ "minItems": 1,
438
+ "uniqueItems": true
439
+ }
440
+ },
441
+ "required": [
442
+ "facility"
443
+ ],
444
+ "additionalProperties": false
445
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.40",
3
+ "version": "1.21.41",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -331,8 +331,8 @@
331
331
  "initiative": {
332
332
  "type": "number"
333
333
  },
334
- "proficient": {
335
- "const": true
334
+ "proficiency": {
335
+ "$ref": "../util.json#/$defs/proficiencyLevel"
336
336
  },
337
337
  "advantageMode": {
338
338
  "type": "string",
@@ -614,6 +614,9 @@
614
614
  },
615
615
  "xp": {
616
616
  "type": "integer"
617
+ },
618
+ "xpLair": {
619
+ "type": "integer"
617
620
  }
618
621
  },
619
622
  "additionalProperties": false,
@@ -1590,8 +1593,8 @@
1590
1593
  "initiative": {
1591
1594
  "type": "number"
1592
1595
  },
1593
- "proficient": {
1594
- "const": true
1596
+ "proficiency": {
1597
+ "$ref": "../util.json#/$defs/proficiencyLevel"
1595
1598
  },
1596
1599
  "advantageMode": {
1597
1600
  "type": "string",
@@ -1873,6 +1876,9 @@
1873
1876
  },
1874
1877
  "xp": {
1875
1878
  "type": "integer"
1879
+ },
1880
+ "xpLair": {
1881
+ "type": "integer"
1876
1882
  }
1877
1883
  },
1878
1884
  "additionalProperties": false,
@@ -2854,8 +2860,8 @@
2854
2860
  "initiative": {
2855
2861
  "type": "number"
2856
2862
  },
2857
- "proficient": {
2858
- "const": true
2863
+ "proficiency": {
2864
+ "$ref": "../util.json#/$defs/proficiencyLevel"
2859
2865
  },
2860
2866
  "advantageMode": {
2861
2867
  "type": "string",
@@ -3137,6 +3143,9 @@
3137
3143
  },
3138
3144
  "xp": {
3139
3145
  "type": "integer"
3146
+ },
3147
+ "xpLair": {
3148
+ "type": "integer"
3140
3149
  }
3141
3150
  },
3142
3151
  "additionalProperties": false,
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "conditionsdiseases.json",
4
- "version": "1.2.4",
4
+ "version": "1.2.5",
5
5
  "type": "object",
6
6
  "$defs": {
7
- "conditionDisease": {
7
+ "_conditionDiseaseBase": {
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "name": {
@@ -77,6 +77,92 @@
77
77
  "source"
78
78
  ],
79
79
  "additionalProperties": false
80
+ },
81
+ "condition": {
82
+ "$ref": "#/$defs/_conditionDiseaseBase"
83
+ },
84
+ "status": {
85
+ "$ref": "#/$defs/_conditionDiseaseBase"
86
+ },
87
+ "disease": {
88
+ "type": "object",
89
+ "properties": {
90
+ "name": {
91
+ "type": "string"
92
+ },
93
+ "alias": {
94
+ "$ref": "util.json#/$defs/alias"
95
+ },
96
+ "entries": {
97
+ "type": "array",
98
+ "items": {
99
+ "$ref": "entry.json"
100
+ }
101
+ },
102
+ "source": {
103
+ "$ref": "util.json#/$defs/source"
104
+ },
105
+ "page": {
106
+ "$ref": "util.json#/$defs/page"
107
+ },
108
+ "srd": {
109
+ "$ref": "util.json#/$defs/srd"
110
+ },
111
+ "srd52": {
112
+ "$ref": "util.json#/$defs/srd"
113
+ },
114
+ "basicRules": {
115
+ "$ref": "util.json#/$defs/basicRules"
116
+ },
117
+ "freeRules2024": {
118
+ "$ref": "util.json#/$defs/basicRules"
119
+ },
120
+ "otherSources": {
121
+ "$ref": "util.json#/$defs/otherSources"
122
+ },
123
+ "reprintedAs": {
124
+ "$ref": "util.json#/$defs/reprintedAs"
125
+ },
126
+ "hasFluff": {
127
+ "type": "boolean"
128
+ },
129
+ "hasFluffImages": {
130
+ "type": "boolean"
131
+ },
132
+ "color": {
133
+ "description": "For homebrew use only; HTML hex color code this source should use when displayed on the DM Screen.\ne.g. \"ff00ff\"",
134
+ "type": "string",
135
+ "pattern": "^([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"
136
+ },
137
+ "fluff": {
138
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
139
+ "$ref": "util.json#/$defs/fluffObject"
140
+ },
141
+ "foundrySystem": {
142
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
143
+ },
144
+ "foundryFlags": {
145
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
146
+ },
147
+ "foundryEffects": {
148
+ "$ref": "util-foundry.json#/$defs/foundryEffectsArray"
149
+ },
150
+ "foundryImg": {
151
+ "$ref": "util-foundry.json#/$defs/foundryImg"
152
+ },
153
+ "type": {
154
+ "type": "string",
155
+ "examples": [
156
+ "Magical Contagion"
157
+ ]
158
+ }
159
+ },
160
+ "required": [
161
+ "name",
162
+ "entries",
163
+ "source"
164
+ ],
165
+ "additionalProperties": false
80
166
  }
81
167
  },
82
168
  "properties": {
@@ -85,7 +171,7 @@
85
171
  "minItems": 1,
86
172
  "uniqueItems": true,
87
173
  "items": {
88
- "$ref": "#/$defs/conditionDisease"
174
+ "$ref": "#/$defs/condition"
89
175
  }
90
176
  },
91
177
  "disease": {
@@ -93,7 +179,7 @@
93
179
  "minItems": 1,
94
180
  "uniqueItems": true,
95
181
  "items": {
96
- "$ref": "#/$defs/conditionDisease"
182
+ "$ref": "#/$defs/disease"
97
183
  }
98
184
  },
99
185
  "status": {
@@ -101,7 +187,7 @@
101
187
  "minItems": 1,
102
188
  "uniqueItems": true,
103
189
  "items": {
104
- "$ref": "#/$defs/conditionDisease"
190
+ "$ref": "#/$defs/status"
105
191
  }
106
192
  }
107
193
  },