5etools-utils 0.9.9 → 0.9.11

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 (103) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/backgrounds.json +8 -0
  3. package/schema/brew/bestiary/bestiary.json +8 -0
  4. package/schema/brew/bestiary/legendarygroups.json +8 -0
  5. package/schema/brew/bestiary/template.json +8 -0
  6. package/schema/brew/class/class.json +16 -0
  7. package/schema/brew/class/foundry.json +5 -53
  8. package/schema/brew/decks.json +35 -1
  9. package/schema/brew/deities.json +8 -0
  10. package/schema/brew/fluff-races.json +8 -0
  11. package/schema/brew/foundry-races.json +348 -40
  12. package/schema/brew/foundry-shared.json +54 -0
  13. package/schema/brew/homebrew.json +4 -1
  14. package/schema/brew/items-base.json +8 -0
  15. package/schema/brew/items.json +8 -0
  16. package/schema/brew/races.json +16 -0
  17. package/schema/brew/spells/spells.json +8 -0
  18. package/schema/brew/util.json +17 -1
  19. package/schema/brew-fast/backgrounds.json +8 -0
  20. package/schema/brew-fast/bestiary/bestiary.json +8 -0
  21. package/schema/brew-fast/bestiary/legendarygroups.json +8 -0
  22. package/schema/brew-fast/bestiary/template.json +8 -0
  23. package/schema/brew-fast/class/class.json +16 -0
  24. package/schema/brew-fast/class/foundry.json +5 -53
  25. package/schema/brew-fast/decks.json +35 -1
  26. package/schema/brew-fast/deities.json +8 -0
  27. package/schema/brew-fast/fluff-races.json +8 -0
  28. package/schema/brew-fast/foundry-races.json +348 -40
  29. package/schema/brew-fast/foundry-shared.json +54 -0
  30. package/schema/brew-fast/homebrew.json +4 -1
  31. package/schema/brew-fast/items-base.json +8 -0
  32. package/schema/brew-fast/items.json +8 -0
  33. package/schema/brew-fast/races.json +16 -0
  34. package/schema/brew-fast/spells/spells.json +8 -0
  35. package/schema/brew-fast/util.json +17 -1
  36. package/schema/site/backgrounds.json +8 -0
  37. package/schema/site/bestiary/bestiary.json +8 -0
  38. package/schema/site/bestiary/legendarygroups.json +8 -0
  39. package/schema/site/bestiary/template.json +8 -0
  40. package/schema/site/class/class.json +16 -0
  41. package/schema/site/class/foundry.json +5 -53
  42. package/schema/site/decks.json +35 -1
  43. package/schema/site/deities.json +8 -0
  44. package/schema/site/fluff-races.json +8 -0
  45. package/schema/site/foundry-races.json +348 -40
  46. package/schema/site/foundry-shared.json +54 -0
  47. package/schema/site/homebrew.json +4 -1
  48. package/schema/site/items-base.json +8 -0
  49. package/schema/site/items.json +8 -0
  50. package/schema/site/races.json +16 -0
  51. package/schema/site/spells/spells.json +8 -0
  52. package/schema/site/util.json +17 -1
  53. package/schema/site-fast/backgrounds.json +8 -0
  54. package/schema/site-fast/bestiary/bestiary.json +8 -0
  55. package/schema/site-fast/bestiary/legendarygroups.json +8 -0
  56. package/schema/site-fast/bestiary/template.json +8 -0
  57. package/schema/site-fast/class/class.json +16 -0
  58. package/schema/site-fast/class/foundry.json +5 -53
  59. package/schema/site-fast/decks.json +35 -1
  60. package/schema/site-fast/deities.json +8 -0
  61. package/schema/site-fast/fluff-races.json +8 -0
  62. package/schema/site-fast/foundry-races.json +348 -40
  63. package/schema/site-fast/foundry-shared.json +54 -0
  64. package/schema/site-fast/homebrew.json +4 -1
  65. package/schema/site-fast/items-base.json +8 -0
  66. package/schema/site-fast/items.json +8 -0
  67. package/schema/site-fast/races.json +16 -0
  68. package/schema/site-fast/spells/spells.json +8 -0
  69. package/schema/site-fast/util.json +17 -1
  70. package/schema/ua/backgrounds.json +8 -0
  71. package/schema/ua/bestiary/bestiary.json +8 -0
  72. package/schema/ua/bestiary/legendarygroups.json +8 -0
  73. package/schema/ua/bestiary/template.json +8 -0
  74. package/schema/ua/class/class.json +16 -0
  75. package/schema/ua/class/foundry.json +5 -53
  76. package/schema/ua/decks.json +35 -1
  77. package/schema/ua/deities.json +8 -0
  78. package/schema/ua/fluff-races.json +8 -0
  79. package/schema/ua/foundry-races.json +348 -40
  80. package/schema/ua/foundry-shared.json +54 -0
  81. package/schema/ua/homebrew.json +4 -1
  82. package/schema/ua/items-base.json +8 -0
  83. package/schema/ua/items.json +8 -0
  84. package/schema/ua/races.json +16 -0
  85. package/schema/ua/spells/spells.json +8 -0
  86. package/schema/ua/util.json +17 -1
  87. package/schema/ua-fast/backgrounds.json +8 -0
  88. package/schema/ua-fast/bestiary/bestiary.json +8 -0
  89. package/schema/ua-fast/bestiary/legendarygroups.json +8 -0
  90. package/schema/ua-fast/bestiary/template.json +8 -0
  91. package/schema/ua-fast/class/class.json +16 -0
  92. package/schema/ua-fast/class/foundry.json +5 -53
  93. package/schema/ua-fast/decks.json +35 -1
  94. package/schema/ua-fast/deities.json +8 -0
  95. package/schema/ua-fast/fluff-races.json +8 -0
  96. package/schema/ua-fast/foundry-races.json +348 -40
  97. package/schema/ua-fast/foundry-shared.json +54 -0
  98. package/schema/ua-fast/homebrew.json +4 -1
  99. package/schema/ua-fast/items-base.json +8 -0
  100. package/schema/ua-fast/items.json +8 -0
  101. package/schema/ua-fast/races.json +16 -0
  102. package/schema/ua-fast/spells/spells.json +8 -0
  103. package/schema/ua-fast/util.json +17 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.9.9",
