5etools-utils 0.15.17 → 0.15.18

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 (109) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/charcreationoptions.json +162 -8
  3. package/schema/brew/cultsboons.json +399 -14
  4. package/schema/brew/encounterbuilder.json +81 -2
  5. package/schema/brew/fluff-charcreationoptions.json +5 -33
  6. package/schema/brew/homebrew.json +8 -2
  7. package/schema/brew/items-base.json +290 -28
  8. package/schema/brew/languages.json +195 -6
  9. package/schema/brew/objects.json +389 -9
  10. package/schema/brew/psionics.json +356 -7
  11. package/schema/brew/rewards.json +207 -8
  12. package/schema/brew/senses.json +68 -7
  13. package/schema/brew/skills.json +74 -7
  14. package/schema/brew/tables.json +676 -94
  15. package/schema/brew/trapshazards.json +571 -14
  16. package/schema/brew/util-copy.json +143 -1
  17. package/schema/brew/util.json +4 -2
  18. package/schema/brew/variantrules.json +151 -22
  19. package/schema/brew/vehicles.json +6672 -61
  20. package/schema/brew-fast/charcreationoptions.json +162 -8
  21. package/schema/brew-fast/cultsboons.json +399 -14
  22. package/schema/brew-fast/encounterbuilder.json +81 -2
  23. package/schema/brew-fast/fluff-charcreationoptions.json +5 -33
  24. package/schema/brew-fast/homebrew.json +8 -2
  25. package/schema/brew-fast/items-base.json +290 -28
  26. package/schema/brew-fast/languages.json +195 -6
  27. package/schema/brew-fast/objects.json +389 -9
  28. package/schema/brew-fast/psionics.json +356 -7
  29. package/schema/brew-fast/rewards.json +207 -8
  30. package/schema/brew-fast/senses.json +68 -7
  31. package/schema/brew-fast/skills.json +74 -7
  32. package/schema/brew-fast/tables.json +676 -94
  33. package/schema/brew-fast/trapshazards.json +571 -14
  34. package/schema/brew-fast/util-copy.json +143 -1
  35. package/schema/brew-fast/util.json +4 -2
  36. package/schema/brew-fast/variantrules.json +151 -22
  37. package/schema/brew-fast/vehicles.json +6672 -61
  38. package/schema/site/charcreationoptions.json +134 -8
  39. package/schema/site/cultsboons.json +315 -14
  40. package/schema/site/encounterbuilder.json +81 -2
  41. package/schema/site/fluff-charcreationoptions.json +5 -33
  42. package/schema/site/homebrew.json +8 -2
  43. package/schema/site/items-base.json +374 -40
  44. package/schema/site/languages.json +197 -6
  45. package/schema/site/objects.json +361 -9
  46. package/schema/site/psionics.json +314 -7
  47. package/schema/site/rewards.json +165 -8
  48. package/schema/site/senses.json +92 -7
  49. package/schema/site/skills.json +98 -7
  50. package/schema/site/tables.json +600 -87
  51. package/schema/site/trapshazards.json +555 -14
  52. package/schema/site/util-copy.json +143 -1
  53. package/schema/site/util.json +4 -2
  54. package/schema/site/variantrules.json +161 -22
  55. package/schema/site/vehicles.json +6446 -86
  56. package/schema/site-fast/charcreationoptions.json +134 -8
  57. package/schema/site-fast/cultsboons.json +315 -14
  58. package/schema/site-fast/encounterbuilder.json +81 -2
  59. package/schema/site-fast/fluff-charcreationoptions.json +5 -33
  60. package/schema/site-fast/homebrew.json +8 -2
  61. package/schema/site-fast/items-base.json +374 -40
  62. package/schema/site-fast/languages.json +197 -6
  63. package/schema/site-fast/objects.json +361 -9
  64. package/schema/site-fast/psionics.json +314 -7
  65. package/schema/site-fast/rewards.json +165 -8
  66. package/schema/site-fast/senses.json +92 -7
  67. package/schema/site-fast/skills.json +98 -7
  68. package/schema/site-fast/tables.json +600 -87
  69. package/schema/site-fast/trapshazards.json +555 -14
  70. package/schema/site-fast/util-copy.json +143 -1
  71. package/schema/site-fast/util.json +4 -2
  72. package/schema/site-fast/variantrules.json +161 -22
  73. package/schema/site-fast/vehicles.json +6446 -86
  74. package/schema/ua/charcreationoptions.json +110 -8
  75. package/schema/ua/cultsboons.json +315 -14
  76. package/schema/ua/encounterbuilder.json +81 -2
  77. package/schema/ua/fluff-charcreationoptions.json +5 -33
  78. package/schema/ua/homebrew.json +8 -2
  79. package/schema/ua/items-base.json +290 -28
  80. package/schema/ua/languages.json +173 -6
  81. package/schema/ua/objects.json +367 -9
  82. package/schema/ua/psionics.json +314 -7
  83. package/schema/ua/rewards.json +165 -8
  84. package/schema/ua/senses.json +68 -7
  85. package/schema/ua/skills.json +74 -7
  86. package/schema/ua/tables.json +564 -87
  87. package/schema/ua/trapshazards.json +483 -14
  88. package/schema/ua/util-copy.json +143 -1
  89. package/schema/ua/util.json +4 -2
  90. package/schema/ua/variantrules.json +139 -22
  91. package/schema/ua/vehicles.json +6574 -76
  92. package/schema/ua-fast/charcreationoptions.json +110 -8
  93. package/schema/ua-fast/cultsboons.json +315 -14
  94. package/schema/ua-fast/encounterbuilder.json +81 -2
  95. package/schema/ua-fast/fluff-charcreationoptions.json +5 -33
  96. package/schema/ua-fast/homebrew.json +8 -2
  97. package/schema/ua-fast/items-base.json +290 -28
  98. package/schema/ua-fast/languages.json +173 -6
  99. package/schema/ua-fast/objects.json +367 -9
  100. package/schema/ua-fast/psionics.json +314 -7
  101. package/schema/ua-fast/rewards.json +165 -8
  102. package/schema/ua-fast/senses.json +68 -7
  103. package/schema/ua-fast/skills.json +74 -7
  104. package/schema/ua-fast/tables.json +564 -87
  105. package/schema/ua-fast/trapshazards.json +483 -14
  106. package/schema/ua-fast/util-copy.json +143 -1
  107. package/schema/ua-fast/util.json +4 -2
  108. package/schema/ua-fast/variantrules.json +139 -22
  109. package/schema/ua-fast/vehicles.json +6574 -76
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "encounterbuilder.json",
4
- "version": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "_shapeTemplateNumericalValueFloat": {
@@ -151,7 +151,7 @@
151
151
  ],
