5etools-utils 0.9.7 → 0.9.9

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 (73) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/backgrounds.json +19 -19
  3. package/schema/brew/books.json +2 -1
  4. package/schema/brew/deities.json +22 -19
  5. package/schema/brew/fluff-rewards.json +42 -0
  6. package/schema/brew/homebrew.json +4 -1
  7. package/schema/brew/items-base.json +28 -1
  8. package/schema/brew/items-shared.json +17 -4
  9. package/schema/brew/items.json +16 -10
  10. package/schema/brew/magicvariants.json +4 -1
  11. package/schema/brew/races.json +49 -7
  12. package/schema/brew/rewards.json +8 -1
  13. package/schema/brew/util.json +8 -1
  14. package/schema/brew-fast/backgrounds.json +19 -19
  15. package/schema/brew-fast/books.json +2 -1
  16. package/schema/brew-fast/deities.json +22 -19
  17. package/schema/brew-fast/fluff-rewards.json +42 -0
  18. package/schema/brew-fast/homebrew.json +4 -1
  19. package/schema/brew-fast/items-base.json +28 -1
  20. package/schema/brew-fast/items-shared.json +17 -4
  21. package/schema/brew-fast/items.json +16 -10
  22. package/schema/brew-fast/magicvariants.json +4 -1
  23. package/schema/brew-fast/races.json +49 -7
  24. package/schema/brew-fast/rewards.json +8 -1
  25. package/schema/brew-fast/util.json +8 -1
  26. package/schema/site/backgrounds.json +19 -1
  27. package/schema/site/books.json +2 -1
  28. package/schema/site/deities.json +22 -19
  29. package/schema/site/fluff-rewards.json +42 -0
  30. package/schema/site/homebrew.json +4 -1
  31. package/schema/site/items-base.json +28 -1
  32. package/schema/site/items-shared.json +17 -4
  33. package/schema/site/items.json +16 -10
  34. package/schema/site/magicvariants.json +4 -1
  35. package/schema/site/races.json +49 -7
  36. package/schema/site/rewards.json +8 -1
  37. package/schema/site/util.json +8 -1
  38. package/schema/site-fast/backgrounds.json +19 -1
  39. package/schema/site-fast/books.json +2 -1
  40. package/schema/site-fast/deities.json +22 -19
  41. package/schema/site-fast/fluff-rewards.json +42 -0
  42. package/schema/site-fast/homebrew.json +4 -1
  43. package/schema/site-fast/items-base.json +28 -1
  44. package/schema/site-fast/items-shared.json +17 -4
  45. package/schema/site-fast/items.json +16 -10
  46. package/schema/site-fast/magicvariants.json +4 -1
  47. package/schema/site-fast/races.json +49 -7
  48. package/schema/site-fast/rewards.json +8 -1
  49. package/schema/site-fast/util.json +8 -1
  50. package/schema/ua/backgrounds.json +19 -1
  51. package/schema/ua/books.json +2 -1
  52. package/schema/ua/deities.json +22 -19
  53. package/schema/ua/fluff-rewards.json +42 -0
  54. package/schema/ua/homebrew.json +4 -1
  55. package/schema/ua/items-base.json +28 -1
  56. package/schema/ua/items-shared.json +17 -4
  57. package/schema/ua/items.json +16 -10
  58. package/schema/ua/magicvariants.json +4 -1
  59. package/schema/ua/races.json +49 -7
  60. package/schema/ua/rewards.json +8 -1
  61. package/schema/ua/util.json +8 -1
  62. package/schema/ua-fast/backgrounds.json +19 -1
  63. package/schema/ua-fast/books.json +2 -1
  64. package/schema/ua-fast/deities.json +22 -19
  65. package/schema/ua-fast/fluff-rewards.json +42 -0
  66. package/schema/ua-fast/homebrew.json +4 -1
  67. package/schema/ua-fast/items-base.json +28 -1
  68. package/schema/ua-fast/items-shared.json +17 -4
  69. package/schema/ua-fast/items.json +16 -10
  70. package/schema/ua-fast/magicvariants.json +4 -1
  71. package/schema/ua-fast/races.json +49 -7
  72. package/schema/ua-fast/rewards.json +8 -1
  73. package/schema/ua-fast/util.json +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.9.7",