3
+ "version": "0.9.11",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -372,6 +372,14 @@
372
372
  "description": "Used in subclass data",
373
373
  "$ref": "util.json#/$defs/source"
374
374
  },
375
+ "raceName": {
376
+ "description": "Used in race feature data",
377
+ "type": "string"
378
+ },
379
+ "raceSource": {
380
+ "description": "Used in race feature data",
381
+ "$ref": "util.json#/$defs/source"
382
+ },
375
383
  "_mod": {
376
384
  "$ref": "util.json#/$defs/_modObject"
377
385
  },
@@ -3687,6 +3687,14 @@
3687
3687
  "description": "Used in subclass data",
3688
3688
  "$ref": "../util.json#/$defs/source"
3689
3689
  },
3690
+ "raceName": {
3691
+ "description": "Used in race feature data",
3692
+ "type": "string"
3693
+ },
3694
+ "raceSource": {
3695
+ "description": "Used in race feature data",
3696
+ "$ref": "../util.json#/$defs/source"
3697
+ },
3690
3698
  "_mod": {
3691
3699
  "$ref": "../util.json#/$defs/_modObject"
3692
3700
  },
@@ -140,6 +140,14 @@
140
140
  "description": "Used in subclass data",
141
141
  "$ref": "../util.json#/$defs/source"
142
142
  },
143
+ "raceName": {
144
+ "description": "Used in race feature data",
145
+ "type": "string"
146
+ },
147
+ "raceSource": {
148
+ "description": "Used in race feature data",
149
+ "$ref": "../util.json#/$defs/source"
150
+ },
143
151
  "_mod": {
144
152
  "$ref": "../util.json#/$defs/_modObject"
145
153
  },
@@ -216,6 +216,14 @@
216
216
  "description": "Used in subclass data",
217
217
  "$ref": "../util.json#/$defs/source"
218
218
  },
219
+ "raceName": {
220
+ "description": "Used in race feature data",
221
+ "type": "string"
222
+ },
223
+ "raceSource": {
224
+ "description": "Used in race feature data",
225
+ "$ref": "../util.json#/$defs/source"
226
+ },
219
227
  "_mod": {
220
228
  "$ref": "../util.json#/$defs/_modObject"
221
229
  },
@@ -824,6 +824,14 @@
824
824
  "description": "Used in subclass data",
825
825
  "$ref": "../util.json#/$defs/source"
826
826
  },
827
+ "raceName": {
828
+ "description": "Used in race feature data",
829
+ "type": "string"
830
+ },
831
+ "raceSource": {
832
+ "description": "Used in race feature data",
833
+ "$ref": "../util.json#/$defs/source"
834
+ },
827
835
  "_mod": {
828
836
  "$ref": "../util.json#/$defs/_modObject"
829
837
  },
@@ -1594,6 +1602,14 @@
1594
1602
  "description": "Used in subclass data",
1595
1603
  "$ref": "../util.json#/$defs/source"
1596
1604
  },
1605
+ "raceName": {
1606
+ "description": "Used in race feature data",
1607
+ "type": "string"
1608
+ },
1609
+ "raceSource": {
1610
+ "description": "Used in race feature data",
1611
+ "$ref": "../util.json#/$defs/source"
1612
+ },
1597
1613
  "_mod": {
1598
1614
  "$ref": "../util.json#/$defs/_modObject"
1599
1615
  },
@@ -1,56 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-class.json",
4
- "version": "1.4.3",
4
+ "version": "1.4.4",
5
5
  "type": "object",
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
- },
54
6
  "properties": {
55
7
  "class": {
56
8
  "type": "array",
@@ -86,7 +38,7 @@
86
38
  }
87
39
  },
88
40
  "entryData": {
89
- "$ref": "#/$defs/entryDataObject"
41
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
90
42
  },