152
152
  "additionalProperties": false
153
153
  },
154
- "encounterShape": {
154
+ "encounterShapeData": {
155
155
  "type": "object",
156
156
  "properties": {
157
157
  "name": {
@@ -182,6 +182,85 @@
182
182
  }
183
183
  },
184
184
  "additionalProperties": false
185
+ },
186
+ "encounterShape": {
187
+ "anyOf": [
188
+ {
189
+ "type": "object",
190
+ "properties": {
191
+ "name": {
192
+ "type": "string"
193
+ },
194
+ "source": {
195
+ "$ref": "util.json#/$defs/source"
196
+ },
197
+ "otherSources": {
198
+ "$ref": "util.json#/$defs/otherSources"
199
+ },
200
+ "referenceSources": {
201
+ "$ref": "util.json#/$defs/referenceSources"
202
+ },
203
+ "page": {
204
+ "$ref": "util.json#/$defs/page"
205
+ },
206
+ "reprintedAs": {
207
+ "$ref": "util.json#/$defs/reprintedAs"
208
+ },
209
+ "shapeTemplate": {
210
+ "type": "array",
211
+ "items": {
212
+ "$ref": "#/$defs/_shapeTemplateItem"
213
+ },
214
+ "minItems": 1,
215
+ "uniqueItems": true
216
+ }
217
+ },
218
+ "additionalProperties": false,
219
+ "required": [
220
+ "name",
221
+ "source",
222
+ "shapeTemplate"
223
+ ]
224
+ },
225
+ {
226
+ "type": "object",
227
+ "properties": {
228
+ "name": {
229
+ "type": "string"
230
+ },
231
+ "source": {
232
+ "$ref": "util.json#/$defs/source"
233
+ },
234
+ "otherSources": {
235
+ "$ref": "util.json#/$defs/otherSources"
236
+ },
237
+ "referenceSources": {
238
+ "$ref": "util.json#/$defs/referenceSources"
239
+ },
240
+ "page": {
241
+ "$ref": "util.json#/$defs/page"
242
+ },
243
+ "reprintedAs": {
244
+ "$ref": "util.json#/$defs/reprintedAs"
245
+ },
246
+ "shapeTemplate": {
247
+ "type": "array",
248
+ "items": {
249
+ "$ref": "#/$defs/_shapeTemplateItem"
250
+ },
251
+ "minItems": 1,
252
+ "uniqueItems": true
253
+ },
254
+ "_copy": {
255
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
256
+ }
257
+ },
258
+ "additionalProperties": false,
259
+ "required": [
260
+ "_copy"
261
+ ]
262
+ }
263
+ ]
185
264
  }
186
265
  },
