5etools-utils 0.12.56 → 0.12.58

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.12.56",
3
+ "version": "0.12.58",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.6",
3
+ "version": "2.12.7",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -760,7 +760,8 @@
760
760
  "skills": {
761
761
  "$ref": "../util.json#/$defs/skillProficiencies"
762
762
  }
763
- }
763
+ },
764
+ "additionalProperties": false
764
765
  },
765
766
  "subclass": {
766
767
  "anyOf": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "feats.json",
4
- "version": "1.7.6",
4
+ "version": "1.7.7",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "featData": {
@@ -88,6 +88,9 @@
88
88
  "optionalfeatureProgression": {
89
89
  "$ref": "util.json#/$defs/optionalfeatureProgression"
90
90
  },
91
+ "featProgression": {
92
+ "$ref": "util.json#/$defs/featProgression"
93
+ },
91
94
  "expertise": {
92
95
  "$ref": "util.json#/$defs/expertise"
93
96
  },
@@ -237,6 +240,9 @@
237
240
  "optionalfeatureProgression": {
238
241
  "$ref": "util.json#/$defs/optionalfeatureProgression"
239
242
  },
243
+ "featProgression": {
244
+ "$ref": "util.json#/$defs/featProgression"
245
+ },
240
246
  "expertise": {
241
247
  "$ref": "util.json#/$defs/expertise"
242
248
  },
@@ -389,6 +395,9 @@
389
395
  "optionalfeatureProgression": {
390
396
  "$ref": "util.json#/$defs/optionalfeatureProgression"
391
397
  },
398
+ "featProgression": {
399
+ "$ref": "util.json#/$defs/featProgression"
400
+ },
392
401
  "expertise": {
393
402
  "$ref": "util.json#/$defs/expertise"
394
403
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "races.json",
4
- "version": "1.12.9",
4
+ "version": "1.12.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "sharedData": {
@@ -157,6 +157,16 @@
157
157
  }
158
158
  ]
159
159
  },
160
+ "startingEquipment": {
161
+ "oneOf": [
162
+ {
163
+ "type": "null"
164
+ },
165
+ {
166
+ "$ref": "util.json#/$defs/startingEquipment"
167
+ }
168
+ ]
169
+ },
160
170
  "additionalSpells": {
161
171
  "oneOf": [
162
172
  {
@@ -423,6 +433,16 @@
423
433
  }
424
434
  ]
425
435
  },
436
+ "startingEquipment": {
437
+ "oneOf": [
438
+ {
439
+ "type": "null"
440
+ },
441
+ {
442
+ "$ref": "util.json#/$defs/startingEquipment"
443
+ }
444
+ ]
445
+ },
426
446
  "additionalSpells": {
427
447
  "oneOf": [
428
448
  {
@@ -771,6 +791,16 @@
771
791
  }
772
792
  ]
773
793
  },
794
+ "startingEquipment": {
795
+ "oneOf": [
796
+ {
797
+ "type": "null"
798
+ },
799
+ {
800
+ "$ref": "util.json#/$defs/startingEquipment"
801
+ }
802
+ ]
803
+ },
774
804
  "additionalSpells": {
775
805
  "oneOf": [
776
806
  {
@@ -1041,6 +1071,16 @@
1041
1071
  }
1042
1072
  ]
1043
1073
  },
1074
+ "startingEquipment": {
1075
+ "oneOf": [
1076
+ {
1077
+ "type": "null"
1078
+ },
1079
+ {
1080
+ "$ref": "util.json#/$defs/startingEquipment"
1081
+ }
1082
+ ]
1083
+ },
1044
1084
  "additionalSpells": {
1045
1085
  "oneOf": [
1046
1086
  {
@@ -1317,6 +1357,16 @@
1317
1357
  }
1318
1358
  ]
1319
1359
  },
