5etools-utils 0.14.7 → 0.14.8
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.
- package/package.json +1 -1
- package/schema/brew/util-foundry.json +346 -57
- package/schema/brew-fast/util-foundry.json +346 -57
- package/schema/site/util-foundry.json +346 -57
- package/schema/site-fast/util-foundry.json +346 -57
- package/schema/ua/util-foundry.json +346 -57
- package/schema/ua-fast/util-foundry.json +346 -57
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.6",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -190,6 +190,244 @@
|
|
|
190
190
|
"minProperties": 1,
|
|
191
191
|
"markdownDescription": "A 5etools-data-like object of additional entities to import."
|
|
192
192
|
},
|
|
193
|
+
"_foundryActivityProfileBase": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"name": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"types": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"minItems": 1,
|
|
205
|
+
"uniqueItems": true
|
|
206
|
+
},
|
|
207
|
+
"movement": {
|
|
208
|
+
"type": "array",
|
|
209
|
+
"items": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"minItems": 1,
|
|
213
|
+
"uniqueItems": true
|
|
214
|
+
},
|
|
215
|
+
"sizes": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"minItems": 1,
|
|
221
|
+
"uniqueItems": true
|
|
222
|
+
},
|
|
223
|
+
"count": {
|
|
224
|
+
"type": [
|
|
225
|
+
"integer",
|
|
226
|
+
"string"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"level": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"properties": {
|
|
232
|
+
"min": {
|
|
233
|
+
"type": "integer"
|
|
234
|
+
},
|
|
235
|
+
"max": {
|
|
236
|
+
"type": "integer"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"_foundryActivityProfile": {
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"name": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"types": {
|
|
251
|
+
"type": "array",
|
|
252
|
+
"items": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"minItems": 1,
|
|
256
|
+
"uniqueItems": true
|
|
257
|
+
},
|
|
258
|
+
"movement": {
|
|
259
|
+
"type": "array",
|
|
260
|
+
"items": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"minItems": 1,
|
|
264
|
+
"uniqueItems": true
|
|
265
|
+
},
|
|
266
|
+
"sizes": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"items": {
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
"minItems": 1,
|
|
272
|
+
"uniqueItems": true
|
|
273
|
+
},
|
|
274
|
+
"count": {
|
|
275
|
+
"type": [
|
|
276
|
+
"integer",
|
|
277
|
+
"string"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"level": {
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"min": {
|
|
284
|
+
"type": "integer"
|
|
285
|
+
},
|
|
286
|
+
"max": {
|
|
287
|
+
"type": "integer"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"additionalProperties": false,
|
|
293
|
+
"unevaluatedProperties": {
|
|
294
|
+
"not": {
|
|
295
|
+
"anyOf": [
|
|
296
|
+
{
|
|
297
|
+
"required": [
|
|
298
|
+
"cr"
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"required": [
|
|
303
|
+
"uuid"
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {
|
|
313
|
+
"name": {
|
|
314
|
+
"type": "string"
|
|
315
|
+
},
|
|
316
|
+
"types": {
|
|
317
|
+
"type": "array",
|
|
318
|
+
"items": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"minItems": 1,
|
|
322
|
+
"uniqueItems": true
|
|
323
|
+
},
|
|
324
|
+
"movement": {
|
|
325
|
+
"type": "array",
|
|
326
|
+
"items": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"minItems": 1,
|
|
330
|
+
"uniqueItems": true
|
|
331
|
+
},
|
|
332
|
+
"sizes": {
|
|
333
|
+
"type": "array",
|
|
334
|
+
"items": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"minItems": 1,
|
|
338
|
+
"uniqueItems": true
|
|
339
|
+
},
|
|
340
|
+
"count": {
|
|
341
|
+
"type": [
|
|
342
|
+
"integer",
|
|
343
|
+
"string"
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
"level": {
|
|
347
|
+
"type": "object",
|
|
348
|
+
"properties": {
|
|
349
|
+
"min": {
|
|
350
|
+
"type": "integer"
|
|
351
|
+
},
|
|
352
|
+
"max": {
|
|
353
|
+
"type": "integer"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"cr": {
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"additionalProperties": false,
|
|
362
|
+
"required": [
|
|
363
|
+
"cr"
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "object",
|
|
368
|
+
"properties": {
|
|
369
|
+
"name": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
},
|
|
372
|
+
"types": {
|
|
373
|
+
"type": "array",
|
|
374
|
+
"items": {
|
|
375
|
+
"type": "string"
|
|
376
|
+
},
|
|
377
|
+
"minItems": 1,
|
|
378
|
+
"uniqueItems": true
|
|
379
|
+
},
|
|
380
|
+
"movement": {
|
|
381
|
+
"type": "array",
|
|
382
|
+
"items": {
|
|
383
|
+
"type": "string"
|
|
384
|
+
},
|
|
385
|
+
"minItems": 1,
|
|
386
|
+
"uniqueItems": true
|
|
387
|
+
},
|
|
388
|
+
"sizes": {
|
|
389
|
+
"type": "array",
|
|
390
|
+
"items": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
},
|
|
393
|
+
"minItems": 1,
|
|
394
|
+
"uniqueItems": true
|
|
395
|
+
},
|
|
396
|
+
"count": {
|
|
397
|
+
"type": [
|
|
398
|
+
"integer",
|
|
399
|
+
"string"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
"level": {
|
|
403
|
+
"type": "object",
|
|
404
|
+
"properties": {
|
|
405
|
+
"min": {
|
|
406
|
+
"type": "integer"
|
|
407
|
+
},
|
|
408
|
+
"max": {
|
|
409
|
+
"type": "integer"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"uuid": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"pattern": "^@creature\\[.*\\]$"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"additionalProperties": false,
|
|
419
|
+
"required": [
|
|
420
|
+
"uuid"
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"_foundryActivityProfiles": {
|
|
426
|
+
"type": "array",
|
|
427
|
+
"items": {
|
|
428
|
+
"$ref": "#/$defs/_foundryActivityProfile"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
193
431
|
"_foundryActivityObject_base": {
|
|
194
432
|
"type": "object",
|
|
195
433
|
"properties": {
|
|
@@ -1156,70 +1394,118 @@
|
|
|
1156
1394
|
"const": "summon"
|
|
1157
1395
|
},
|
|
1158
1396
|
"profiles": {
|
|
1397
|
+
"$ref": "#/$defs/_foundryActivityProfiles"
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"required": [
|
|
1401
|
+
"type"
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
"_foundryActivityObject_transform": {
|
|
1405
|
+
"type": "object",
|
|
1406
|
+
"properties": {
|
|
1407
|
+
"foundryId": {
|
|
1408
|
+
"description": "Use only when required. For example, when linking a \"rider\".",
|
|
1409
|
+
"$ref": "#/$defs/foundryIdShort",
|
|
1410
|
+
"markdownDescription": "Use only when required. For example, when linking a "rider"."
|
|
1411
|
+
},
|
|
1412
|
+
"img": {
|
|
1413
|
+
"type": "string"
|
|
1414
|
+
},
|
|
1415
|
+
"description": {
|
|
1416
|
+
"type": "object"
|
|
1417
|
+
},
|
|
1418
|
+
"descriptionEntries": {
|
|
1419
|
+
"description": "If supplied, will be used to populate \"description.chatFlavor\".",
|
|
1159
1420
|
"type": "array",
|
|
1160
1421
|
"items": {
|
|
1161
|
-
"
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
"types": {
|
|
1172
|
-
"type": "array",
|
|
1173
|
-
"items": {
|
|
1174
|
-
"type": "string"
|
|
1175
|
-
},
|
|
1176
|
-
"minItems": 1,
|
|
1177
|
-
"uniqueItems": true
|
|
1178
|
-
},
|
|
1179
|
-
"count": {
|
|
1180
|
-
"type": [
|
|
1181
|
-
"integer",
|
|
1182
|
-
"string"
|
|
1183
|
-
]
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
"additionalProperties": false,
|
|
1187
|
-
"minProperties": 1
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1422
|
+
"$ref": "entry.json"
|
|
1423
|
+
},
|
|
1424
|
+
"markdownDescription": "If supplied, will be used to populate "description.chatFlavor"."
|
|
1425
|
+
},
|
|
1426
|
+
"consumption": {
|
|
1427
|
+
"type": "object",
|
|
1428
|
+
"properties": {
|
|
1429
|
+
"targets": {
|
|
1430
|
+
"type": "array",
|
|
1431
|
+
"items": {
|
|
1190
1432
|
"type": "object",
|
|
1191
1433
|
"properties": {
|
|
1192
|
-
"
|
|
1193
|
-
"
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
"type": "string",
|
|
1197
|
-
"pattern": "^@creature\\[.*\\]$"
|
|
1198
|
-
},
|
|
1199
|
-
"count": {
|
|
1200
|
-
"type": [
|
|
1201
|
-
"integer",
|
|
1202
|
-
"string"
|
|
1203
|
-
]
|
|
1204
|
-
},
|
|
1205
|
-
"level": {
|
|
1206
|
-
"type": "object",
|
|
1207
|
-
"properties": {
|
|
1208
|
-
"min": {
|
|
1209
|
-
"type": "integer"
|
|
1434
|
+
"target": {
|
|
1435
|
+
"oneOf": [
|
|
1436
|
+
{
|
|
1437
|
+
"type": "string"
|
|
1210
1438
|
},
|
|
1211
|
-
|
|
1212
|
-
"
|
|
1439
|
+
{
|
|
1440
|
+
"description": "A link to an importable entity",
|
|
1441
|
+
"type": "object",
|
|
1442
|
+
"properties": {
|
|
1443
|
+
"prop": {
|
|
1444
|
+
"type": "string"
|
|
1445
|
+
},
|
|
1446
|
+
"uid": {
|
|
1447
|
+
"type": "string"
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"required": [
|
|
1451
|
+
"prop",
|
|
1452
|
+
"uid"
|
|
1453
|
+
],
|
|
1454
|
+
"additionalProperties": false,
|
|
1455
|
+
"markdownDescription": "A link to an importable entity"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"description": "A link to a 5etools-style resource",
|
|
1459
|
+
"type": "object",
|
|
1460
|
+
"properties": {
|
|
1461
|
+
"consumes": {
|
|
1462
|
+
"type": "object",
|
|
1463
|
+
"properties": {
|
|
1464
|
+
"name": {
|
|
1465
|
+
"$ref": "util.json#/$defs/consumesName"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"required": [
|
|
1469
|
+
"name"
|
|
1470
|
+
],
|
|
1471
|
+
"additionalProperties": false
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
"required": [
|
|
1475
|
+
"consumes"
|
|
1476
|
+
],
|
|
1477
|
+
"additionalProperties": false,
|
|
1478
|
+
"markdownDescription": "A link to a 5etools-style resource"
|
|
1213
1479
|
}
|
|
1214
|
-
|
|
1480
|
+
]
|
|
1215
1481
|
}
|
|
1216
|
-
}
|
|
1217
|
-
"additionalProperties": false,
|
|
1218
|
-
"required": [
|
|
1219
|
-
"uuid"
|
|
1220
|
-
]
|
|
1482
|
+
}
|
|
1221
1483
|
}
|
|
1222
|
-
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"effects": {
|
|
1488
|
+
"type": "array",
|
|
1489
|
+
"items": {
|
|
1490
|
+
"$ref": "#/$defs/_foundryIdRef"
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
"_id": false,
|
|
1494
|
+
"sort": false,
|
|
1495
|
+
"template": false,
|
|
1496
|
+
"affects": false,
|
|
1497
|
+
"type": {
|
|
1498
|
+
"const": "transform"
|
|
1499
|
+
},
|
|
1500
|
+
"profiles": {
|
|
1501
|
+
"$ref": "#/$defs/_foundryActivityProfiles"
|
|
1502
|
+
},
|
|
1503
|
+
"transform": {
|
|
1504
|
+
"type": "object",
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"customize": {
|
|
1507
|
+
"const": true
|
|
1508
|
+
}
|
|
1223
1509
|
}
|
|
1224
1510
|
}
|
|
1225
1511
|
},
|
|
@@ -1354,6 +1640,9 @@
|
|
|
1354
1640
|
{
|
|
1355
1641
|
"$ref": "#/$defs/_foundryActivityObject_enchant"
|
|
1356
1642
|
},
|
|
1643
|
+
{
|
|
1644
|
+
"$ref": "#/$defs/_foundryActivityObject_transform"
|
|
1645
|
+
},
|
|
1357
1646
|
{
|
|
1358
1647
|
"$ref": "#/$defs/_foundryActivityObject_utility"
|
|
1359
1648
|
}
|