187
266
  "properties": {
@@ -1,42 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "fluff-charcreationoptions.json",
4
- "version": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "type": "object",
6
6
  "properties": {
7
+ "_meta": {
8
+ "$ref": "util.json#/$defs/metaBlock"
9
+ },
7
10
  "charoptionFluff": {
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
- "minItems": 1,
23
- "items": {
24
- "$ref": "entry.json#/$defs/entryImage"
25
- }
26
- },
27
- "entries": {
28
- "type": "array",
29
- "items": {
30
- "$ref": "entry.json"
31
- }
32
- }
33
- },
34
- "required": [
35
- "name",
36
- "source"
37
- ],
38
- "additionalProperties": false
39
- }
11
+ "$ref": "util.json#/$defs/genericFluffArray"
40
12
  }
41
13
  },
42
14
  "additionalProperties": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
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": {
@@ -298,6 +298,9 @@
298
298
  "uniqueItems": true
299
299
  }
300
300
  },
301
+ "propertyNames": {
302
+ "$ref": "util-copy.json#/$defs/copyableProps"
303
+ },
301
304
  "markdownDescription": "A map of "<data property>": ["<JsonSource1>", ..., "<JsonSourceN>"]. Entities from these sources can then be extended/referenced in this file.\n\nNote: when copying classes/subclasses/class features/subclass features, the array should consist of "<classIdentifier1>", ..., "<classIdentifierN>" items, where "classIdentifierN" matches the keys in "5etools/data/class/index.json" (when copying class/etc. homebrew, normal "source"-based linking applies)."
302
305
  },
303
306
  "includes": {
@@ -313,13 +316,16 @@
313
316
  "uniqueItems": true
314
317
  }
315
318
  },
319
+ "propertyNames": {
320
+ "$ref": "util-copy.json#/$defs/includesProps"
321
+ },
316
322
  "markdownDescription": "Structure as per "dependencies". Additional sources to be included when loading the file."
317
323
  },
318
324
  "internalCopies": {
319
325
  "description": "An array of keys that are copied from within the current document. e.g. \"item\", \"monsterFluff\", \"background\" etc.",
320
326
  "type": "array",
321
327
  "items": {
322
- "type": "string"
328
+ "$ref": "util-copy.json#/$defs/copyableProps"
323
329
  },
324
330
  "minItems": 1,
325
331
  "uniqueItems": true,
@@ -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.18",
4
+ "version": "1.7.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -25,6 +25,125 @@
25
25
  },
26
26
  "additionalProperties": false
27
27
  },