3
+ "version": "0.9.9",
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": "backgrounds.json",
4
- "version": "1.3.3",
4
+ "version": "1.3.4",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "backgroundData": {
@@ -28,6 +28,12 @@
28
28
  "languageProficiencies": {
29
29
  "$ref": "util.json#/$defs/languageProficiencies"
30
30
  },
31
+ "weaponProficiencies": {
32
+ "$ref": "util.json#/$defs/weaponProficiencies"
33
+ },
34
+ "armorProficiencies": {
35
+ "$ref": "util.json#/$defs/armorProficiencies"
36
+ },
31
37
  "feats": {
32
38
  "$ref": "util.json#/$defs/additionalFeatsArray"
33
39
  },
@@ -81,12 +87,6 @@
81
87
  "expertise": {
82
88
  "$ref": "util.json#/$defs/expertise"
83
89
  },
84
- "weaponProficiencies": {
85
- "$ref": "util.json#/$defs/weaponProficiencies"
86
- },
87
- "armorProficiencies": {
88
- "$ref": "util.json#/$defs/armorProficiencies"
89
- },
90
90
  "resist": {
91
91
  "$ref": "util.json#/$defs/damageResistArrayPlayer"
92
92
  },
@@ -143,6 +143,12 @@
143
143
  "languageProficiencies": {
144
144
  "$ref": "util.json#/$defs/languageProficiencies"
145
145
  },
146
+ "weaponProficiencies": {
147
+ "$ref": "util.json#/$defs/weaponProficiencies"
148
+ },
149
+ "armorProficiencies": {
150
+ "$ref": "util.json#/$defs/armorProficiencies"
151
+ },
146
152
  "feats": {
147
153
  "$ref": "util.json#/$defs/additionalFeatsArray"
148
154
  },
@@ -196,12 +202,6 @@
196
202
  "expertise": {
197
203
  "$ref": "util.json#/$defs/expertise"
198
204
  },
199
- "weaponProficiencies": {
200
- "$ref": "util.json#/$defs/weaponProficiencies"
201
- },
202
- "armorProficiencies": {
203
- "$ref": "util.json#/$defs/armorProficiencies"
204
- },
205
205
  "resist": {
206
206
  "$ref": "util.json#/$defs/damageResistArrayPlayer"
207
207
  },
@@ -261,6 +261,12 @@
261
261
  "languageProficiencies": {
262
262
  "$ref": "util.json#/$defs/languageProficiencies"
263
263
  },
264
+ "weaponProficiencies": {
265
+ "$ref": "util.json#/$defs/weaponProficiencies"
266
+ },
267
+ "armorProficiencies": {
268
+ "$ref": "util.json#/$defs/armorProficiencies"
269
+ },
264
270
  "feats": {
265
271
  "$ref": "util.json#/$defs/additionalFeatsArray"
266
272
  },
@@ -314,12 +320,6 @@
314
320
  "expertise": {
315
321
  "$ref": "util.json#/$defs/expertise"
316
322
  },
317
- "weaponProficiencies": {
318
- "$ref": "util.json#/$defs/weaponProficiencies"
319
- },
320
- "armorProficiencies": {
321
- "$ref": "util.json#/$defs/armorProficiencies"
322
- },
323
323
  "resist": {
324
324
  "$ref": "util.json#/$defs/damageResistArrayPlayer"
325
325
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "books.json",
4
- "version": "1.2.9",
4
+ "version": "1.2.10",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "book": {
@@ -35,6 +35,7 @@
35
35
  "supplement",
36
36
  "supplement-alt",
37
37
  "setting",
38
+ "setting-alt",
38
39
  "prerelease",
39
40
  "homebrew",
40
41
  "screen",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "deities.json",
4
- "version": "1.2.6",
4
+ "version": "1.2.7",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deityData": {
@@ -63,19 +63,20 @@
63
63
  "examples": [
64
64
  "Arcana",
65
65
  "Death",
66
+ "Forge",
67
+ "Grave",
66
68
  "Knowledge",
67
69
  "Life",
68
70
  "Light",
71
+ "Moon",
69
72
  "Nature",
70
- "Tempest",
71
- "Trickery",
72
- "War",
73
- "Forge",
74
- "Grave",
75
73
  "Order",
76
74
  "Peace",
75
+ "Tempest",
76
+ "Trickery",
77
77
  "Twilight",
78
- "Unknown"
78
+ "Unknown",
79
+ "War"
79
80
  ]
80
81
  }
81
82
  },
@@ -199,19 +200,20 @@
199
200
  "examples": [
200
201
  "Arcana",
201
202
  "Death",
203
+ "Forge",
204
+ "Grave",
202
205
  "Knowledge",
203
206
  "Life",
204
207
  "Light",
208
+ "Moon",
205
209
  "Nature",
206
- "Tempest",
207
- "Trickery",
208
- "War",
209
- "Forge",
210
- "Grave",
211
210
  "Order",
212
211
  "Peace",
212
+ "Tempest",
213
+ "Trickery",
213
214
  "Twilight",
214
- "Unknown"
215
+ "Unknown",
216
+ "War"
215
217
  ]
216
218
  }
