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,18 +1,12 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "tables.json",
4
- "version": "1.1.13",
4
+ "version": "1.2.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "tableData": {
8
8
  "type": "object",
9
9
  "properties": {
10
- "tables": {
11
- "type": "array",
12
- "items": {
13
- "$ref": "#/$defs/tableData"
14
- }
15
- },
16
10
  "name": {
17
11
  "type": "string"
18
12
  },
@@ -27,6 +21,79 @@
27
21
  "type": "object",
28
22
  "markdownDescription": "A generic object for storing special data for external use-cases. Keys prefixed with "rd-" should be added as "data-" HTML attributes when rendering to HTML."
29
23
  },
24
+ "type": {
25
+ "type": "string",
26
+ "enum": [
27
+ "table",
28
+ "tableGroup"
29
+ ]
30
+ },
31
+ "legacy": {
32
+ "$ref": "util.json#/$defs/legacy"
33
+ },
34
+ "otherSources": {
35
+ "$ref": "util.json#/$defs/otherSources"
36
+ },
37
+ "referenceSources": {
38
+ "$ref": "util.json#/$defs/referenceSources"
39
+ },
40
+ "chapter": {
41
+ "type": "object",
42
+ "properties": {
43
+ "name": {
44
+ "type": "string"
45
+ },
46
+ "ordinal": {
47
+ "type": "object",
48
+ "properties": {
49
+ "type": {
50
+ "type": "string",
51
+ "enum": [
52
+ "chapter",
53
+ "appendix",
54
+ "part",
55
+ "episode",
56
+ "level",
57
+ "section"
58
+ ]
59
+ },
60
+ "identifier": {
61
+ "type": [
62
+ "integer",
63
+ "string"
64
+ ]
65
+ }
66
+ },
67
+ "additionalProperties": false,
68
+ "required": [
69
+ "type",
70
+ "identifier"
71
+ ]
72
+ },
73
+ "index": {
74
+ "type": "integer"
75
+ }
76
+ }
77
+ },
78
+ "parentEntity": {
79
+ "type": "object",
80
+ "properties": {
81
+ "prop": {
82
+ "type": "string"
83
+ },
84
+ "uid": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "additionalProperties": false,
89
+ "required": [
90
+ "prop",
91
+ "uid"
92
+ ]
93
+ },
94
+ "foundryImg": {
95
+ "$ref": "util-foundry.json#/$defs/foundryImg"
96
+ },
30
97
  "caption": {
31
98
  "type": "string"
32
99
  },
@@ -112,123 +179,638 @@
112
179
  "$ref": "entry.json"
113
180
  },
114
181
  "markdownDescription": "Primarily for homebrew use."
