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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "charcreationoptions.json",
4
- "version": "1.2.8",
4
+ "version": "1.3.0",
5
5
  "title": "Character Creation Options",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -18,7 +18,7 @@
18
18
  "SG"
19
19
  ]
20
20
  },
21
- "charoption": {
21
+ "charoptionData": {
22
22
  "type": "object",
23
23
  "properties": {
24
24
  "name": {
@@ -59,16 +59,115 @@
59
59
  "$ref": "util.json#/$defs/prerequisite"
60
60
  }
61
61
  },
62
- "required": [
63
- "name",
64
- "entries",
65
- "source",
66
- "optionType"
67
- ],
68
62
  "additionalProperties": false
63
+ },
64
+ "charoption": {
65
+ "anyOf": [
66
+ {
67
+ "type": "object",
68
+ "properties": {
69
+ "name": {
70
+ "type": "string"
71
+ },
72
+ "entries": {
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "entry.json"
76
+ }
77
+ },
78
+ "source": {
79
+ "$ref": "util.json#/$defs/source"
80
+ },
81
+ "page": {
82
+ "$ref": "util.json#/$defs/page"
83
+ },
84
+ "optionType": {
85
+ "$comment": "Note that this field supports arbitrary strings for homebrew usage.",
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "#/$defs/optionType"
89
+ }
90
+ },
91
+ "otherSources": {
92
+ "$ref": "util.json#/$defs/otherSources"
93
+ },
94
+ "referenceSources": {
95
+ "$ref": "util.json#/$defs/referenceSources"
96
+ },
97
+ "hasFluff": {
98
+ "type": "boolean"
99
+ },
100
+ "hasFluffImages": {
101
+ "type": "boolean"
102
+ },
103
+ "prerequisite": {
104
+ "$ref": "util.json#/$defs/prerequisite"
105
+ }
106
+ },
107
+ "additionalProperties": false,
108
+ "required": [
109
+ "name",
110
+ "source",
111
+ "entries",
112
+ "optionType"
113
+ ]
114
+ },
115
+ {
116
+ "type": "object",
117
+ "properties": {
118
+ "name": {
119
+ "type": "string"
120
+ },
121
+ "entries": {
122
+ "type": "array",
123
+ "items": {
124
+ "$ref": "entry.json"
125
+ }
126
+ },
127
+ "source": {
128
+ "$ref": "util.json#/$defs/source"
129
+ },
130
+ "page": {
131
+ "$ref": "util.json#/$defs/page"
132
+ },
133
+ "optionType": {
134
+ "$comment": "Note that this field supports arbitrary strings for homebrew usage.",
135
+ "type": "array",
136
+ "items": {
137
+ "$ref": "#/$defs/optionType"
138
+ }
139
+ },
140
+ "otherSources": {
141
+ "$ref": "util.json#/$defs/otherSources"
142
+ },
143
+ "referenceSources": {
144
+ "$ref": "util.json#/$defs/referenceSources"
145
+ },
146
+ "hasFluff": {
147
+ "type": "boolean"
148
+ },
149
+ "hasFluffImages": {
150
+ "type": "boolean"
151
+ },
152
+ "prerequisite": {
153
+ "$ref": "util.json#/$defs/prerequisite"
154
+ },
155
+ "_copy": {
156
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
157
+ }
158
+ },
159
+ "additionalProperties": false,
160
+ "required": [
161
+ "_copy"
162
+ ]
163
+ }
164
+ ]
69
165
  }
70
166
  },
71
167
  "properties": {
168
+ "_meta": {
169
+ "$ref": "util.json#/$defs/metaBlock"
170
+ },
72
171
  "charoption": {
73
172
  "type": "array",
74
173
  "minItems": 1,
@@ -78,5 +177,8 @@
78
177
  }
79
178
  }
80
179
  },
180
+ "required": [
181
+ "charoption"
182
+ ],
81
183
  "additionalProperties": false
82
184
  }
@@ -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": {
@@ -80,14 +80,180 @@
80
80
  }
81
81
  }
82
82
  },
83
- "required": [
84
- "name",
85
- "source",
86
- "entries"
87
- ],
88
83
  "additionalProperties": false
89
84
  },
