5etools-utils 0.15.16 → 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 (121) 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/entry.json +2 -2
  6. package/schema/brew/fluff-charcreationoptions.json +5 -33
  7. package/schema/brew/homebrew.json +8 -2
  8. package/schema/brew/items-base.json +290 -28
  9. package/schema/brew/languages.json +195 -6
  10. package/schema/brew/objects.json +389 -9
  11. package/schema/brew/psionics.json +356 -7
  12. package/schema/brew/rewards.json +207 -8
  13. package/schema/brew/senses.json +68 -7
  14. package/schema/brew/skills.json +74 -7
  15. package/schema/brew/tables.json +676 -94
  16. package/schema/brew/trapshazards.json +571 -14
  17. package/schema/brew/util-additionalspells.json +4 -1
  18. package/schema/brew/util-copy.json +143 -1
  19. package/schema/brew/util.json +26 -3
  20. package/schema/brew/variantrules.json +151 -22
  21. package/schema/brew/vehicles.json +6672 -61
  22. package/schema/brew-fast/charcreationoptions.json +162 -8
  23. package/schema/brew-fast/cultsboons.json +399 -14
  24. package/schema/brew-fast/encounterbuilder.json +81 -2
  25. package/schema/brew-fast/entry.json +2 -2
  26. package/schema/brew-fast/fluff-charcreationoptions.json +5 -33
  27. package/schema/brew-fast/homebrew.json +8 -2
  28. package/schema/brew-fast/items-base.json +290 -28
  29. package/schema/brew-fast/languages.json +195 -6
  30. package/schema/brew-fast/objects.json +389 -9
  31. package/schema/brew-fast/psionics.json +356 -7
  32. package/schema/brew-fast/rewards.json +207 -8
  33. package/schema/brew-fast/senses.json +68 -7
  34. package/schema/brew-fast/skills.json +74 -7
  35. package/schema/brew-fast/tables.json +676 -94
  36. package/schema/brew-fast/trapshazards.json +571 -14
  37. package/schema/brew-fast/util-additionalspells.json +4 -1
  38. package/schema/brew-fast/util-copy.json +143 -1
  39. package/schema/brew-fast/util.json +26 -3
  40. package/schema/brew-fast/variantrules.json +151 -22
  41. package/schema/brew-fast/vehicles.json +6672 -61
  42. package/schema/site/charcreationoptions.json +134 -8
  43. package/schema/site/cultsboons.json +315 -14
  44. package/schema/site/encounterbuilder.json +81 -2
  45. package/schema/site/entry.json +2 -2
  46. package/schema/site/fluff-charcreationoptions.json +5 -33
  47. package/schema/site/homebrew.json +8 -2
  48. package/schema/site/items-base.json +374 -40
  49. package/schema/site/languages.json +197 -6
  50. package/schema/site/objects.json +361 -9
  51. package/schema/site/psionics.json +314 -7
  52. package/schema/site/rewards.json +165 -8
  53. package/schema/site/senses.json +92 -7
  54. package/schema/site/skills.json +98 -7
  55. package/schema/site/tables.json +600 -87
  56. package/schema/site/trapshazards.json +555 -14
  57. package/schema/site/util-additionalspells.json +4 -1
  58. package/schema/site/util-copy.json +143 -1
  59. package/schema/site/util.json +26 -3
  60. package/schema/site/variantrules.json +161 -22
  61. package/schema/site/vehicles.json +6446 -86
  62. package/schema/site-fast/charcreationoptions.json +134 -8
  63. package/schema/site-fast/cultsboons.json +315 -14
  64. package/schema/site-fast/encounterbuilder.json +81 -2
  65. package/schema/site-fast/entry.json +2 -2
  66. package/schema/site-fast/fluff-charcreationoptions.json +5 -33
  67. package/schema/site-fast/homebrew.json +8 -2
  68. package/schema/site-fast/items-base.json +374 -40
  69. package/schema/site-fast/languages.json +197 -6
  70. package/schema/site-fast/objects.json +361 -9
  71. package/schema/site-fast/psionics.json +314 -7
  72. package/schema/site-fast/rewards.json +165 -8
  73. package/schema/site-fast/senses.json +92 -7
  74. package/schema/site-fast/skills.json +98 -7
  75. package/schema/site-fast/tables.json +600 -87
  76. package/schema/site-fast/trapshazards.json +555 -14
  77. package/schema/site-fast/util-additionalspells.json +4 -1
  78. package/schema/site-fast/util-copy.json +143 -1
  79. package/schema/site-fast/util.json +26 -3
  80. package/schema/site-fast/variantrules.json +161 -22
  81. package/schema/site-fast/vehicles.json +6446 -86
  82. package/schema/ua/charcreationoptions.json +110 -8
  83. package/schema/ua/cultsboons.json +315 -14
  84. package/schema/ua/encounterbuilder.json +81 -2
  85. package/schema/ua/entry.json +2 -2
  86. package/schema/ua/fluff-charcreationoptions.json +5 -33
  87. package/schema/ua/homebrew.json +8 -2
  88. package/schema/ua/items-base.json +290 -28
  89. package/schema/ua/languages.json +173 -6
  90. package/schema/ua/objects.json +367 -9
  91. package/schema/ua/psionics.json +314 -7
  92. package/schema/ua/rewards.json +165 -8
  93. package/schema/ua/senses.json +68 -7
  94. package/schema/ua/skills.json +74 -7
  95. package/schema/ua/tables.json +564 -87
  96. package/schema/ua/trapshazards.json +483 -14
  97. package/schema/ua/util-additionalspells.json +4 -1
  98. package/schema/ua/util-copy.json +143 -1
  99. package/schema/ua/util.json +26 -3
  100. package/schema/ua/variantrules.json +139 -22
  101. package/schema/ua/vehicles.json +6574 -76
  102. package/schema/ua-fast/charcreationoptions.json +110 -8
  103. package/schema/ua-fast/cultsboons.json +315 -14
  104. package/schema/ua-fast/encounterbuilder.json +81 -2
  105. package/schema/ua-fast/entry.json +2 -2
  106. package/schema/ua-fast/fluff-charcreationoptions.json +5 -33
  107. package/schema/ua-fast/homebrew.json +8 -2
  108. package/schema/ua-fast/items-base.json +290 -28
  109. package/schema/ua-fast/languages.json +173 -6
  110. package/schema/ua-fast/objects.json +367 -9
  111. package/schema/ua-fast/psionics.json +314 -7
  112. package/schema/ua-fast/rewards.json +165 -8
  113. package/schema/ua-fast/senses.json +68 -7
  114. package/schema/ua-fast/skills.json +74 -7
  115. package/schema/ua-fast/tables.json +564 -87
  116. package/schema/ua-fast/trapshazards.json +483 -14
  117. package/schema/ua-fast/util-additionalspells.json +4 -1
  118. package/schema/ua-fast/util-copy.json +143 -1
  119. package/schema/ua-fast/util.json +26 -3
  120. package/schema/ua-fast/variantrules.json +139 -22
  121. package/schema/ua-fast/vehicles.json +6574 -76
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.11",
5
+ "version": "1.1.0",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -1160,6 +1160,148 @@
1160
1160
  "const": true
