5etools-utils 0.15.17 → 0.16.0

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 (126) hide show
  1. package/README.md +13 -13
  2. package/bin/clean-html.js +0 -0
  3. package/bin/lint-js-changed.js +17 -0
  4. package/bin/test-edition-sources.js +0 -0
  5. package/bin/test-file-contents.js +0 -0
  6. package/bin/test-file-locations.js +0 -0
  7. package/bin/test-file-names.js +0 -0
  8. package/bin/test-file-props.js +0 -0
  9. package/bin/test-img-file-extensions.js +0 -0
  10. package/bin/test-img-file-sizes.js +0 -0
  11. package/bin/test-img-source-names-brew.js +0 -0
  12. package/bin/test-img-source-names-ua.js +0 -0
  13. package/bin/test-json-brew.js +0 -0
  14. package/bin/test-json-ua.js +0 -0
  15. package/lib/Lint/LintJsChanged.js +33 -0
  16. package/lib/UtilGit.js +39 -0
  17. package/lib/eslint/eslint-plugin-jquery.js +49 -0
  18. package/package.json +16 -6
  19. package/schema/brew/charcreationoptions.json +162 -8
  20. package/schema/brew/cultsboons.json +399 -14
  21. package/schema/brew/encounterbuilder.json +81 -2
  22. package/schema/brew/fluff-charcreationoptions.json +5 -33
  23. package/schema/brew/homebrew.json +8 -2
  24. package/schema/brew/items-base.json +290 -28
  25. package/schema/brew/languages.json +195 -6
  26. package/schema/brew/objects.json +389 -9
  27. package/schema/brew/psionics.json +356 -7
  28. package/schema/brew/rewards.json +207 -8
  29. package/schema/brew/senses.json +68 -7
  30. package/schema/brew/skills.json +74 -7
  31. package/schema/brew/tables.json +676 -94
  32. package/schema/brew/trapshazards.json +571 -14
  33. package/schema/brew/util-copy.json +143 -1
  34. package/schema/brew/util.json +4 -2
  35. package/schema/brew/variantrules.json +151 -22
  36. package/schema/brew/vehicles.json +6672 -61
  37. package/schema/brew-fast/charcreationoptions.json +162 -8
  38. package/schema/brew-fast/cultsboons.json +399 -14
  39. package/schema/brew-fast/encounterbuilder.json +81 -2
  40. package/schema/brew-fast/fluff-charcreationoptions.json +5 -33
  41. package/schema/brew-fast/homebrew.json +8 -2
  42. package/schema/brew-fast/items-base.json +290 -28
  43. package/schema/brew-fast/languages.json +195 -6
  44. package/schema/brew-fast/objects.json +389 -9
  45. package/schema/brew-fast/psionics.json +356 -7
  46. package/schema/brew-fast/rewards.json +207 -8
  47. package/schema/brew-fast/senses.json +68 -7
  48. package/schema/brew-fast/skills.json +74 -7
  49. package/schema/brew-fast/tables.json +676 -94
  50. package/schema/brew-fast/trapshazards.json +571 -14
  51. package/schema/brew-fast/util-copy.json +143 -1
  52. package/schema/brew-fast/util.json +4 -2
  53. package/schema/brew-fast/variantrules.json +151 -22
  54. package/schema/brew-fast/vehicles.json +6672 -61
  55. package/schema/site/charcreationoptions.json +134 -8
  56. package/schema/site/cultsboons.json +315 -14
  57. package/schema/site/encounterbuilder.json +81 -2
  58. package/schema/site/fluff-charcreationoptions.json +5 -33
  59. package/schema/site/homebrew.json +8 -2
  60. package/schema/site/items-base.json +374 -40
  61. package/schema/site/languages.json +197 -6
  62. package/schema/site/objects.json +361 -9
  63. package/schema/site/psionics.json +314 -7
  64. package/schema/site/rewards.json +165 -8
  65. package/schema/site/senses.json +92 -7
  66. package/schema/site/skills.json +98 -7
  67. package/schema/site/tables.json +600 -87
  68. package/schema/site/trapshazards.json +555 -14
  69. package/schema/site/util-copy.json +143 -1
  70. package/schema/site/util.json +4 -2
  71. package/schema/site/variantrules.json +161 -22
  72. package/schema/site/vehicles.json +6446 -86
  73. package/schema/site-fast/charcreationoptions.json +134 -8
  74. package/schema/site-fast/cultsboons.json +315 -14
  75. package/schema/site-fast/encounterbuilder.json +81 -2
  76. package/schema/site-fast/fluff-charcreationoptions.json +5 -33
  77. package/schema/site-fast/homebrew.json +8 -2
  78. package/schema/site-fast/items-base.json +374 -40
  79. package/schema/site-fast/languages.json +197 -6
  80. package/schema/site-fast/objects.json +361 -9
  81. package/schema/site-fast/psionics.json +314 -7
  82. package/schema/site-fast/rewards.json +165 -8
  83. package/schema/site-fast/senses.json +92 -7
  84. package/schema/site-fast/skills.json +98 -7
  85. package/schema/site-fast/tables.json +600 -87
  86. package/schema/site-fast/trapshazards.json +555 -14
  87. package/schema/site-fast/util-copy.json +143 -1
  88. package/schema/site-fast/util.json +4 -2
  89. package/schema/site-fast/variantrules.json +161 -22
  90. package/schema/site-fast/vehicles.json +6446 -86
  91. package/schema/ua/charcreationoptions.json +110 -8
  92. package/schema/ua/cultsboons.json +315 -14
  93. package/schema/ua/encounterbuilder.json +81 -2
  94. package/schema/ua/fluff-charcreationoptions.json +5 -33
  95. package/schema/ua/homebrew.json +8 -2
  96. package/schema/ua/items-base.json +290 -28
  97. package/schema/ua/languages.json +173 -6
  98. package/schema/ua/objects.json +367 -9
  99. package/schema/ua/psionics.json +314 -7
  100. package/schema/ua/rewards.json +165 -8
  101. package/schema/ua/senses.json +68 -7
  102. package/schema/ua/skills.json +74 -7
  103. package/schema/ua/tables.json +564 -87
  104. package/schema/ua/trapshazards.json +483 -14
  105. package/schema/ua/util-copy.json +143 -1
  106. package/schema/ua/util.json +4 -2
  107. package/schema/ua/variantrules.json +139 -22
  108. package/schema/ua/vehicles.json +6574 -76
  109. package/schema/ua-fast/charcreationoptions.json +110 -8
  110. package/schema/ua-fast/cultsboons.json +315 -14
  111. package/schema/ua-fast/encounterbuilder.json +81 -2
  112. package/schema/ua-fast/fluff-charcreationoptions.json +5 -33
  113. package/schema/ua-fast/homebrew.json +8 -2
  114. package/schema/ua-fast/items-base.json +290 -28
  115. package/schema/ua-fast/languages.json +173 -6
  116. package/schema/ua-fast/objects.json +367 -9
  117. package/schema/ua-fast/psionics.json +314 -7
  118. package/schema/ua-fast/rewards.json +165 -8
  119. package/schema/ua-fast/senses.json +68 -7
  120. package/schema/ua-fast/skills.json +74 -7
  121. package/schema/ua-fast/tables.json +564 -87
  122. package/schema/ua-fast/trapshazards.json +483 -14
  123. package/schema/ua-fast/util-copy.json +143 -1
  124. package/schema/ua-fast/util.json +4 -2
  125. package/schema/ua-fast/variantrules.json +139 -22
  126. package/schema/ua-fast/vehicles.json +6574 -76
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "cultsboons.json",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
- "cult": {
7
+ "cultData": {
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "name": {
@@ -101,14 +101,222 @@
101
101
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
102
102
  }
103
103
  },
104
- "required": [
105
- "name",
106
- "source",
107
- "entries"
108
- ],
109
104
  "additionalProperties": false
110
105
  },