1360
+ "startingEquipment": {
1361
+ "oneOf": [
1362
+ {
1363
+ "type": "null"
1364
+ },
1365
+ {
1366
+ "$ref": "util.json#/$defs/startingEquipment"
1367
+ }
1368
+ ]
1369
+ },
1320
1370
  "additionalSpells": {
1321
1371
  "oneOf": [
1322
1372
  {
@@ -1599,6 +1649,16 @@
1599
1649
  }
1600
1650
  ]
1601
1651
  },
1652
+ "startingEquipment": {
1653
+ "oneOf": [
1654
+ {
1655
+ "type": "null"
1656
+ },
1657
+ {
1658
+ "$ref": "util.json#/$defs/startingEquipment"
1659
+ }
1660
+ ]
1661
+ },
1602
1662
  "additionalSpells": {
1603
1663
  "oneOf": [
1604
1664
  {
@@ -373,12 +373,16 @@
373
373
  "items": {
374
374
  "$ref": "#/$defs/languageNameLower"
375
375
  },
376
- "uniqueItems": true
376
+ "uniqueItems": true,
377
+ "minItems": 2
377
378
  },
378
379
  "count": {
379
380
  "type": "integer"
380
381
  }
381
382
  },
383
+ "required": [
384
+ "from"
385
+ ],
382
386
  "additionalProperties": false
383
387
  }
384
388
  },
@@ -393,52 +397,61 @@
393
397
  "minItems": 1
394
398
  },
395
399
  "toolNameLower": {
396
- "type": "string",
397
- "examples": [
398
- "artisan's tools",
399
- "alchemist's supplies",
400
- "brewer's supplies",
401
- "calligrapher's supplies",
402
- "carpenter's tools",
403
- "cartographer's tools",
404
- "cobbler's tools",
405
- "cook's utensils",
406
- "glassblower's tools",
407
- "jeweler's tools",
408
- "leatherworker's tools",
409
- "mason's tools",
410
- "painter's supplies",
411
- "potter's tools",
412
- "smith's tools",
413
- "tinker's tools",
414
- "weaver's tools",
415
- "woodcarver's tools",
416
- "disguise kit",
417
- "forgery kit",
418
- "gaming set",
419
- "dragonchess set",
420
- "dice set",
421
- "three-dragon ante set",
422
- "herbalism kit",
423
- "musical instrument",
424
- "bagpipes",
425
- "drum",
426
- "dulcimer",
427
- "flute",
428
- "horn",
429
- "lute",
430
- "lyre",
431
- "pan flute",
432
- "shawm",
433
- "viol",
434
- "navigator's tools",
435
- "thieves' tools",
436
- "poisoner's kit",
437
- "vehicles",
438
- "vehicles (air)",
439
- "vehicles (land)",
440
- "vehicles (water)",
441
- "vehicles (space)"
400
+ "anyOf": [
401
+ {
402
+ "type": "string",
403
+ "enum": [
404
+ "artisan's tools",
405
+ "alchemist's supplies",
406
+ "brewer's supplies",
407
+ "calligrapher's supplies",
408
+ "carpenter's tools",
409
+ "cartographer's tools",
410
+ "cobbler's tools",
411
+ "cook's utensils",
412
+ "glassblower's tools",
413
+ "jeweler's tools",
414
+ "leatherworker's tools",
415
+ "mason's tools",
416
+ "painter's supplies",
417
+ "potter's tools",
418
+ "smith's tools",
419
+ "tinker's tools",
420
+ "weaver's tools",
421
+ "woodcarver's tools",
422
+ "disguise kit",
423
+ "forgery kit",
424
+ "gaming set",
425
+ "dragonchess set",
426
+ "dice set",
427
+ "three-dragon ante set",
428
+ "playing card set",
429
+ "herbalism kit",
430
+ "musical instrument",
431
+ "bagpipes",
432
+ "drum",
433
+ "dulcimer",
434
+ "flute",
435
+ "horn",
436
+ "lute",
437
+ "lyre",
438
+ "pan flute",
439
+ "shawm",
440
+ "viol",
441
+ "navigator's tools",
442
+ "thieves' tools",
443
+ "poisoner's kit",
444
+ "vehicles",
445
+ "vehicles (air)",
446
+ "vehicles (land)",
447
+ "vehicles (water)",
448
+ "vehicles (space)"
449
+ ]
450
+ },
451
+ {
452
+ "type": "string",
453
+ "pattern": "^[^|]+\\|.+$"
454
+ }
442
455
  ]
443
456
  },
444
457
  "toolProficiencies": {
@@ -527,6 +540,9 @@
527
540
  "three-dragon ante set": {
528
541
  "const": true
529
542
  },
543
+ "playing card set": {
544
+ "const": true
545
+ },
530
546
  "herbalism kit": {
531
547
  "const": true
532
548
  },
@@ -616,11 +632,17 @@
616
632
  "type": "integer"
617
633
  }
618
634
  },