90
- "boon": {
85
+ "cult": {
86
+ "anyOf": [
87
+ {
88
+ "type": "object",
89
+ "properties": {
90
+ "name": {
91
+ "type": "string"
92
+ },
93
+ "source": {
94
+ "$ref": "util.json#/$defs/source"
95
+ },
96
+ "page": {
97
+ "$ref": "util.json#/$defs/page"
98
+ },
99
+ "otherSources": {
100
+ "$ref": "util.json#/$defs/otherSources"
101
+ },
102
+ "referenceSources": {
103
+ "$ref": "util.json#/$defs/referenceSources"
104
+ },
105
+ "reprintedAs": {
106
+ "$ref": "util.json#/$defs/reprintedAs"
107
+ },
108
+ "legacy": {
109
+ "$ref": "util.json#/$defs/legacy"
110
+ },
111
+ "type": {
112
+ "type": "string",
113
+ "enum": [
114
+ "Demonic",
115
+ "Diabolical",
116
+ "Elder Evil",
117
+ "Elemental"
118
+ ]
119
+ },
120
+ "goal": {
121
+ "type": "object",
122
+ "properties": {
123
+ "entry": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "required": [
128
+ "entry"
129
+ ],
130
+ "additionalProperties": false
131
+ },
132
+ "cultists": {
133
+ "type": "object",
134
+ "properties": {
135
+ "entry": {
136
+ "type": "string"
137
+ }
138
+ },
139
+ "required": [
140
+ "entry"
141
+ ],
142
+ "additionalProperties": false
143
+ },
144
+ "signatureSpells": {
145
+ "type": "object",
146
+ "properties": {
147
+ "entry": {
148
+ "type": "string"
149
+ }
150
+ },
151
+ "required": [
152
+ "entry"
153
+ ],
154
+ "additionalProperties": false
155
+ },
156
+ "entries": {
157
+ "type": "array",
158
+ "items": {
159
+ "$ref": "entry.json"
160
+ }
161
+ }
162
+ },
163
+ "additionalProperties": false,
164
+ "required": [
165
+ "name",
166
+ "source",
167
+ "entries"
168
+ ]
169
+ },
170
+ {
171
+ "type": "object",
172
+ "properties": {
173
+ "name": {
174
+ "type": "string"
175
+ },
176
+ "source": {
177
+ "$ref": "util.json#/$defs/source"
178
+ },
179
+ "page": {
180
+ "$ref": "util.json#/$defs/page"
181
+ },
182
+ "otherSources": {
183
+ "$ref": "util.json#/$defs/otherSources"
184
+ },
185
+ "referenceSources": {
186
+ "$ref": "util.json#/$defs/referenceSources"
187
+ },
188
+ "reprintedAs": {
189
+ "$ref": "util.json#/$defs/reprintedAs"
190
+ },
191
+ "legacy": {
192
+ "$ref": "util.json#/$defs/legacy"
193
+ },
194
+ "type": {
195
+ "type": "string",
196
+ "enum": [
197
+ "Demonic",
198
+ "Diabolical",
199
+ "Elder Evil",
200
+ "Elemental"
201
+ ]
202
+ },
203
+ "goal": {
204
+ "type": "object",
205
+ "properties": {
206
+ "entry": {
207
+ "type": "string"
208
+ }
209
+ },
210
+ "required": [
211
+ "entry"
212
+ ],
213
+ "additionalProperties": false
214
+ },
215
+ "cultists": {
216
+ "type": "object",
217
+ "properties": {
218
+ "entry": {
219
+ "type": "string"
220
+ }
221
+ },
222
+ "required": [
223
+ "entry"
224
+ ],
225
+ "additionalProperties": false
226
+ },
227
+ "signatureSpells": {
228
+ "type": "object",
229
+ "properties": {
230
+ "entry": {
231
+ "type": "string"
232
+ }
233
+ },
234
+ "required": [
235
+ "entry"
236
+ ],
237
+ "additionalProperties": false
238
+ },
239
+ "entries": {
240
+ "type": "array",
241
+ "items": {
242
+ "$ref": "entry.json"
243
+ }
244
+ },
245
+ "_copy": {
246
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
247
+ }
248
+ },
249
+ "additionalProperties": false,
250
+ "required": [
251
+ "_copy"
252
+ ]
253
+ }
254
+ ]
255
+ },
256
+ "boonData": {
91
257
  "type": "object",
92
258
  "properties": {
93
259
  "name": {
@@ -146,16 +312,151 @@
146
312
  }
147
313
  }
148
314
  },
149
- "required": [
150
- "name",
151
- "source",
152
- "type",
153
- "entries"
154
- ],
155
315
  "additionalProperties": false
316
+ },
317
+ "boon": {
318
+ "anyOf": [
319
+ {
320
+ "type": "object",
321
+ "properties": {
322
+ "name": {
323
+ "type": "string"
324
+ },
325
+ "source": {
326
+ "$ref": "util.json#/$defs/source"
327
+ },
328
+ "page": {
329
+ "$ref": "util.json#/$defs/page"
330
+ },
331
+ "otherSources": {
332
+ "$ref": "util.json#/$defs/otherSources"
333
+ },
334
+ "referenceSources": {
335
+ "$ref": "util.json#/$defs/referenceSources"
336
+ },
337
+ "reprintedAs": {
338
+ "$ref": "util.json#/$defs/reprintedAs"
339
+ },
340
+ "type": {
341
+ "type": "string",
342
+ "enum": [
343
+ "Demonic"
344
+ ]
345
+ },
346
+ "ability": {
347
+ "type": "object",
348
+ "properties": {
349
+ "entry": {
350
+ "$ref": "entry.json"
351
+ }
352
+ },
353
+ "required": [
354
+ "entry"
355
+ ],
356
+ "additionalProperties": false
357
+ },
358
+ "signatureSpells": {
359
+ "type": "object",
360
+ "properties": {
361
+ "entry": {
362
+ "$ref": "entry.json"
363
+ }
364
+ },
365
+ "required": [
366
+ "entry"
367
+ ],
368
+ "additionalProperties": false
369
+ },
370
+ "entries": {
371
+ "type": "array",
372
+ "uniqueItems": true,
373
+ "items": {
374
+ "$ref": "entry.json"
375
+ }
376
+ }
377
+ },
378
+ "additionalProperties": false,
379
+ "required": [
380
+ "name",
381
+ "source",
382
+ "type",
383
+ "entries"
384
+ ]
385
+ },
386
+ {
387
+ "type": "object",
388
+ "properties": {
389
+ "name": {
390
+ "type": "string"
391
+ },
392
+ "source": {
393
+ "$ref": "util.json#/$defs/source"
394
+ },
395
+ "page": {
396
+ "$ref": "util.json#/$defs/page"
397
+ },
398
+ "otherSources": {
399
+ "$ref": "util.json#/$defs/otherSources"
400
+ },
401
+ "referenceSources": {
402
+ "$ref": "util.json#/$defs/referenceSources"
403
+ },
404
+ "reprintedAs": {
405
+ "$ref": "util.json#/$defs/reprintedAs"
406
+ },
407
+ "type": {
408
+ "type": "string",
409
+ "enum": [
410
+ "Demonic"
411
+ ]
412
+ },
413
+ "ability": {
414
+ "type": "object",
415
+ "properties": {
416
+ "entry": {
417
+ "$ref": "entry.json"
418
+ }
419
+ },
420
+ "required": [
421
+ "entry"
422
+ ],
423
+ "additionalProperties": false
424
+ },
425
+ "signatureSpells": {
426
+ "type": "object",
427
+ "properties": {
428
+ "entry": {
429
+ "$ref": "entry.json"
430
+ }
431
+ },
432
+ "required": [
433
+ "entry"
434
+ ],
435
+ "additionalProperties": false
436
+ },
437
+ "entries": {
438
+ "type": "array",
439
+ "uniqueItems": true,
440
+ "items": {
441
+ "$ref": "entry.json"
442
+ }
443
+ },
444
+ "_copy": {
445
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
446
+ }
447
+ },
448
+ "additionalProperties": false,
449
+ "required": [
450
+ "_copy"
451
+ ]
452
+ }
453
+ ]
156
454
  }
157
455
  },
158
456
  "properties": {
457
+ "_meta": {
458
+ "$ref": "util.json#/$defs/metaBlock"
459
+ },
159
460
  "cult": {
160
461
  "type": "array",
161
462
  "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": {
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.17",
6
+ "version": "1.9.18",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -142,7 +142,7 @@
142
142
  },
143
143
  "path": {
144
144
  "type": "string",
145
- "pattern": "\\.(webp|mp3)$"
145
+ "pattern": "\\.(webp|mp3|opus)$"
146
146
  }
147
147
  },
148
148
  "required": [
@@ -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,