28
+ "copyBlock_copy_itemLookup": {
29
+ "type": "object",
30
+ "properties": {
31
+ "_mod": {
32
+ "$ref": "util-copy.json#/$defs/_modObject"
33
+ },
34
+ "_templates": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "object",
38
+ "properties": {
39
+ "name": {
40
+ "type": "string"
41
+ },
42
+ "source": {
43
+ "$ref": "util.json#/$defs/source"
44
+ }
45
+ },
46
+ "required": [
47
+ "name",
48
+ "source"
49
+ ],
50
+ "additionalProperties": false
51
+ },
52
+ "minItems": 1,
53
+ "uniqueItems": true
54
+ },
55
+ "_preserve": {
56
+ "type": "object",
57
+ "patternProperties": {
58
+ ".*": {
59
+ "const": true
60
+ }
61
+ }
62
+ },
63
+ "abbreviation": {
64
+ "type": "string"
65
+ },
66
+ "source": {
67
+ "$ref": "util.json#/$defs/source"
68
+ }
69
+ },
70
+ "additionalProperties": false,
71
+ "required": [
72
+ "abbreviation",
73
+ "source"
74
+ ]
75
+ },
76
+ "copyBlockItemLookup": {
77
+ "type": "object",
78
+ "properties": {
79
+ "_copy": {
80
+ "$ref": "#/$defs/copyBlock_copy_itemLookup"
81
+ }
82
+ },
83
+ "required": [
84
+ "_copy"
85
+ ]
86
+ },
87
+ "itemPropertyLookup_entries": {
88
+ "type": "object",
89
+ "properties": {
90
+ "abbreviation": {
91
+ "type": "string"
92
+ },
93
+ "source": {
94
+ "$ref": "util.json#/$defs/source"
95
+ },
96
+ "page": {
97
+ "$ref": "util.json#/$defs/page"
98
+ },
99
+ "reprintedAs": {
100
+ "$ref": "util.json#/$defs/reprintedAs"
101
+ },
102
+ "name": {
103
+ "type": "string"
104
+ },
105
+ "template": {
106
+ "type": "string"
107
+ },
108
+ "entries": {
109
+ "type": "array",
110
+ "items": {
111
+ "$ref": "entry.json"
112
+ }
113
+ }
114
+ },
115
+ "additionalProperties": false
116
+ },
117
+ "itemPropertyLookup_entriesTemplate": {
118
+ "type": "object",
119
+ "properties": {
120
+ "abbreviation": {
121
+ "type": "string"
122
+ },
123
+ "source": {
124
+ "$ref": "util.json#/$defs/source"
125
+ },
126
+ "page": {
127
+ "$ref": "util.json#/$defs/page"
128
+ },
129
+ "reprintedAs": {
130
+ "$ref": "util.json#/$defs/reprintedAs"
131
+ },
132
+ "name": {
133
+ "type": "string"
134
+ },
135
+ "template": {
136
+ "type": "string"
137
+ },
138
+ "entriesTemplate": {
139
+ "type": "array",
140
+ "items": {
141
+ "$ref": "entry.json"
142
+ }
143
+ }
144
+ },
145
+ "additionalProperties": false
146
+ },
28
147
  "itemPropertyLookup": {
29
148
  "anyOf": [
30
149
  {
@@ -61,6 +180,42 @@
61
180
  "source"
62
181
  ]
63
182
  },
183
+ {
184
+ "type": "object",
185
+ "properties": {
186
+ "abbreviation": {
187
+ "type": "string"
188
+ },
189
+ "source": {
190
+ "$ref": "util.json#/$defs/source"
191
+ },
192
+ "page": {
193
+ "$ref": "util.json#/$defs/page"
194
+ },
195
+ "reprintedAs": {
196
+ "$ref": "util.json#/$defs/reprintedAs"
197
+ },
198
+ "name": {
199
+ "type": "string"
200
+ },
201
+ "template": {
202
+ "type": "string"
203
+ },
204
+ "entries": {
205
+ "type": "array",
206
+ "items": {
207
+ "$ref": "entry.json"
208
+ }
209
+ },
210
+ "_copy": {
211
+ "$ref": "#/$defs/copyBlock_copy_itemLookup"
212
+ }
213
+ },
214
+ "additionalProperties": false,
215
+ "required": [
216
+ "_copy"
217
+ ]
218
+ },
64
219
  {
65
220
  "type": "object",
66
221
  "properties": {
@@ -94,6 +249,42 @@
94
249
  "abbreviation",
95
250
  "source"
96
251
  ]
252
+ },
253
+ {
254
+ "type": "object",
255
+ "properties": {
256
+ "abbreviation": {
257
+ "type": "string"
258
+ },
259
+ "source": {
260
+ "$ref": "util.json#/$defs/source"
261
+ },
262
+ "page": {
263
+ "$ref": "util.json#/$defs/page"
264
+ },
265
+ "reprintedAs": {
266
+ "$ref": "util.json#/$defs/reprintedAs"
267
+ },
268
+ "name": {
269
+ "type": "string"
270
+ },
271
+ "template": {
272
+ "type": "string"
273
+ },
274
+ "entriesTemplate": {
275
+ "type": "array",
276
+ "items": {
277
+ "$ref": "entry.json"
278
+ }
279
+ },
280
+ "_copy": {
281
+ "$ref": "#/$defs/copyBlock_copy_itemLookup"
282
+ }
283
+ },
284
+ "additionalProperties": false,
285
+ "required": [
286
+ "_copy"
287
+ ]
97
288
  }
98
289
  ]
99
290
  },
@@ -1545,6 +1736,93 @@
1545
1736
  ]
1546
1737
  }
1547
1738
  ]