217
219
  },
@@ -338,19 +340,20 @@
338
340
  "examples": [
339
341
  "Arcana",
340
342
  "Death",
343
+ "Forge",
344
+ "Grave",
341
345
  "Knowledge",
342
346
  "Life",
343
347
  "Light",
348
+ "Moon",
344
349
  "Nature",
345
- "Tempest",
346
- "Trickery",
347
- "War",
348
- "Forge",
349
- "Grave",
350
350
  "Order",
351
351
  "Peace",
352
+ "Tempest",
353
+ "Trickery",
352
354
  "Twilight",
353
- "Unknown"
355
+ "Unknown",
356
+ "War"
354
357
  ]
355
358
  }
356
359
  },
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-rewards.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "rewardFluff": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "entry.json#/$defs/entryImage"
24
+ }
25
+ },
26
+ "entries": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "entry.json"
30
+ }
31
+ }
32
+ },
33
+ "required": [
34
+ "name",
35
+ "source"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.11",
3
+ "version": "1.10.12",
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": {
@@ -589,6 +589,9 @@
589
589
  "reward": {
590
590
  "$ref": "rewards.json#/properties/reward"
591
591
  },
592
+ "rewardFluff": {
593
+ "$ref": "fluff-rewards.json#/properties/rewardFluff"
594
+ },
592
595
  "table": {
593
596
  "$ref": "tables.json#/properties/table"
594
597
  },
@@ -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.5.9",
4
+ "version": "1.5.10",
5
5
  "$defs": {
6
6
  "itemPropertyLookupArray": {
7
7
  "type": "array",
@@ -295,6 +295,12 @@
295
295
  "description": "In copper pieces.",
296
296
  "type": "number"
297
297
  },
298
+ "carryingCapacity": {
299
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
300
+ },
301
+ "speed": {
302
+ "$ref": "items-shared.json#/$defs/itemSpeed"
303
+ },
298
304
  "valueMult": {
299
305
  "type": "number"
300
306
  },
@@ -375,6 +381,9 @@
375
381
  "mastery": {
376
382
  "$ref": "items-shared.json#/$defs/itemMastery"
377
383
  },
384
+ "reach": {
385
+ "$ref": "items-shared.json#/$defs/itemReach"
386
+ },
378
387
  "hasFluff": {
379
388
  "type": "boolean"
380
389
  },
@@ -554,6 +563,12 @@
554
563
  "description": "In copper pieces.",
555
564
  "type": "number"
556
565
  },
566
+ "carryingCapacity": {
567
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
568
+ },
569
+ "speed": {
570
+ "$ref": "items-shared.json#/$defs/itemSpeed"
571
+ },
557
572
  "valueMult": {
558
573
  "type": "number"
559
574
  },
@@ -634,6 +649,9 @@
634
649
  "mastery": {
635
650
  "$ref": "items-shared.json#/$defs/itemMastery"
636
651
  },
652
+ "reach": {
653
+ "$ref": "items-shared.json#/$defs/itemReach"
654
+ },
637
655
  "hasFluff": {
638
656
  "type": "boolean"
639
657
  },
@@ -817,6 +835,12 @@
817
835
  "description": "In copper pieces.",
818
836
  "type": "number"
819
837
  },