111
- "boon": {
106
+ "cult": {
107
+ "anyOf": [
108
+ {
109
+ "type": "object",
110
+ "properties": {
111
+ "name": {
112
+ "type": "string"
113
+ },
114
+ "source": {
115
+ "$ref": "util.json#/$defs/source"
116
+ },
117
+ "page": {
118
+ "$ref": "util.json#/$defs/page"
119
+ },
120
+ "otherSources": {
121
+ "$ref": "util.json#/$defs/otherSources"
122
+ },
123
+ "referenceSources": {
124
+ "$ref": "util.json#/$defs/referenceSources"
125
+ },
126
+ "reprintedAs": {
127
+ "$ref": "util.json#/$defs/reprintedAs"
128
+ },
129
+ "legacy": {
130
+ "$ref": "util.json#/$defs/legacy"
131
+ },
132
+ "type": {
133
+ "type": "string",
134
+ "examples": [
135
+ "Demonic",
136
+ "Diabolical",
137
+ "Elder Evil",
138
+ "Elemental"
139
+ ]
140
+ },
141
+ "goal": {
142
+ "type": "object",
143
+ "properties": {
144
+ "entry": {
145
+ "type": "string"
146
+ }
147
+ },
148
+ "required": [
149
+ "entry"
150
+ ],
151
+ "additionalProperties": false
152
+ },
153
+ "cultists": {
154
+ "type": "object",
155
+ "properties": {
156
+ "entry": {
157
+ "type": "string"
158
+ }
159
+ },
160
+ "required": [
161
+ "entry"
162
+ ],
163
+ "additionalProperties": false
164
+ },
165
+ "signatureSpells": {
166
+ "type": "object",
167
+ "properties": {
168
+ "entry": {
169
+ "type": "string"
170
+ }
171
+ },
172
+ "required": [
173
+ "entry"
174
+ ],
175
+ "additionalProperties": false
176
+ },
177
+ "entries": {
178
+ "type": "array",
179
+ "items": {
180
+ "$ref": "entry.json"
181
+ }
182
+ },
183
+ "foundrySystem": {
184
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
185
+ },
186
+ "foundryActivities": {
187
+ "$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
188
+ },
189
+ "foundryFlags": {
190
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
191
+ },
192
+ "foundryEffects": {
193
+ "$ref": "util-foundry.json#/$defs/foundryEffectsArray"
194
+ },
195
+ "foundryImg": {
196
+ "$ref": "util-foundry.json#/$defs/foundryImg"
197
+ },
198
+ "foundryAdvice": {
199
+ "$ref": "entry.json"
200
+ },
201
+ "_foundryMerge": {
202
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
203
+ }
204
+ },
205
+ "additionalProperties": false,
206
+ "required": [
207
+ "name",
208
+ "source",
209
+ "entries"
210
+ ]
211
+ },
212
+ {
213
+ "type": "object",
214
+ "properties": {
215
+ "name": {
216
+ "type": "string"
217
+ },
218
+ "source": {
219
+ "$ref": "util.json#/$defs/source"
220
+ },
221
+ "page": {
222
+ "$ref": "util.json#/$defs/page"
223
+ },
224
+ "otherSources": {
225
+ "$ref": "util.json#/$defs/otherSources"
226
+ },
227
+ "referenceSources": {
228
+ "$ref": "util.json#/$defs/referenceSources"
229
+ },
230
+ "reprintedAs": {
231
+ "$ref": "util.json#/$defs/reprintedAs"
232
+ },
233
+ "legacy": {
234
+ "$ref": "util.json#/$defs/legacy"
235
+ },
236
+ "type": {
237
+ "type": "string",
238
+ "examples": [
239
+ "Demonic",
240
+ "Diabolical",
241
+ "Elder Evil",
242
+ "Elemental"
243
+ ]
244
+ },
245
+ "goal": {
246
+ "type": "object",
247
+ "properties": {
248
+ "entry": {
249
+ "type": "string"
250
+ }
251
+ },
252
+ "required": [
253
+ "entry"
254
+ ],
255
+ "additionalProperties": false
256
+ },
257
+ "cultists": {
258
+ "type": "object",
259
+ "properties": {
260
+ "entry": {
261
+ "type": "string"
262
+ }
263
+ },
264
+ "required": [
265
+ "entry"
266
+ ],
267
+ "additionalProperties": false
268
+ },
269
+ "signatureSpells": {
270
+ "type": "object",
271
+ "properties": {
272
+ "entry": {
273
+ "type": "string"
274
+ }
275
+ },
276
+ "required": [
277
+ "entry"
278
+ ],
279
+ "additionalProperties": false
280
+ },
281
+ "entries": {
282
+ "type": "array",
283
+ "items": {
284
+ "$ref": "entry.json"
285
+ }
286
+ },
287
+ "foundrySystem": {
288
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
289
+ },
290
+ "foundryActivities": {
291
+ "$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
292
+ },
293
+ "foundryFlags": {
294
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
295
+ },
296
+ "foundryEffects": {
297
+ "$ref": "util-foundry.json#/$defs/foundryEffectsArray"
298
+ },
299
+ "foundryImg": {
300
+ "$ref": "util-foundry.json#/$defs/foundryImg"
301
+ },
302
+ "foundryAdvice": {
303
+ "$ref": "entry.json"
304
+ },
305
+ "_foundryMerge": {
306
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
307
+ },
308
+ "_copy": {
309
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
310
+ }
311
+ },
312
+ "additionalProperties": false,
313
+ "required": [
314
+ "_copy"
315
+ ]
316
+ }
317
+ ]
318
+ },
319
+ "boonData": {
112
320
  "type": "object",
113
321
  "properties": {
114
322
  "name": {
@@ -188,16 +396,193 @@
188
396
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
189
397
  }
190
398
  },
191
- "required": [
192
- "name",
193
- "source",
194
- "type",
195
- "entries"
196
- ],
197
399
  "additionalProperties": false
400
+ },
401
+ "boon": {
402
+ "anyOf": [
403
+ {
404
+ "type": "object",
405
+ "properties": {
406
+ "name": {
407
+ "type": "string"
408
+ },
409
+ "source": {
410
+ "$ref": "util.json#/$defs/source"
411
+ },
412
+ "page": {
413
+ "$ref": "util.json#/$defs/page"
414
+ },
415
+ "otherSources": {
416
+ "$ref": "util.json#/$defs/otherSources"
417
+ },
418
+ "referenceSources": {
419
+ "$ref": "util.json#/$defs/referenceSources"
420
+ },
421
+ "reprintedAs": {
422
+ "$ref": "util.json#/$defs/reprintedAs"
423
+ },
424
+ "type": {
425
+ "type": "string",
426
+ "examples": [
427
+ "Demonic"
428
+ ]
429
+ },
430
+ "ability": {
431
+ "type": "object",
432
+ "properties": {
433
+ "entry": {
434
+ "$ref": "entry.json"
435
+ }
436
+ },
437
+ "required": [
438
+ "entry"
439
+ ],
440
+ "additionalProperties": false
441
+ },
442
+ "signatureSpells": {
443
+ "type": "object",
444
+ "properties": {
445
+ "entry": {
446
+ "$ref": "entry.json"
447
+ }
448
+ },
449
+ "required": [
450
+ "entry"
451
+ ],
452
+ "additionalProperties": false
453
+ },
454
+ "entries": {
455
+ "type": "array",
456
+ "uniqueItems": true,
457
+ "items": {
458
+ "$ref": "entry.json"
459
+ }
460
+ },
461
+ "foundrySystem": {
462
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
463
+ },
464
+ "foundryActivities": {
465
+ "$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
466
+ },
467
+ "foundryFlags": {
468
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
469
+ },
470
+ "foundryEffects": {
471
+ "$ref": "util-foundry.json#/$defs/foundryEffectsArray"
472
+ },
473
+ "foundryImg": {
474
+ "$ref": "util-foundry.json#/$defs/foundryImg"
475
+ },
476
+ "foundryAdvice": {
477
+ "$ref": "entry.json"
478
+ },
479
+ "_foundryMerge": {
480
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
481
+ }
482
+ },
483
+ "additionalProperties": false,
484
+ "required": [
485
+ "name",
486
+ "source",
487
+ "type",
488
+ "entries"
489
+ ]
490
+ },
491
+ {
492
+ "type": "object",
493
+ "properties": {
494
+ "name": {
495
+ "type": "string"
496
+ },
497
+ "source": {
498
+ "$ref": "util.json#/$defs/source"
499
+ },
500
+ "page": {
501
+ "$ref": "util.json#/$defs/page"
502
+ },
503
+ "otherSources": {
504
+ "$ref": "util.json#/$defs/otherSources"
505
+ },
506
+ "referenceSources": {
507
+ "$ref": "util.json#/$defs/referenceSources"
508
+ },
509
+ "reprintedAs": {
510
+ "$ref": "util.json#/$defs/reprintedAs"
511
+ },
512
+ "type": {
513
+ "type": "string",
514
+ "examples": [
515
+ "Demonic"
516
+ ]
517
+ },
518
+ "ability": {
519
+ "type": "object",
520
+ "properties": {
521
+ "entry": {
522
+ "$ref": "entry.json"
523
+ }
524
+ },
525
+ "required": [
526
+ "entry"
527
+ ],
528
+ "additionalProperties": false
529
+ },
530
+ "signatureSpells": {
531
+ "type": "object",
532
+ "properties": {
533
+ "entry": {
534
+ "$ref": "entry.json"
535
+ }
536
+ },
537
+ "required": [
538
+ "entry"
539
+ ],
540
+ "additionalProperties": false
541
+ },
542
+ "entries": {
543
+ "type": "array",
544
+ "uniqueItems": true,
545
+ "items": {
546
+ "$ref": "entry.json"
547
+ }
548
+ },
549
+ "foundrySystem": {
550
+ "$ref": "util-foundry.json#/$defs/foundrySystemObject"
551
+ },
552
+ "foundryActivities": {
553
+ "$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
554
+ },
555
+ "foundryFlags": {
556
+ "$ref": "util-foundry.json#/$defs/foundryFlagsObject"
557
+ },
558
+ "foundryEffects": {
559
+ "$ref": "util-foundry.json#/$defs/foundryEffectsArray"
560
+ },
561
+ "foundryImg": {
562
+ "$ref": "util-foundry.json#/$defs/foundryImg"
563
+ },
564
+ "foundryAdvice": {
565
+ "$ref": "entry.json"
566
+ },
567
+ "_foundryMerge": {
568
+ "$ref": "util-foundry.json#/$defs/foundryMergeObject"
569
+ },
570
+ "_copy": {
571
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
572
+ }
573
+ },
574
+ "additionalProperties": false,
575
+ "required": [
576
+ "_copy"
577
+ ]
578
+ }
579
+ ]
198
580
  }
199
581
  },
200
582
  "properties": {
583
+ "_meta": {
584
+ "$ref": "util.json#/$defs/metaBlock"
585
+ },
201
586
  "cult": {
202
587
  "type": "array",
203
588
  "minItems": 1,
@@ -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,