635
+ "required": [
636
+ "from"
637
+ ],
619
638
  "additionalProperties": false
620
639
  }
621
640
  },
622
- "additionalProperties": {
623
- "const": true
641
+ "additionalProperties": false,
642
+ "patternProperties": {
643
+ "^[^|]+\\|.+$": {
644
+ "const": true
645
+ }
624
646
  }
625
647
  },
626
648
  "uniqueItems": true,
@@ -746,7 +768,9 @@
746
768
  "const": true
747
769
  }
748
770
  }
749
- }
771
+ },
772
+ "uniqueItems": true,
773
+ "minItems": 1
750
774
  },
751
775
  "skillToolLanguageProficiencies": {
752
776
  "type": "array",
@@ -924,6 +948,9 @@
924
948
  "three-dragon ante set": {
925
949
  "const": true
926
950
  },
951
+ "playing card set": {
952
+ "const": true
953
+ },
927
954
  "herbalism kit": {
928
955
  "const": true
929
956
  },
@@ -1123,8 +1150,11 @@
1123
1150
  "minItems": 1
1124
1151
  }
1125
1152
  },
1126
- "additionalProperties": {
1127
- "const": true
1153
+ "additionalProperties": false,
1154
+ "patternProperties": {
1155
+ "^[^|]+\\|.+$": {
1156
+ "const": true
1157
+ }
1128
1158
  }
1129
1159
  },
1130
1160
  "uniqueItems": true,
@@ -1205,6 +1235,7 @@
1205
1235
  "const": true
1206
1236
  }
1207
1237
  },
1238
+ "minProperties": 1,
1208
1239
  "additionalProperties": false
1209
1240
  },
1210
1241
  "uniqueItems": true,
@@ -1261,6 +1292,7 @@
1261
1292
  "additionalProperties": false
1262
1293
  }
1263
1294
  },
1295
+ "minProperties": 1,
1264
1296
  "additionalProperties": false
1265
1297
  },
1266
1298
  "uniqueItems": true,
@@ -1403,6 +1435,9 @@
1403
1435
  "three-dragon ante set": {
1404
1436
  "const": true
1405
1437
  },
1438
+ "playing card set": {
1439
+ "const": true
1440
+ },
1406
1441
  "herbalism kit": {
1407
1442
  "const": true
1408
1443
  },
@@ -1463,6 +1498,12 @@
1463
1498
  "poisoner's kit": {
1464
1499
  "const": true
1465
1500
  }
1501
+ },
1502
+ "additionalProperties": false,
1503
+ "patternProperties": {
1504
+ "^[^|]+\\|.+$": {
1505
+ "const": true
1506
+ }
1466
1507
  }
1467
1508
  },
1468
1509
  "uniqueItems": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.6",
3
+ "version": "2.12.7",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -760,7 +760,8 @@
760
760
  "skills": {
761
761
  "$ref": "../util.json#/$defs/skillProficiencies"
762
762
  }
763
- }
763
+ },
764
+ "additionalProperties": false
764
765
  },