1739
+ },
1740
+ "itemMasteryData": {
1741
+ "type": "object",
1742
+ "properties": {
1743
+ "name": {
1744
+ "type": "string"
1745
+ },
1746
+ "source": {
1747
+ "$ref": "util.json#/$defs/source"
1748
+ },
1749
+ "page": {
1750
+ "$ref": "util.json#/$defs/page"
1751
+ },
1752
+ "prerequisite": {
1753
+ "$ref": "util.json#/$defs/prerequisite"
1754
+ },
1755
+ "entries": {
1756
+ "type": "array",
1757
+ "items": {
1758
+ "$ref": "entry.json"
1759
+ }
1760
+ }
1761
+ },
1762
+ "additionalProperties": false
1763
+ },
1764
+ "itemMastery": {
1765
+ "anyOf": [
1766
+ {
1767
+ "type": "object",
1768
+ "properties": {
1769
+ "name": {
1770
+ "type": "string"
1771
+ },
1772
+ "source": {
1773
+ "$ref": "util.json#/$defs/source"
1774
+ },
1775
+ "page": {
1776
+ "$ref": "util.json#/$defs/page"
1777
+ },
1778
+ "prerequisite": {
1779
+ "$ref": "util.json#/$defs/prerequisite"
1780
+ },
1781
+ "entries": {
1782
+ "type": "array",
1783
+ "items": {
1784
+ "$ref": "entry.json"
1785
+ }
1786
+ }
1787
+ },
1788
+ "additionalProperties": false,
1789
+ "required": [
1790
+ "name",
1791
+ "source",
1792
+ "entries"
1793
+ ]
1794
+ },
1795
+ {
1796
+ "type": "object",
1797
+ "properties": {
1798
+ "name": {
1799
+ "type": "string"
1800
+ },
1801
+ "source": {
1802
+ "$ref": "util.json#/$defs/source"
1803
+ },
1804
+ "page": {
1805
+ "$ref": "util.json#/$defs/page"
1806
+ },
1807
+ "prerequisite": {
1808
+ "$ref": "util.json#/$defs/prerequisite"
1809
+ },
1810
+ "entries": {
1811
+ "type": "array",
1812
+ "items": {
1813
+ "$ref": "entry.json"
1814
+ }
1815
+ },
1816
+ "_copy": {
1817
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
1818
+ }
1819
+ },
1820
+ "additionalProperties": false,
1821
+ "required": [
1822
+ "_copy"
1823
+ ]
1824
+ }
1825
+ ]
1548
1826
  }
1549
1827
  },
1550
1828
  "properties": {
@@ -1578,6 +1856,7 @@
1578
1856
  "itemEntry": {
1579
1857
  "type": "array",
1580
1858
  "minItems": 1,
1859
+ "uniqueItems": true,
1581
1860
  "items": {
1582
1861
  "type": "object",
1583
1862
  "properties": {
@@ -1599,6 +1878,7 @@
1599
1878
  "itemTypeAdditionalEntries": {
1600
1879
  "type": "array",
1601
1880
  "minItems": 1,
1881
+ "uniqueItems": true,
1602
1882
  "items": {
1603
1883
  "type": "object",
1604
1884
  "properties": {
@@ -1624,36 +1904,18 @@
1624
1904
  "itemMastery": {
1625
1905
  "type": "array",
1626
1906
  "minItems": 1,
1907
+ "uniqueItems": true,
1627
1908
  "items": {
1628
- "type": "object",
1629
- "properties": {
1630
- "name": {
1631
- "type": "string"
1632
- },
1633
- "source": {
1634
- "$ref": "util.json#/$defs/source"
1635
- },
1636
- "page": {
1637
- "$ref": "util.json#/$defs/page"
1638
- },
1639
- "prerequisite": {
1640
- "$ref": "util.json#/$defs/prerequisite"
1641
- },
1642
- "entries": {
1643
- "type": "array",
1644
- "items": {
1645
- "$ref": "entry.json"
1646
- }
1647
- }
1648
- },
1649
- "required": [
1650
- "name",
1651
- "source",
1652
- "entries"
1653
- ],
1654
- "additionalProperties": false
1909
+ "$ref": "#/$defs/itemMastery"
1655
1910
  }
1656
1911
  }
1657
1912
  },
1913
+ "required": [
1914
+ "baseitem",
1915
+ "itemProperty",
1916
+ "itemType",
1917
+ "itemEntry",
1918
+ "itemTypeAdditionalEntries"
1919
+ ],
1658
1920
  "additionalProperties": false
1659
1921
  }