1161
1161
  }
1162
1162
  }
1163
+ },
1164
+ "copyableProps": {
1165
+ "type": "string",
1166
+ "description": "This is the list of props for which there is a `_copy` implementation. `_copy` may not be declared for props other than these.",
1167
+ "enum": [
1168
+ "monster",
1169
+ "monsterFluff",
1170
+ "legendaryGroup",
1171
+ "class",
1172
+ "classFluff",
1173
+ "subclass",
1174
+ "subclassFluff",
1175
+ "classFeature",
1176
+ "subclassFeature",
1177
+ "spell",
1178
+ "spellFluff",
1179
+ "action",
1180
+ "item",
1181
+ "itemGroup",
1182
+ "baseitem",
1183
+ "itemProperty",
1184
+ "itemType",
1185
+ "itemMastery",
1186
+ "magicvariant",
1187
+ "itemFluff",
1188
+ "background",
1189
+ "backgroundFluff",
1190
+ "charoption",
1191
+ "charoptionFluff",
1192
+ "condition",
1193
+ "conditionFluff",
1194
+ "disease",
1195
+ "diseaseFluff",
1196
+ "status",
1197
+ "statusFluff",
1198
+ "cult",
1199
+ "boon",
1200
+ "deity",
1201
+ "feat",
1202
+ "featFluff",
1203
+ "language",
1204
+ "languageFluff",
1205
+ "object",
1206
+ "objectFluff",
1207
+ "optionalfeature",
1208
+ "optionalfeatureFluff",
1209
+ "psionic",
1210
+ "race",
1211
+ "subrace",
1212
+ "raceFluff",
1213
+ "reward",
1214
+ "recipe",
1215
+ "recipeFluff",
1216
+ "rewardFluff",
1217
+ "table",
1218
+ "trap",
1219
+ "trapFluff",
1220
+ "hazard",
1221
+ "hazardFluff",
1222
+ "variantrule",
1223
+ "vehicle",
1224
+ "vehicleUpgrade",
1225
+ "vehicleFluff",
1226
+ "skill",
1227
+ "sense",
1228
+ "deck",
1229
+ "card",
1230
+ "facility",
1231
+ "facilityFluff",
1232
+ "encounterShape"
1233
+ ],
1234
+ "markdownDescription": "This is the list of props for which there is a _copy implementation. _copy may not be declared for props other than these."
1235
+ },
1236
+ "_non-copyableProps": {
1237
+ "type": "string",
1238
+ "description": "This is the list of props for which there is no `_copy` implementation. `includes` may be declared for these as well as for copyableProps.",
1239
+ "enum": [
1240
+ "adventure",
1241
+ "adventureData",
1242
+ "adventure",
1243
+ "adventureData",
1244
+ "foundryMonster",
1245
+ "foundryMonsterAction",
1246
+ "foundryMonsterBonus",
1247
+ "foundryMonsterReaction",
1248
+ "foundryMonsterTrait",
1249
+ "foundryMonsterLegendary",
1250
+ "foundryMonsterMythic",
1251
+ "book",
1252
+ "bookData",
1253
+ "foundryClass",
1254
+ "foundrySubclass",
1255
+ "foundryClassFeature",
1256
+ "foundrySubclassFeature",
1257
+ "roll20Spell",
1258
+ "foundrySpell",
1259
+ "foundryAction",
1260
+ "foundryItem",
1261
+ "foundryMagicvariant",
1262
+ "foundryBaseitem",
1263
+ "itemEntry",
1264
+ "itemTypeAdditionalEntries",
1265
+ "linkedLootTables",
1266
+ "foundryBackgroundFeature",
1267
+ "encounter",
1268
+ "foundryFeat",
1269
+ "makebrewCreatureTrait",
1270
+ "makebrewCreatureAction",
1271
+ "reducedItemProperty",
1272
+ "reducedItemType",
1273
+ "monsterfeatures",
1274
+ "name",
1275
+ "foundryOptionalfeature",
1276
+ "foundryPsionicDisciplineFocus",
1277
+ "foundryPsionicDisciplineActive",
1278
+ "foundryRace",
1279
+ "foundryRaceFeature",
1280
+ "raceFluffMeta",
1281
+ "foundryReward",
1282
+ "foundryVehicleUpgrade",
1283
+ "spellList",
1284
+ "citation"
1285
+ ],
1286
+ "markdownDescription": "This is the list of props for which there is no _copy implementation. includes may be declared for these as well as for copyableProps."
1287
+ },
1288
+ "includesProps": {
1289
+ "anyOf": [
1290
+ {
1291
+ "$ref": "#/$defs/copyableProps"
1292
+ },
1293
+ {
1294
+ "$ref": "#/$defs/_non-copyableProps"
1295
+ },
1296
+ {
1297
+ "type": "string",
1298
+ "description": "\"Wildcard\" property, which will load all content from a given source. Where possible, narrower properties (those above) should be used instead.\n\n\"*\" is primarily intended for use when hosting locally, to allow for the creation a compact file containing only a `_meta` with an `includes.*` array of all homebrew sources to be loaded.",
1299
+ "enum": [
1300
+ "*"
1301
+ ],
1302
+ "markdownDescription": ""Wildcard" property, which will load all content from a given source. Where possible, narrower properties (those above) should be used instead.\n\n"*" is primarily intended for use when hosting locally, to allow for the creation a compact file containing only a _meta with an includes.* array of all homebrew sources to be loaded."
1303
+ }
1304
+ ]
1163
1305
  }