765
766
  "subclass": {
766
767
  "anyOf": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "feats.json",
4
- "version": "1.7.6",
4
+ "version": "1.7.7",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "featData": {
@@ -88,6 +88,9 @@
88
88
  "optionalfeatureProgression": {
89
89
  "$ref": "util.json#/$defs/optionalfeatureProgression"
90
90
  },
91
+ "featProgression": {
92
+ "$ref": "util.json#/$defs/featProgression"
93
+ },
91
94
  "expertise": {
92
95
  "$ref": "util.json#/$defs/expertise"
93
96
  },
@@ -237,6 +240,9 @@
237
240
  "optionalfeatureProgression": {
238
241
  "$ref": "util.json#/$defs/optionalfeatureProgression"
239
242
  },
243
+ "featProgression": {
244
+ "$ref": "util.json#/$defs/featProgression"
245
+ },
240
246
  "expertise": {
241
247
  "$ref": "util.json#/$defs/expertise"
242
248
  },
@@ -389,6 +395,9 @@
389
395
  "optionalfeatureProgression": {
390
396
  "$ref": "util.json#/$defs/optionalfeatureProgression"
391
397
  },
398
+ "featProgression": {
399
+ "$ref": "util.json#/$defs/featProgression"
400
+ },
392
401
  "expertise": {
393
402
  "$ref": "util.json#/$defs/expertise"
394
403
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "races.json",
4
- "version": "1.12.9",
4
+ "version": "1.12.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "sharedData": {
@@ -157,6 +157,16 @@
157
157
  }
158
158
  ]
159
159
  },
160
+ "startingEquipment": {
161
+ "oneOf": [
162
+ {
163
+ "type": "null"
164
+ },
165
+ {
166
+ "$ref": "util.json#/$defs/startingEquipment"
167
+ }
168
+ ]
169
+ },
160
170
  "additionalSpells": {
161
171
  "oneOf": [
162
172
  {
@@ -423,6 +433,16 @@
423
433
  }
424
434
  ]
425
435
  },
436
+ "startingEquipment": {
437
+ "oneOf": [
438
+ {
439
+ "type": "null"
440
+ },
441
+ {
442
+ "$ref": "util.json#/$defs/startingEquipment"
443
+ }
444
+ ]
445
+ },
426
446
  "additionalSpells": {
427
447
  "oneOf": [
428
448
  {
@@ -771,6 +791,16 @@
771
791
  }
772
792
  ]
773
793
  },
794
+ "startingEquipment": {
795
+ "oneOf": [
796
+ {
797
+ "type": "null"
798
+ },
799
+ {
800
+ "$ref": "util.json#/$defs/startingEquipment"
801
+ }
802
+ ]
803
+ },
774
804
  "additionalSpells": {
775
805
  "oneOf": [
776
806
  {
@@ -1041,6 +1071,16 @@
1041
1071
  }
1042
1072
  ]
1043
1073
  },
1074
+ "startingEquipment": {
1075
+ "oneOf": [
1076
+ {
1077
+ "type": "null"
1078
+ },
1079
+ {
1080
+ "$ref": "util.json#/$defs/startingEquipment"
1081
+ }
1082
+ ]
1083
+ },
1044
1084
  "additionalSpells": {
1045
1085
  "oneOf": [
1046
1086
  {
@@ -1317,6 +1357,16 @@
1317
1357
  }
1318
1358
  ]
1319
1359
  },
1360
+ "startingEquipment": {
1361
+ "oneOf": [
1362
+ {
1363
+ "type": "null"
1364
+ },
1365
+ {
1366
+ "$ref": "util.json#/$defs/startingEquipment"
1367
+ }
1368
+ ]
1369
+ },
1320
1370
  "additionalSpells": {
1321
1371
  "oneOf": [
1322
1372
  {
@@ -1599,6 +1649,16 @@
1599
1649
  }
1600
1650
  ]
1601
1651
  },
1652
+ "startingEquipment": {
1653
+ "oneOf": [
1654
+ {
1655
+ "type": "null"
1656
+ },
1657
+ {
1658
+ "$ref": "util.json#/$defs/startingEquipment"
1659
+ }
1660
+ ]
1661
+ },
1602
1662
  "additionalSpells": {
1603
1663
  "oneOf": [
1604
1664
  {