182
+ }
183
+ },
184
+ "dependencies": {
185
+ "colLabels": {
186
+ "not": {
187
+ "required": [
188
+ "colLabelRows"
189
+ ]
190
+ }
115
191
  },
116
- "type": {
117
- "type": "string",
118
- "default": "table",
119
- "enum": [
120
- "table",
121
- "tableGroup"
192
+ "colLabelRows": {
193
+ "not": {
194
+ "required": [
195
+ "colLabels"
196
+ ]
197
+ }
198
+ }
199
+ },
200
+ "additionalProperties": false
201
+ },
202
+ "table": {
203
+ "anyOf": [
204
+ {
205
+ "type": "object",
206
+ "properties": {
207
+ "name": {
208
+ "type": "string"
209
+ },
210
+ "source": {
211
+ "$ref": "util.json#/$defs/source"
212
+ },
213
+ "page": {
214
+ "$ref": "util.json#/$defs/page"
215
+ },
216
+ "data": {
217
+ "description": "A generic object for storing special data for external use-cases. Keys prefixed with \"rd-\" should be added as \"data-\" HTML attributes when rendering to HTML.",
218
+ "type": "object",
219
+ "markdownDescription": "A generic object for storing special data for external use-cases. Keys prefixed with "rd-" should be added as "data-" HTML attributes when rendering to HTML."
220
+ },
221
+ "type": {
222
+ "type": "string",
223
+ "enum": [
224
+ "table",
225
+ "tableGroup"
226
+ ],
227
+ "const": "table"
228
+ },
229
+ "legacy": {
230
+ "$ref": "util.json#/$defs/legacy"
231
+ },
232
+ "otherSources": {
233
+ "$ref": "util.json#/$defs/otherSources"
234
+ },
235
+ "referenceSources": {
236
+ "$ref": "util.json#/$defs/referenceSources"
237
+ },
238
+ "chapter": {
239
+ "type": "object",
240
+ "properties": {
241
+ "name": {
242
+ "type": "string"
243
+ },
244
+ "ordinal": {
245
+ "type": "object",
246
+ "properties": {
247
+ "type": {
248
+ "type": "string",
249
+ "enum": [
250
+ "chapter",
251
+ "appendix",
252
+ "part",
253
+ "episode",
254
+ "level",
255
+ "section"
256
+ ]
257
+ },
258
+ "identifier": {
259
+ "type": [
260
+ "integer",
261
+ "string"
262
+ ]
263
+ }
264
+ },
265
+ "additionalProperties": false,
266
+ "required": [
267
+ "type",
268
+ "identifier"
269
+ ]
270
+ },
271
+ "index": {
272
+ "type": "integer"
273
+ }
274
+ }
275
+ },
276
+ "parentEntity": {
277
+ "type": "object",
278
+ "properties": {
279
+ "prop": {
280
+ "type": "string"
281
+ },
282
+ "uid": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "additionalProperties": false,
287
+ "required": [
288
+ "prop",
289
+ "uid"
290
+ ]
291
+ },
292
+ "foundryImg": {
293
+ "$ref": "util-foundry.json#/$defs/foundryImg"
294
+ },
295
+ "caption": {
296
+ "type": "string"
297
+ },
298
+ "isStriped": {
299
+ "type": "boolean"
300
+ },
301
+ "isNameGenerator": {
302
+ "type": "boolean",
303
+ "description": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc.",
304
+ "markdownDescription": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc."
305
+ },
306
+ "style": {
307
+ "type": "string"
308
+ },
309
+ "colLabels": {
310
+ "type": "array",
311
+ "items": {
312
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
313
+ }
314
+ },
315
+ "colLabelRows": {
316
+ "type": "array",
317
+ "items": {
318
+ "type": "array",
319
+ "items": {
320
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
321
+ }
322
+ },
323
+ "minItems": 1
324
+ },
325
+ "colStyles": {
326
+ "type": "array",
327
+ "items": {
328
+ "type": "string"
329
+ }
330
+ },
331
+ "rowLabels": {
332
+ "type": "array",
333
+ "items": {
334
+ "type": "string"
335
+ }
336
+ },
337
+ "rowStyles": {
338
+ "type": "array",
339
+ "items": {
340
+ "type": "string"
341
+ }
342
+ },
343
+ "rows": {
344
+ "type": "array",
345
+ "items": {
346
+ "anyOf": [
347
+ {
348
+ "type": "array",
349
+ "items": {
350
+ "$ref": "entry.json"
351
+ }
352
+ },
353
+ {
354
+ "$ref": "entry.json#/$defs/entryTableRow"
355
+ }
356
+ ]
357
+ }
358
+ },
359
+ "footnotes": {
360
+ "type": "array",
361
+ "items": {
362
+ "$ref": "entry.json"
363
+ }
364
+ },
365
+ "intro": {
366
+ "description": "Primarily for homebrew use.",
367
+ "type": "array",
368
+ "items": {
369
+ "$ref": "entry.json"
370
+ },
371
+ "markdownDescription": "Primarily for homebrew use."
372
+ },
373
+ "outro": {
374
+ "description": "Primarily for homebrew use.",
375
+ "type": "array",
376
+ "items": {
377
+ "$ref": "entry.json"
378
+ },
379
+ "markdownDescription": "Primarily for homebrew use."
380
+ }
381
+ },
382
+ "dependencies": {
383
+ "colLabels": {
384
+ "not": {
385
+ "required": [
386
+ "colLabelRows"
387
+ ]
388
+ }
389
+ },
390
+ "colLabelRows": {
391
+ "not": {
392
+ "required": [
393
+ "colLabels"
394
+ ]
395
+ }
396
+ }
397
+ },
398
+ "additionalProperties": false,
399
+ "required": [
400
+ "name",
401
+ "source",
402
+ "rows"
122
403
  ]
123
404
  },
124
- "legacy": {
125
- "$ref": "util.json#/$defs/legacy"
126
- },
127
- "otherSources": {
128
- "$ref": "util.json#/$defs/otherSources"
129
- },
130
- "referenceSources": {
131
- "$ref": "util.json#/$defs/referenceSources"
132
- },
133
- "chapter": {
405
+ {
134
406
  "type": "object",
135
407
  "properties": {
136
408
  "name": {
137
409
  "type": "string"
138
410
  },
139
- "ordinal": {
411
+ "source": {
412
+ "$ref": "util.json#/$defs/source"
413
+ },
414
+ "page": {
415
+ "$ref": "util.json#/$defs/page"
416
+ },
417
+ "data": {
418
+ "description": "A generic object for storing special data for external use-cases. Keys prefixed with \"rd-\" should be added as \"data-\" HTML attributes when rendering to HTML.",
419
+ "type": "object",
420
+ "markdownDescription": "A generic object for storing special data for external use-cases. Keys prefixed with "rd-" should be added as "data-" HTML attributes when rendering to HTML."
421
+ },
422
+ "type": {
423
+ "type": "string",
424
+ "enum": [
425
+ "table",
426
+ "tableGroup"
427
+ ],
428
+ "const": "tableGroup"
429
+ },
430
+ "legacy": {
431
+ "$ref": "util.json#/$defs/legacy"
432
+ },
433
+ "otherSources": {
434
+ "$ref": "util.json#/$defs/otherSources"
435
+ },
436
+ "referenceSources": {
437
+ "$ref": "util.json#/$defs/referenceSources"
438
+ },
439
+ "chapter": {
140
440
  "type": "object",
141
441
  "properties": {
142
- "type": {
143
- "type": "string",
144
- "enum": [
145
- "chapter",
146
- "appendix",
147
- "part",
148
- "episode",
149
- "level",
150
- "section"
151
- ]
442
+ "name": {
443
+ "type": "string"
152
444
  },
153
- "identifier": {
154
- "type": [
155
- "integer",
156
- "string"
445
+ "ordinal": {
446
+ "type": "object",
447
+ "properties": {
448
+ "type": {
449
+ "type": "string",
450
+ "enum": [
451
+ "chapter",
452
+ "appendix",
453
+ "part",
454
+ "episode",
455
+ "level",
456
+ "section"
457
+ ]
458
+ },
459
+ "identifier": {
460
+ "type": [
461
+ "integer",
462
+ "string"
463
+ ]
464
+ }
465
+ },
466
+ "additionalProperties": false,
467
+ "required": [
468
+ "type",
469
+ "identifier"
157
470
  ]
471
+ },
472
+ "index": {
473
+ "type": "integer"
474
+ }
475
+ }
476
+ },
477
+ "parentEntity": {
478
+ "type": "object",
479
+ "properties": {
480
+ "prop": {
481
+ "type": "string"
482
+ },
483
+ "uid": {
484
+ "type": "string"
158
485
  }
159
486
  },
160
487
  "additionalProperties": false,
161
488
  "required": [
162
- "type",
163
- "identifier"
489
+ "prop",
490
+ "uid"
164
491
  ]
165
492
  },
166
- "index": {
167
- "type": "integer"
493
+ "foundryImg": {
494
+ "$ref": "util-foundry.json#/$defs/foundryImg"
495
+ },
496
+ "caption": {
497
+ "type": "string"
498
+ },
499
+ "isStriped": {
500
+ "type": "boolean"
501
+ },
502
+ "isNameGenerator": {
503
+ "type": "boolean",
504
+ "description": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc.",
505
+ "markdownDescription": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc."
506
+ },
507
+ "style": {
508
+ "type": "string"
509
+ },
510
+ "colLabels": {
511
+ "type": "array",
512
+ "items": {
513
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
514
+ }
515
+ },
516
+ "colLabelRows": {
517
+ "type": "array",
518
+ "items": {
519
+ "type": "array",
520
+ "items": {
521
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
522
+ }
523
+ },
524
+ "minItems": 1
525
+ },
526
+ "colStyles": {
527
+ "type": "array",
528
+ "items": {
529
+ "type": "string"
530
+ }
531
+ },
532
+ "rowLabels": {
533
+ "type": "array",
534
+ "items": {
535
+ "type": "string"
536
+ }
537
+ },
538
+ "rowStyles": {
539
+ "type": "array",
540
+ "items": {
541
+ "type": "string"
542
+ }
543
+ },
544
+ "rows": {
545
+ "type": "array",
546
+ "items": {
547
+ "anyOf": [
548
+ {
549
+ "type": "array",
550
+ "items": {
551
+ "$ref": "entry.json"
552
+ }
553
+ },
554
+ {
555
+ "$ref": "entry.json#/$defs/entryTableRow"
556
+ }
557
+ ]
558
+ }
559
+ },
560
+ "footnotes": {
561
+ "type": "array",
562
+ "items": {
563
+ "$ref": "entry.json"
564
+ }
565
+ },
566
+ "intro": {
567
+ "description": "Primarily for homebrew use.",
568
+ "type": "array",
569
+ "items": {
570
+ "$ref": "entry.json"
571
+ },
572
+ "markdownDescription": "Primarily for homebrew use."
573
+ },
574
+ "outro": {
575
+ "description": "Primarily for homebrew use.",
576
+ "type": "array",
577
+ "items": {
578
+ "$ref": "entry.json"
579
+ },
580
+ "markdownDescription": "Primarily for homebrew use."
581
+ },
582
+ "tables": {
583
+ "type": "array",
584
+ "items": {
585
+ "$ref": "#/$defs/tableData"
586
+ }
168
587
  }
169
- }
588
+ },
589
+ "dependencies": {
590
+ "colLabels": {
591
+ "not": {
592
+ "required": [
593
+ "colLabelRows"
594
+ ]
595
+ }
596
+ },
597
+ "colLabelRows": {
598
+ "not": {
599
+ "required": [
600
+ "colLabels"
601
+ ]
602
+ }
603
+ }
604
+ },
605
+ "additionalProperties": false,
606
+ "required": [
607
+ "name",
608
+ "source",
609
+ "tables"
610
+ ]
170
611
  },
171
- "parentEntity": {
612
+ {
172
613
  "type": "object",
173
614
  "properties": {
174
- "prop": {
615
+ "name": {
175
616
  "type": "string"
176
617
  },
177
- "uid": {
618
+ "source": {
619
+ "$ref": "util.json#/$defs/source"
620
+ },
621
+ "page": {
622
+ "$ref": "util.json#/$defs/page"
623
+ },
624
+ "data": {
625
+ "description": "A generic object for storing special data for external use-cases. Keys prefixed with \"rd-\" should be added as \"data-\" HTML attributes when rendering to HTML.",
626
+ "type": "object",
627
+ "markdownDescription": "A generic object for storing special data for external use-cases. Keys prefixed with "rd-" should be added as "data-" HTML attributes when rendering to HTML."
628
+ },
629
+ "type": {
630
+ "type": "string",
631
+ "enum": [
632
+ "table",
633
+ "tableGroup"
634
+ ]
635
+ },
636
+ "legacy": {
637
+ "$ref": "util.json#/$defs/legacy"
638
+ },
639
+ "otherSources": {
640
+ "$ref": "util.json#/$defs/otherSources"
641
+ },
642
+ "referenceSources": {
643
+ "$ref": "util.json#/$defs/referenceSources"
644
+ },
645
+ "chapter": {
646
+ "type": "object",
647
+ "properties": {
648
+ "name": {
649
+ "type": "string"
650
+ },
651
+ "ordinal": {
652
+ "type": "object",
653
+ "properties": {
654
+ "type": {
655
+ "type": "string",
656
+ "enum": [
657
+ "chapter",
658
+ "appendix",
659
+ "part",
660
+ "episode",
661
+ "level",
662
+ "section"
663
+ ]
664
+ },
665
+ "identifier": {
666
+ "type": [
667
+ "integer",
668
+ "string"
669
+ ]
670
+ }
671
+ },
672
+ "additionalProperties": false,
673
+ "required": [
674
+ "type",
675
+ "identifier"
676
+ ]
677
+ },
678
+ "index": {
679
+ "type": "integer"
680
+ }
681
+ }
682
+ },
683
+ "parentEntity": {
684
+ "type": "object",
685
+ "properties": {
686
+ "prop": {
687
+ "type": "string"
688
+ },
689
+ "uid": {
690
+ "type": "string"
691
+ }
692
+ },
693
+ "additionalProperties": false,
694
+ "required": [
695
+ "prop",
696
+ "uid"
697
+ ]
698
+ },
699
+ "foundryImg": {
700
+ "$ref": "util-foundry.json#/$defs/foundryImg"
701
+ },
702
+ "caption": {
178
703
  "type": "string"
704
+ },
705
+ "isStriped": {
706
+ "type": "boolean"
707
+ },
708
+ "isNameGenerator": {
709
+ "type": "boolean",
710
+ "description": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc.",
711
+ "markdownDescription": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc."
712
+ },
713
+ "style": {
714
+ "type": "string"
715
+ },
716
+ "colLabels": {
717
+ "type": "array",
718
+ "items": {
719
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
720
+ }
721
+ },
722
+ "colLabelRows": {
723
+ "type": "array",
724
+ "items": {
725
+ "type": "array",
726
+ "items": {
727
+ "$ref": "entry.json#/$defs/_entryTableColLabelItem"
728
+ }
729
+ },
730
+ "minItems": 1
731
+ },
732
+ "colStyles": {
733
+ "type": "array",
734
+ "items": {
735
+ "type": "string"
736
+ }
737
+ },
738
+ "rowLabels": {
739
+ "type": "array",
740
+ "items": {
741
+ "type": "string"
742
+ }
743
+ },
744
+ "rowStyles": {
745
+ "type": "array",
746
+ "items": {
747
+ "type": "string"
748
+ }
749
+ },
750
+ "rows": {
751
+ "type": "array",
752
+ "items": {
753
+ "anyOf": [
754
+ {
755
+ "type": "array",
756
+ "items": {
757
+ "$ref": "entry.json"
758
+ }
759
+ },
760
+ {
761
+ "$ref": "entry.json#/$defs/entryTableRow"
762
+ }
763
+ ]
764
+ }
765
+ },
766
+ "footnotes": {
767
+ "type": "array",
768
+ "items": {
769
+ "$ref": "entry.json"
770
+ }
771
+ },
772
+ "intro": {
773
+ "description": "Primarily for homebrew use.",
774
+ "type": "array",
775
+ "items": {
776
+ "$ref": "entry.json"
777
+ },
778
+ "markdownDescription": "Primarily for homebrew use."
779
+ },
780
+ "outro": {
781
+ "description": "Primarily for homebrew use.",
782
+ "type": "array",
783
+ "items": {
784
+ "$ref": "entry.json"
785
+ },
786
+ "markdownDescription": "Primarily for homebrew use."
787
+ },
788
+ "_copy": {
789
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
790
+ }
791
+ },
792
+ "dependencies": {
793
+ "colLabels": {
794
+ "not": {
795
+ "required": [
796
+ "colLabelRows"
797
+ ]
798
+ }
799
+ },
800
+ "colLabelRows": {
801
+ "not": {
802
+ "required": [
803
+ "colLabels"
804
+ ]
805
+ }
179
806
  }
180
807
  },
181
808
  "additionalProperties": false,
182
809
  "required": [
183
- "prop",
184
- "uid"
810
+ "_copy"
185
811
  ]
186
- },
187
- "foundryImg": {
188
- "$ref": "util-foundry.json#/$defs/foundryImg"
189
- }
190
- },
191
- "dependencies": {
192
- "colLabels": {
193
- "not": {
194
- "required": [
195
- "colLabelRows"
196
- ]
197
- }
198
- },
199
- "colLabelRows": {
200
- "not": {
201
- "required": [
202
- "colLabels"
203
- ]
204
- }
205
812
  }
206
- },
207
- "additionalProperties": false,
208
- "if": {
209
- "properties": {
210
- "type": {
211
- "const": "tableGroup"
212
- }
213
- },
214
- "required": [
215
- "type"
216
- ]
217
- },
218
- "then": {
219
- "required": [
220
- "name",
221
- "source",
222
- "tables"
223
- ]
224
- },
225
- "else": {
226
- "required": [
227
- "name",
228
- "source",
229
- "rows"
230
- ]
231
- }
813
+ ]
232
814
  }
233
815
  },
234
816
  "properties": {
@@ -237,7 +819,7 @@
237
819
  "minItems": 1,
238
820
  "uniqueItems": true,
239
821
  "items": {
240
- "$ref": "#/$defs/tableData"
822
+ "$ref": "#/$defs/table"
241
823
  }
242
824
  },
243
825
  "_meta": {