1164
1306
  }
1165
1307
  }
@@ -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.18.0",
6
+ "version": "1.18.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1987,7 +1987,28 @@
1987
1987
  "featCategory": {
1988
1988
  "type": "array",
1989
1989
  "items": {
1990
- "$ref": "#/$defs/dataFeatCategory"
1990
+ "oneOf": [
1991
+ {
1992
+ "$ref": "#/$defs/dataFeatCategory"
1993
+ },
1994
+ {
1995
+ "type": "object",
1996
+ "properties": {
1997
+ "category": {
1998
+ "$ref": "#/$defs/dataFeatCategory"
1999
+ },
2000
+ "count": {
2001
+ "type": "integer",
2002
+ "minimum": 2
2003
+ }
2004
+ },
2005
+ "required": [
2006
+ "category",
2007
+ "count"
2008
+ ],
2009
+ "additionalProperties": false
2010
+ }
2011
+ ]
1991
2012
  },
1992
2013
  "uniqueItems": true,
1993
2014
  "minItems": 1
@@ -2312,6 +2333,7 @@
2312
2333
  },
2313
2334
  "creatureType": {
2314
2335
  "type": "string",
2336
+ "$comment": "\"vehicle\" added via _Explorer's Guide to Wildemount_, p325",
2315
2337
  "enum": [
2316
2338
  "aberration",
2317
2339
  "beast",
@@ -2326,7 +2348,8 @@
2326
2348
  "monstrosity",
2327
2349
  "ooze",
2328
2350
  "plant",
2329
- "undead"
2351
+ "undead",
2352
+ "vehicle"
2330
2353
  ]
2331
2354
  },