91
43
  "advancement": {
92
44
  "$ref": "../util.json#/$defs/foundryAdvancementsArray"
@@ -173,7 +125,7 @@
173
125
  }
174
126
  },
175
127
  "entryData": {
176
- "$ref": "#/$defs/entryDataObject"
128
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
177
129
  },
178
130
  "advancement": {
179
131
  "$ref": "../util.json#/$defs/foundryAdvancementsArray"
@@ -260,7 +212,7 @@
260
212
  }
261
213
  },
262
214
  "entryData": {
263
- "$ref": "#/$defs/entryDataObject"
215
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
264
216
  },
265
217
  "chooseSystem": {
266
218
  "type": "array",
@@ -352,7 +304,7 @@
352
304
  }
353
305
  },
354
306
  "entryData": {
355
- "$ref": "#/$defs/entryDataObject"
307
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
356
308
  },
357
309
  "chooseSystem": {
358
310
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "decks.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -16,6 +16,9 @@
16
16
  "source": {
17
17
  "$ref": "util.json#/$defs/source"
18
18
  },
19
+ "otherSources": {
20
+ "$ref": "util.json#/$defs/otherSources"
21
+ },
19
22
  "page": {
20
23
  "$ref": "util.json#/$defs/page"
21
24
  },
@@ -83,6 +86,9 @@
83
86
  "source": {
84
87
  "$ref": "util.json#/$defs/source"
85
88
  },
89
+ "otherSources": {
90
+ "$ref": "util.json#/$defs/otherSources"
91
+ },
86
92
  "page": {
87
93
  "$ref": "util.json#/$defs/page"
88
94
  },
@@ -153,6 +159,9 @@
153
159
  "source": {
154
160
  "$ref": "util.json#/$defs/source"
155
161
  },
162
+ "otherSources": {
163
+ "$ref": "util.json#/$defs/otherSources"
164
+ },
156
165
  "page": {
157
166
  "$ref": "util.json#/$defs/page"
158
167
  },
@@ -228,6 +237,14 @@
228
237
  "description": "Used in subclass data",
229
238
  "$ref": "util.json#/$defs/source"
230
239
  },
240
+ "raceName": {
241
+ "description": "Used in race feature data",
242
+ "type": "string"
243
+ },
244
+ "raceSource": {
245
+ "description": "Used in race feature data",
246
+ "$ref": "util.json#/$defs/source"
247
+ },
231
248
  "_mod": {
232
249
  "$ref": "util.json#/$defs/_modObject"
233
250
  },
@@ -281,6 +298,9 @@
281
298
  "source": {
282
299
  "$ref": "util.json#/$defs/source"
283
300
  },
301
+ "otherSources": {
302
+ "$ref": "util.json#/$defs/otherSources"
303
+ },
284
304
  "set": {
285
305
  "type": "string"
286
306
  },
@@ -328,6 +348,9 @@
328
348
  "source": {
329
349
  "$ref": "util.json#/$defs/source"
330
350
  },
351
+ "otherSources": {
352
+ "$ref": "util.json#/$defs/otherSources"
353
+ },
331
354
  "set": {
332
355
  "type": "string"
333
356
  },
@@ -378,6 +401,9 @@
378
401
  "source": {
379
402
  "$ref": "util.json#/$defs/source"
380
403
  },
404
+ "otherSources": {
405
+ "$ref": "util.json#/$defs/otherSources"
406
+ },
381
407
  "set": {
382
408
  "type": "string"
383
409
  },
@@ -433,6 +459,14 @@
433
459
  "description": "Used in subclass data",
434
460
  "$ref": "util.json#/$defs/source"
435
461
  },
462
+ "raceName": {
463
+ "description": "Used in race feature data",
464
+ "type": "string"
465
+ },
466
+ "raceSource": {
467
+ "description": "Used in race feature data",
468
+ "$ref": "util.json#/$defs/source"
469
+ },
436
470
  "_mod": {
437
471
  "$ref": "util.json#/$defs/_modObject"
438
472
  },
@@ -438,6 +438,14 @@
438
438
  "description": "Used in subclass data",
439
439
  "$ref": "util.json#/$defs/source"
440
440
  },
441
+ "raceName": {
442
+ "description": "Used in race feature data",
443
+ "type": "string"
444
+ },
445
+ "raceSource": {
446
+ "description": "Used in race feature data",
447
+ "$ref": "util.json#/$defs/source"
448
+ },
441
449
  "_mod": {
442
450
  "$ref": "util.json#/$defs/_modObject"
443
451
  },
@@ -144,6 +144,14 @@
144
144
  "description": "Used in subclass data",
145
145
  "$ref": "util.json#/$defs/source"
146
146
  },
147
+ "raceName": {
148
+ "description": "Used in race feature data",
149
+ "type": "string"
150
+ },
151
+ "raceSource": {
152
+ "description": "Used in race feature data",
153
+ "$ref": "util.json#/$defs/source"
154
+ },
147
155
  "_mod": {
148
156
  "$ref": "util.json#/$defs/_modObject"
149
157
  },