838
+ "carryingCapacity": {
839
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
840
+ },
841
+ "speed": {
842
+ "$ref": "items-shared.json#/$defs/itemSpeed"
843
+ },
820
844
  "valueMult": {
821
845
  "type": "number"
822
846
  },
@@ -897,6 +921,9 @@
897
921
  "mastery": {
898
922
  "$ref": "items-shared.json#/$defs/itemMastery"
899
923
  },
924
+ "reach": {
925
+ "$ref": "items-shared.json#/$defs/itemReach"
926
+ },
900
927
  "hasFluff": {
901
928
  "type": "boolean"
902
929
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.3",
6
+ "version": "1.0.4",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -151,7 +151,7 @@
151
151
  "itemType": {
152
152
  "type": "string",
153
153
  "$comment": "Dumped from `Object(Parser.ITEM_TYPE_JSON_TO_ABV)`",
154
- "description": "$: Treasure\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
154
+ "description": "$: Treasure\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
155
155
  "examples": [
156
156
  "$",
157
157
  "A",
@@ -165,6 +165,7 @@
165
165
  "GS",
166
166
  "GV",
167
167
  "HA",
168
+ "IDG",
168
169
  "INS",
169
170
  "LA",
170
171
  "M",
@@ -198,7 +199,7 @@
198
199
  },
199
200
  "itemProperty": {
200
201
  "type": "array",
201
- "description": "2H: Two-Handed\n A: Ammunition\n AF: Ammunition (futuristic)\n BF: Burst Fire\n EM: Eldritch Machine\n F: Finesse\n H: Heavy\n L: Light\n LD: Loading\n OTH: Other\n R: Reach\n RLD: Reload\n S: Special\n T: Thrown\n V: Versatile",
202
+ "description": "2H: Two-Handed\n A: Ammunition\n AF: Ammunition (futuristic)\n BF: Burst Fire\n EM: Eldritch Machine\n ER: Extended Reach\n F: Finesse\n H: Heavy\n L: Light\n LD: Loading\n OTH: Other\n R: Reach\n RLD: Reload\n S: Special\n T: Thrown\n V: Versatile\n Vst: Vestige of Divergence",
202
203
  "items": {
203
204
  "type": "string",
204
205
  "examples": [
@@ -207,6 +208,7 @@
207
208
  "AF",
208
209
  "BF",
209
210
  "EM",
211
+ "ER",
210
212
  "F",
211
213
  "H",
212
214
  "L",
@@ -216,7 +218,8 @@
216
218
  "RLD",
217
219
  "S",
218
220
  "T",
219
- "V"
221
+ "V",
222
+ "Vst"
220
223
  ]
221
224
  }
222
225
  },
@@ -263,6 +266,16 @@
263
266
  "minItems": 1,
264
267
  "uniqueItems": true
265
268
  },
269
+ "itemCarryingCapacity": {
270
+ "type": "integer",
271
+ "description": "Of a mount/beast, not a container."
272
+ },
273
+ "itemSpeed": {
274
+ "type": "integer"
275
+ },
276
+ "itemReach": {
277
+ "type": "integer"
278
+ },
266
279
  "fluff": {
267
280
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source.",
268
281
  "anyOf": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.14.0",
4
+ "version": "1.14.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -38,8 +38,7 @@
38
38
  "$ref": "items-shared.json#/$defs/itemAge"
39
39
  },
40
40
  "carryingCapacity": {
41
- "type": "integer",
42
- "description": "Of a mount/beast, not a container."
41
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
43
42
  },
44
43
  "dmg1": {
45
44
  "type": "string"
@@ -111,7 +110,7 @@
111
110
  "$ref": "items-shared.json#/$defs/itemScfType"
112
111
  },
113
112
  "speed": {
114
- "type": "integer"
113
+ "$ref": "items-shared.json#/$defs/itemSpeed"
115
114
  },
116
115
  "stealth": {
117
116
  "type": "boolean"
@@ -534,6 +533,9 @@
534
533
  "mastery": {
535
534
  "$ref": "items-shared.json#/$defs/itemMastery"
536
535
  },
536
+ "reach": {
537
+ "$ref": "items-shared.json#/$defs/itemReach"
538
+ },
537
539
  "hasFluff": {
538
540
  "type": "boolean"
539
541
  },
@@ -631,8 +633,7 @@
631
633
  "$ref": "items-shared.json#/$defs/itemAge"
632
634
  },
633
635
  "carryingCapacity": {
634
- "type": "integer",
635
- "description": "Of a mount/beast, not a container."
636
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
636
637
  },
637
638
  "dmg1": {
638
639
  "type": "string"
@@ -704,7 +705,7 @@
704
705
  "$ref": "items-shared.json#/$defs/itemScfType"
705
706
  },
706
707
  "speed": {
707
- "type": "integer"
708
+ "$ref": "items-shared.json#/$defs/itemSpeed"
708
709
  },
709
710
  "stealth": {
710
711
  "type": "boolean"
@@ -1127,6 +1128,9 @@
1127
1128
  "mastery": {
1128
1129
  "$ref": "items-shared.json#/$defs/itemMastery"
1129
1130
  },
1131
+ "reach": {
1132
+ "$ref": "items-shared.json#/$defs/itemReach"
1133
+ },
1130
1134
  "hasFluff": {
1131
1135
  "type": "boolean"
1132
1136
  },
@@ -1227,8 +1231,7 @@
1227
1231
  "$ref": "items-shared.json#/$defs/itemAge"
1228
1232
  },
1229
1233
  "carryingCapacity": {
1230
- "type": "integer",
1231
- "description": "Of a mount/beast, not a container."
1234
+ "$ref": "items-shared.json#/$defs/itemCarryingCapacity"
1232
1235
  },
1233
1236
  "dmg1": {
1234
1237
  "type": "string"
@@ -1300,7 +1303,7 @@
1300
1303
  "$ref": "items-shared.json#/$defs/itemScfType"
1301
1304
  },
1302
1305
  "speed": {
1303
- "type": "integer"
1306
+ "$ref": "items-shared.json#/$defs/itemSpeed"
1304
1307
  },
1305
1308
  "stealth": {
1306
1309
  "type": "boolean"
@@ -1723,6 +1726,9 @@
1723
1726
  "mastery": {
1724
1727
  "$ref": "items-shared.json#/$defs/itemMastery"
1725
1728
  },
1729
+ "reach": {
1730
+ "$ref": "items-shared.json#/$defs/itemReach"
1731
+ },
1726
1732
  "hasFluff": {
1727
1733
  "type": "boolean"
1728
1734
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.3",
4
+ "version": "1.8.4",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -259,6 +259,9 @@
259
259
  "mastery": {
260
260
  "$ref": "items-shared.json#/$defs/itemMastery"
261
261
  },
262
+ "reach": {
263
+ "$ref": "items-shared.json#/$defs/itemReach"
264
+ },
262
265
  "hasRefs": {
263
266
  "type": "boolean",
264
267
  "description": "Whether this item has references within its data to dedicated \"itemEntry\"s."
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "races.json",
4
- "version": "1.12.4",
4
+ "version": "1.12.5",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "sharedData": {
@@ -20,7 +20,14 @@
20
20
  "$ref": "util.json#/$defs/page"
21
21
  },
22
22
  "otherSources": {
23
- "$ref": "util.json#/$defs/otherSources"
23
+ "oneOf": [
24
+ {
25
+ "$ref": "util.json#/$defs/otherSources"
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ]
24
31
  },
25
32
  "additionalSources": {
26
33
  "$ref": "util.json#/$defs/additionalSources"
@@ -257,7 +264,14 @@
257
264
  "$ref": "util.json#/$defs/page"
258
265
  },
259
266
  "otherSources": {
260
- "$ref": "util.json#/$defs/otherSources"
267
+ "oneOf": [
268
+ {
269
+ "$ref": "util.json#/$defs/otherSources"
270
+ },
271
+ {
272
+ "type": "null"
273
+ }
274
+ ]
261
275
  },
262
276
  "additionalSources": {
263
277
  "$ref": "util.json#/$defs/additionalSources"
@@ -585,7 +599,14 @@
585
599
  "$ref": "util.json#/$defs/page"
586
600
  },
587
601
  "otherSources": {
588
- "$ref": "util.json#/$defs/otherSources"
602
+ "oneOf": [
603
+ {
604
+ "$ref": "util.json#/$defs/otherSources"
605
+ },
606
+ {
607
+ "type": "null"
608
+ }
609
+ ]
589
610
  },
590
611
  "additionalSources": {
591
612
  "$ref": "util.json#/$defs/additionalSources"
@@ -826,7 +847,14 @@
826
847
  "$ref": "util.json#/$defs/page"
827
848
  },
828
849
  "otherSources": {
829
- "$ref": "util.json#/$defs/otherSources"
850
+ "oneOf": [
851
+ {
852
+ "$ref": "util.json#/$defs/otherSources"
853
+ },
854
+ {
855
+ "type": "null"
856
+ }
857
+ ]
830
858
  },
831
859
  "additionalSources": {
832
860
  "$ref": "util.json#/$defs/additionalSources"
@@ -1128,7 +1156,14 @@
1128
1156
  "$ref": "util.json#/$defs/page"
1129
1157
  },
1130
1158
  "otherSources": {
1131
- "$ref": "util.json#/$defs/otherSources"
1159
+ "oneOf": [
1160
+ {
1161
+ "$ref": "util.json#/$defs/otherSources"
1162
+ },
1163
+ {
1164
+ "type": "null"
1165
+ }
1166
+ ]
1132
1167
  },
1133
1168
  "additionalSources": {
1134
1169
  "$ref": "util.json#/$defs/additionalSources"
@@ -1381,7 +1416,14 @@
1381
1416
  "$ref": "util.json#/$defs/page"
1382
1417
  },
1383
1418
  "otherSources": {
1384
- "$ref": "util.json#/$defs/otherSources"
1419
+ "oneOf": [
1420
+ {
1421
+ "$ref": "util.json#/$defs/otherSources"
1422
+ },
1423
+ {
1424
+ "type": "null"
1425
+ }
1426
+ ]
1385
1427
  },
1386
1428
  "additionalSources": {
1387
1429
  "$ref": "util.json#/$defs/additionalSources"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "reward": {
@@ -25,6 +25,7 @@
25
25
  "Blessing",
26
26
  "Boon",
27
27
  "Charm",
28
+ "Curse",
28
29
  "Draconic Gift",
29
30
  "Inhabitation",
30
31
  "Fragment of Suffering",
@@ -66,6 +67,12 @@
66
67
  "$ref": "entry.json"
67
68
  }
68
69
  },
70
+ "hasFluff": {
71
+ "type": "boolean"
72
+ },
73
+ "hasFluffImages": {
74
+ "type": "boolean"
75
+ },
69
76
  "foundrySystem": {
70
77
  "$ref": "util.json#/$defs/foundrySystemObject"
71
78
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.32",
6
+ "version": "1.13.34",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1969,6 +1969,10 @@
1969
1969
  "description": "A more restrictive spellcasting variant; specifically \"Spellcasting Feature\"",
1970
1970
  "const": true
1971
1971
  },
1972
+ "spellcastingPrepared": {
1973
+ "description": "A more restrictive spellcasting variant; specifically \"Spellcasting feature from a class that prepares spells\"",
1974
+ "const": true
1975
+ },
1972
1976
  "psionics": {
1973
1977
  "const": true
1974
1978
  },
@@ -4490,6 +4494,9 @@
4490
4494
  "items": {
4491
4495
  "$ref": "#/$defs/foundryEffectObject"
4492
4496
  }
4497
+ },
4498
+ "img": {
4499
+ "type": "string"
4493
4500
  }
4494
4501
  },
4495
4502
  "required": [