2332
2355
  "alignment": {
@@ -1,25 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "variantrules.json",
4
- "version": "1.1.15",
4
+ "version": "1.2.0",
5
5
  "title": "RulesArray",
6
6
  "type": "object",
7
- "properties": {
8
- "variantrule": {
9
- "type": "array",
10
- "minItems": 1,
11
- "uniqueItems": true,
12
- "items": {
13
- "$ref": "#/$defs/variantrule"
14
- }
15
- }
16
- },
17
- "additionalProperties": false,
18
- "required": [
19
- "variantrule"
20
- ],
21
7
  "$defs": {
22
- "variantrule": {
8
+ "variantruleData": {
23
9
  "type": "object",
24
10
  "properties": {
25
11
  "name": {
@@ -80,12 +66,165 @@
80
66
  "$ref": "util.json#/$defs/basicRules"
81
67
  }
82
68
  },
83
- "required": [
84
- "name",
85
- "entries",
86
- "source"
87
- ],
88
69
  "additionalProperties": false
70
+ },
71
+ "variantrule": {
72
+ "anyOf": [
73
+ {
74
+ "type": "object",
75
+ "properties": {
76
+ "name": {
77
+ "type": "string"
78
+ },
79
+ "type": {
80
+ "type": "string"
81
+ },
82
+ "entries": {
83
+ "type": "array",
84
+ "items": {
85
+ "$ref": "entry.json"
86
+ }
87
+ },
88
+ "source": {
89
+ "$ref": "util.json#/$defs/source"
90
+ },
91
+ "page": {
92
+ "$ref": "util.json#/$defs/page"
93
+ },
94
+ "ruleType": {
95
+ "description": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant",
96
+ "type": "string",
97
+ "enum": [
98
+ "C",
99
+ "O",
100
+ "V",
101
+ "VO",
102
+ "VV"
103
+ ],
104
+ "markdownDescription": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant"
105
+ },
106
+ "legacy": {
107
+ "$ref": "util.json#/$defs/legacy"
108
+ },
109
+ "additionalSources": {
110
+ "$ref": "util.json#/$defs/additionalSources"
111
+ },
112
+ "otherSources": {
113
+ "$ref": "util.json#/$defs/otherSources"
114
+ },
115
+ "referenceSources": {
116
+ "$ref": "util.json#/$defs/referenceSources"
117
+ },
118
+ "reprintedAs": {
119
+ "$ref": "util.json#/$defs/reprintedAs"
120
+ },
121
+ "srd": {
122
+ "$ref": "util.json#/$defs/srd"
123
+ },
124
+ "srd52": {
125
+ "$ref": "util.json#/$defs/srd"
126
+ },
127
+ "basicRules": {
128
+ "$ref": "util.json#/$defs/basicRules"
129
+ },
130
+ "basicRules2024": {
131
+ "$ref": "util.json#/$defs/basicRules"
132
+ }
133
+ },
134
+ "additionalProperties": false,
135
+ "required": [
136
+ "name",
137
+ "source",
138
+ "entries"
139
+ ]
140
+ },
141
+ {
142
+ "type": "object",
143
+ "properties": {
144
+ "name": {
145
+ "type": "string"
146
+ },
147
+ "type": {
148
+ "type": "string"
149
+ },
150
+ "entries": {
151
+ "type": "array",
152
+ "items": {
153
+ "$ref": "entry.json"
154
+ }
155
+ },
156
+ "source": {
157
+ "$ref": "util.json#/$defs/source"
158
+ },
159
+ "page": {
160
+ "$ref": "util.json#/$defs/page"
161
+ },
162
+ "ruleType": {
163
+ "description": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant",
164
+ "type": "string",
165
+ "enum": [
166
+ "C",
167
+ "O",
168
+ "V",
169
+ "VO",
170
+ "VV"
171
+ ],
172
+ "markdownDescription": "- C: Core\n- O: Optional\n- P: Prerelease\n- V: Variant\n- VO: Variant Optional\n- VV: Variant Variant"
173
+ },
174
+ "legacy": {
175
+ "$ref": "util.json#/$defs/legacy"
176
+ },
177
+ "additionalSources": {
178
+ "$ref": "util.json#/$defs/additionalSources"
179
+ },
180
+ "otherSources": {
181
+ "$ref": "util.json#/$defs/otherSources"
182
+ },
183
+ "referenceSources": {
184
+ "$ref": "util.json#/$defs/referenceSources"
185
+ },
186
+ "reprintedAs": {
187
+ "$ref": "util.json#/$defs/reprintedAs"
188
+ },
189
+ "srd": {
190
+ "$ref": "util.json#/$defs/srd"
191
+ },
192
+ "srd52": {
193
+ "$ref": "util.json#/$defs/srd"
194
+ },
195
+ "basicRules": {
196
+ "$ref": "util.json#/$defs/basicRules"
197
+ },
198
+ "basicRules2024": {
199
+ "$ref": "util.json#/$defs/basicRules"
200
+ },
201
+ "_copy": {
202
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
203
+ }
204
+ },
205
+ "additionalProperties": false,
206
+ "required": [
207
+ "_copy"
208
+ ]
209
+ }
210
+ ]
89
211
  }
90
- }
212
+ },
213
+ "properties": {
214
+ "_meta": {
215
+ "$ref": "util.json#/$defs/metaBlock"
216
+ },
217
+ "variantrule": {
218
+ "type": "array",
219
+ "minItems": 1,
220
+ "uniqueItems": true,
221
+ "items": {
222
+ "$ref": "#/$defs/variantrule"
223
+ }
224
+ }
225
+ },
226
+ "required": [
227
+ "variantrule"
228
+ ],
229
+ "additionalProperties": false
91
230
  }